mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-30 08:21:10 +02:00
add executable; add sound via PlaySound (WinAPI);
This commit is contained in:
BIN
bin/OpenLara.exe
Normal file
BIN
bin/OpenLara.exe
Normal file
Binary file not shown.
@@ -237,8 +237,9 @@ struct Controller {
|
||||
auto c = level->soundOffsets[b];
|
||||
|
||||
void *p = &level->soundData[c];
|
||||
|
||||
// PlaySound((LPSTR)p, NULL, SND_ASYNC | SND_MEMORY);
|
||||
#ifdef WIN32
|
||||
PlaySound((LPSTR)p, NULL, SND_ASYNC | SND_MEMORY);
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user