diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-30 21:12:54 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-30 21:12:54 +0100 |
commit | 8b93a09f5b12ce7967df5824794ed24b3ff31cdc (patch) | |
tree | 1ce680cb9134273870373134f845633e2c390bde /NorthstarDedicatedTest/gameutils.h | |
parent | 2497b700379205ea01c1aa0c55a19be523233be1 (diff) | |
download | NorthstarLauncher-8b93a09f5b12ce7967df5824794ed24b3ff31cdc.tar.gz NorthstarLauncher-8b93a09f5b12ce7967df5824794ed24b3ff31cdc.zip |
add maxplayers to dedi window title
Diffstat (limited to 'NorthstarDedicatedTest/gameutils.h')
-rw-r--r-- | NorthstarDedicatedTest/gameutils.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/NorthstarDedicatedTest/gameutils.h b/NorthstarDedicatedTest/gameutils.h index 0f59a773..188ec3bf 100644 --- a/NorthstarDedicatedTest/gameutils.h +++ b/NorthstarDedicatedTest/gameutils.h @@ -2,7 +2,6 @@ #include "convar.h" // cmd.h - enum class ECommandTarget_t { CBUF_FIRST_PLAYER = 0, @@ -86,7 +85,6 @@ public: }; // hoststate stuff - enum HostState_t { HS_NEW_GAME = 0, @@ -127,7 +125,6 @@ public: extern CHostState* g_pHostState; // cengine stuff - enum EngineQuitState { QUIT_NOTQUITTING = 0, @@ -169,11 +166,9 @@ public: extern CEngine* g_pEngine; // network stuff - extern ConVar* Cvar_hostport; // playlist stuff - typedef const char*(*GetCurrentPlaylistType)(); extern GetCurrentPlaylistType GetCurrentPlaylistName; @@ -183,8 +178,10 @@ extern SetCurrentPlaylistType SetCurrentPlaylist; typedef void(*SetPlaylistVarOverrideType)(const char* varName, const char* value); extern SetPlaylistVarOverrideType SetPlaylistVarOverride; -// uid +typedef char*(*GetCurrentPlaylistVarType)(const char* varName, bool useOverrides); +extern GetCurrentPlaylistVarType GetCurrentPlaylistVar; +// uid extern char* g_LocalPlayerUserID; void InitialiseEngineGameUtilFunctions(HMODULE baseAddress);
\ No newline at end of file |