git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2259
d7cf8633-e32d-0410-b094-
e92efae38249
developer.value = 1;
}
- Memory_Init ();
Cmd_Init ();
Memory_Init_Commands();
R_Modules_Init();
void Sys_Shared_EarlyInit(void)
{
+ Memory_Init ();
+
#if defined(__linux__)
sprintf (engineversion, "%s Linux %s", gamename, buildstring);
#elif defined(WIN32)
if (hPrevInstance)
return 0;
- Cvar_RegisterVariable(&sys_usetimegettime);
-
global_hInstance = hInstance;
global_nCmdShow = nCmdShow;
Sys_Shared_EarlyInit();
+ Cvar_RegisterVariable(&sys_usetimegettime);
+
tevent = CreateEvent(NULL, false, false, NULL);
if (!tevent)