mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-31 16:51:50 +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];
|
auto c = level->soundOffsets[b];
|
||||||
|
|
||||||
void *p = &level->soundData[c];
|
void *p = &level->soundData[c];
|
||||||
|
#ifdef WIN32
|
||||||
// PlaySound((LPSTR)p, NULL, SND_ASYNC | SND_MEMORY);
|
PlaySound((LPSTR)p, NULL, SND_ASYNC | SND_MEMORY);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user