diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-26 01:24:13 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-26 01:24:13 +0100 |
commit | e98fc31a93dfc9a14db7bb5510d25df0226d6fd3 (patch) | |
tree | 0a14184023e46394ee7bc83846c4466f7e3f14c9 /NorthstarDedicatedTest/gameutils.cpp | |
parent | f083706eb05a22ec166d8e29b565f93785ad3cb0 (diff) | |
download | NorthstarLauncher-e98fc31a93dfc9a14db7bb5510d25df0226d6fd3.tar.gz NorthstarLauncher-e98fc31a93dfc9a14db7bb5510d25df0226d6fd3.zip |
add CommandLine() and Cbuf_Execute
Diffstat (limited to 'NorthstarDedicatedTest/gameutils.cpp')
-rw-r--r-- | NorthstarDedicatedTest/gameutils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/gameutils.cpp b/NorthstarDedicatedTest/gameutils.cpp index add2639c..bf9ae3e5 100644 --- a/NorthstarDedicatedTest/gameutils.cpp +++ b/NorthstarDedicatedTest/gameutils.cpp @@ -6,6 +6,7 @@ // cmd.h Cbuf_GetCurrentPlayerType Cbuf_GetCurrentPlayer; Cbuf_AddTextType Cbuf_AddText; +Cbuf_ExecuteType Cbuf_Execute; // hoststate stuff CHostState* g_GameCHostStateSingleton; @@ -24,6 +25,7 @@ void InitialiseEngineGameUtilFunctions(HMODULE baseAddress) { Cbuf_GetCurrentPlayer = (Cbuf_GetCurrentPlayerType)((char*)baseAddress + 0x120630); Cbuf_AddText = (Cbuf_AddTextType)((char*)baseAddress + 0x1203B0); + Cbuf_Execute = (Cbuf_ExecuteType)((char*)baseAddress + 0x1204B0); g_GameCHostStateSingleton = (CHostState*)((char*)baseAddress + 0x7CF180); |