| 70 | int songid; |
| 71 | |
| 72 | HRESULT GetFolderLocation(int csidl, char* buffer) |
| 73 | { |
| 74 | #if (AX_TARGET_PLATFORM == AX_PLATFORM_WIN32) |
| 75 | LPITEMIDLIST pidl = 0; |
| 76 | HRESULT result = SHGetSpecialFolderLocation(NULL, csidl, &pidl); |
| 77 | *buffer = 0; |
| 78 | |
| 79 | if (result == 0) |
| 80 | { |
| 81 | SHGetPathFromIDListA(pidl, buffer); |
| 82 | CoTaskMemFree(pidl); |
| 83 | } |
| 84 | |
| 85 | return result; |
| 86 | |
| 87 | #endif |
| 88 | |
| 89 | return 0; |
| 90 | } |
| 91 | |
| 92 | void LevelDebugLayer::playMusic(float dt) |
| 93 | { |