diff options
author | withmorten <morten.with@gmail.com> | 2021-07-08 01:44:55 +0200 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-07-08 01:44:55 +0200 |
commit | 79c010f08275a7152e920bd0a9e3dbf6493f5b4c (patch) | |
tree | f420ed830170fb62c781d7d54af69438c2d320a7 /src | |
parent | fix sampman_null build (diff) | |
download | re3-79c010f08275a7152e920bd0a9e3dbf6493f5b4c.tar re3-79c010f08275a7152e920bd0a9e3dbf6493f5b4c.tar.gz re3-79c010f08275a7152e920bd0a9e3dbf6493f5b4c.tar.bz2 re3-79c010f08275a7152e920bd0a9e3dbf6493f5b4c.tar.lz re3-79c010f08275a7152e920bd0a9e3dbf6493f5b4c.tar.xz re3-79c010f08275a7152e920bd0a9e3dbf6493f5b4c.tar.zst re3-79c010f08275a7152e920bd0a9e3dbf6493f5b4c.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/audio/sampman_miles.cpp | 1 | ||||
-rw-r--r-- | src/control/Script.cpp | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/audio/sampman_miles.cpp b/src/audio/sampman_miles.cpp index e8c28dc4..49f2f10f 100644 --- a/src/audio/sampman_miles.cpp +++ b/src/audio/sampman_miles.cpp @@ -1,3 +1,4 @@ +#define WITHWINDOWS #include "common.h" #ifdef AUDIO_MSS diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 4b70a678..1eee1c9e 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -2209,8 +2209,9 @@ int scriptToLoad = 0; const char *scriptfile = "main.scm"; #ifdef _WIN32 -#include <Windows.h> +extern "C" __declspec(dllimport) short __stdcall GetAsyncKeyState(int); #endif + int open_script() { // glfwGetKey doesn't work because of CGame::Initialise is blocking |