diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2022-03-21 04:50:32 +0000 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2022-03-21 04:50:32 +0000 |
commit | 042acdc08f29920d4d46dde7c8a663b20a743f90 (patch) | |
tree | fafbc372d8500e20513d5d532b67c9465ff61f3b /compile.bat | |
parent | a5159139ba679b36a01cf727672dda9f6f7e8c8c (diff) |
Add m_rawinput reimplementation to replace RInput
It's archive so you can set m_rawinput 1, load SST via VDF and then
never think about it again.
Diffstat (limited to 'compile.bat')
-rw-r--r-- | compile.bat | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compile.bat b/compile.bat index 3db7d1a..b2a880a 100644 --- a/compile.bat +++ b/compile.bat @@ -25,7 +25,7 @@ clang -municode -O2 -fuse-ld=lld %warnings% -D_CRT_SECURE_NO_WARNINGS -ladvapi32 clang -municode -O2 -fuse-ld=lld %warnings% -D_CRT_SECURE_NO_WARNINGS -ladvapi32 ^
-o .build/mkgamedata.exe src/build/mkgamedata.c src/kv.c || exit /b
.build\codegen.exe src/autojump.c src/con_.c src/demorec.c src/dbg.c src/fixes.c ^
-src/gamedata.c src/gameinfo.c src/hook.c src/kv.c src/sst.c src/udis86.c || exit /b
+src/gamedata.c src/gameinfo.c src/hook.c src/kv.c src/rinput.c src/sst.c src/udis86.c || exit /b
.build\mkgamedata.exe gamedata/engine.kv gamedata/gamelib.kv || exit /b
:: llvm-rc doesn't preprocess, looks like it might later:
:: https://reviews.llvm.org/D100755?id=339141
@@ -46,10 +46,11 @@ call :cc src/gamedata.c || exit /b call :cc src/gameinfo.c || exit /b
call :cc src/hook.c || exit /b
call :cc src/kv.c || exit /b
+call :cc src/rinput.c || exit /b
call :cc src/sst.c || exit /b
call :cc src/udis86.c || exit /b
clang -m32 -shared -O2 -flto -fuse-ld=lld -Wl,/implib:.build/sst.lib,/Brepro ^
--L.build -ladvapi32 -lshlwapi -ltier0 -lvstdlib -o sst.dll%objs% .build/dll.res || exit /b
+-L.build -luser32 -ladvapi32 -lshlwapi -ltier0 -lvstdlib -o sst.dll%objs% .build/dll.res || exit /b
:: get rid of another useless file (can we just not create this???)
del .build\sst.lib
|