diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2023-01-13 14:28:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 15:28:09 +0100 |
commit | 063260ca0b1f633cf120d79796fe7aa3329c1e26 (patch) | |
tree | 1bcc5516729168db6be4981b07115d30a8821da2 /NorthstarDLL/engine/r2engine.h | |
parent | 8bddf5bfe83b52165c589b2dd5e544831a55231d (diff) | |
download | NorthstarLauncher-063260ca0b1f633cf120d79796fe7aa3329c1e26.tar.gz NorthstarLauncher-063260ca0b1f633cf120d79796fe7aa3329c1e26.zip |
Execute cfgs before server startup for gamemode being run (#398)v1.12.0-rc5v1.12.0-rc4v1.12.0
* run cfg to initialise gamemode on startup
* remove ; characters from mp_gamemode
* exec using _Cmd_Exec_f to avoid issues with semicolons in gamemode names
allowing additional commands to be run
* run from cfg/server/ rather than cfg/
* fixup formatting
Diffstat (limited to 'NorthstarDLL/engine/r2engine.h')
-rw-r--r-- | NorthstarDLL/engine/r2engine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDLL/engine/r2engine.h b/NorthstarDLL/engine/r2engine.h index a7ed62a3..bc242201 100644 --- a/NorthstarDLL/engine/r2engine.h +++ b/NorthstarDLL/engine/r2engine.h @@ -59,6 +59,8 @@ namespace R2 typedef void (*Cbuf_ExecuteType)(); extern Cbuf_ExecuteType Cbuf_Execute; + extern bool (*CCommand__Tokenize)(CCommand& self, const char* pCommandString, R2::cmd_source_t commandSource); + // CEngine enum EngineQuitState |