diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-08-02 03:20:10 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-08-02 03:20:10 +0100 |
commit | eb56fcbe02f35ed4f418a7dc53cd9eb0ad95a504 (patch) | |
tree | 352923d1b6735502a71f4202e542af7ab84b3946 /NorthstarDedicatedTest/squirrel.cpp | |
parent | 30e67549449a0ffbb58f7fc736bdd9e4ce7ec9d5 (diff) | |
download | NorthstarLauncher-eb56fcbe02f35ed4f418a7dc53cd9eb0ad95a504.tar.gz NorthstarLauncher-eb56fcbe02f35ed4f418a7dc53cd9eb0ad95a504.zip |
add dynamic keyvalue building, client serverbrowser stuff
Diffstat (limited to 'NorthstarDedicatedTest/squirrel.cpp')
-rw-r--r-- | NorthstarDedicatedTest/squirrel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/squirrel.cpp b/NorthstarDedicatedTest/squirrel.cpp index 17758282..46e4708a 100644 --- a/NorthstarDedicatedTest/squirrel.cpp +++ b/NorthstarDedicatedTest/squirrel.cpp @@ -66,6 +66,9 @@ sq_pushintegerType ServerSq_pushinteger; sq_pushfloatType ClientSq_pushfloat; sq_pushfloatType ServerSq_pushfloat; +sq_pushboolType ClientSq_pushbool; +sq_pushboolType ServerSq_pushbool; + // sq stack get funcs sq_getstringType ClientSq_getstring; @@ -118,6 +121,7 @@ void InitialiseClientSquirrel(HMODULE baseAddress) ClientSq_pushstring = (sq_pushstringType)((char*)baseAddress + 0x3440); ClientSq_pushinteger = (sq_pushintegerType)((char*)baseAddress + 0x36A0); ClientSq_pushfloat = (sq_pushfloatType)((char*)baseAddress + 0x3800); + ClientSq_pushbool = (sq_pushboolType)((char*)baseAddress + 0x3710); ClientSq_getstring = (sq_getstringType)((char*)baseAddress + 0x60C0); ClientSq_getinteger = (sq_getintegerType)((char*)baseAddress + 0x60E0); @@ -147,6 +151,7 @@ void InitialiseServerSquirrel(HMODULE baseAddress) ServerSq_pushstring = (sq_pushstringType)((char*)baseAddress + 0x3440); ServerSq_pushinteger = (sq_pushintegerType)((char*)baseAddress + 0x36A0); ServerSq_pushfloat = (sq_pushfloatType)((char*)baseAddress + 0x3800); + ServerSq_pushbool = (sq_pushboolType)((char*)baseAddress + 0x3710); ServerSq_getstring = (sq_getstringType)((char*)baseAddress + 0x60A0); ServerSq_getinteger = (sq_getintegerType)((char*)baseAddress + 0x60C0); |