static void Host_Version_f(cmd_state_t *cmd)
{
- Con_Printf("Version: %s build %s\n", gamename, buildstring);
+ Con_Printf("Version: %s\n", engineversion);
}
static void Host_Framerate_c(cvar_t *var)
static void Host_Init (void)
{
int i;
- const char* os;
char vabuf[1024];
host.hook.ConnectLocal = NULL;
FS_Init();
// construct a version string for the corner of the console
- os = DP_OS_NAME;
- dpsnprintf (engineversion, sizeof (engineversion), "%s %s %s", gamename, os, buildstring);
+ dpsnprintf (engineversion, sizeof (engineversion), "%s %s%s, buildstring: %s", gamename, DP_OS_NAME, cls.state == ca_dedicated ? " dedicated" : "", buildstring);
Con_Printf("%s\n", engineversion);
// initialize process nice level
{
// put up the loading image so the user doesn't stare at a black screen...
SCR_BeginLoadingPlaque(true);
+ S_Startup();
#ifdef CONFIG_MENU
MR_Init();
#endif
Curl_Frame();
// get new SDL events and add commands from keybindings to the cbuf
- Sys_SendKeyEvents();
+ Sys_SDL_HandleEvents();
// process console commands
Cbuf_Frame(host.cbuf);