Open talvasconcelos opened 4 years ago
Sys_PlatformInit Sys_PlatformExit
Otherwise you could always add a function call out to JavaScript if you need to do something with HTML. Sys_GlimpInit, and Sys_Fs_Startup will always be called before the game starts. Might I ask what you are working on? Maybe some kind of authentication before a game? I've even considered automatically creating an Rcon setup when hosting games.
When is the best place i can have something run before ready state, just before entering the game? I need some user input before he enters game arena and also display something when game ends or user checks out. Where in the code is the best place to do it? Preferably I'd like to not mess much with quake's code and be able to either intercept websocket at the server implementation, if it's possible!!
Any help?