summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-07-08 01:44:55 +0200
committerwithmorten <morten.with@gmail.com>2021-07-08 01:44:55 +0200
commit79c010f08275a7152e920bd0a9e3dbf6493f5b4c (patch)
treef420ed830170fb62c781d7d54af69438c2d320a7 /src/control/Script.cpp
parentfix sampman_null build (diff)
downloadre3-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/control/Script.cpp')
-rw-r--r--src/control/Script.cpp3
1 files changed, 2 insertions, 1 deletions
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