|
|
|
@ -152,7 +152,6 @@ void VGui_Startup( const char *clientlib, int width, int height )
@@ -152,7 +152,6 @@ void VGui_Startup( const char *clientlib, int width, int height )
|
|
|
|
|
|
|
|
|
|
VGui_FillAPIFromRef( &vgui, &ref.dllFuncs ); |
|
|
|
|
|
|
|
|
|
#ifdef XASH_INTERNAL_GAMELIBS |
|
|
|
|
s_pVGuiSupport = COM_LoadLibrary( clientlib, false, false ); |
|
|
|
|
|
|
|
|
|
if( s_pVGuiSupport ) |
|
|
|
@ -162,12 +161,12 @@ void VGui_Startup( const char *clientlib, int width, int height )
@@ -162,12 +161,12 @@ void VGui_Startup( const char *clientlib, int width, int height )
|
|
|
|
|
{ |
|
|
|
|
F( &vgui ); |
|
|
|
|
vgui.initialized = true; |
|
|
|
|
VGUI_InitCursors(); |
|
|
|
|
Con_Reportf( "vgui_support: found interal client support\n" ); |
|
|
|
|
Con_Reportf( "vgui_support: found internal client support\n" ); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
#endif // XASH_INTERNAL_GAMELIBS
|
|
|
|
|
|
|
|
|
|
if( !vgui.initialized ) |
|
|
|
|
{ |
|
|
|
|
// HACKHACK: load vgui with correct path first if specified.
|
|
|
|
|
// it will be reused while resolving vgui support and client deps
|
|
|
|
|
if( Sys_GetParmFromCmdLine( "-vguilib", vguilib )) |
|
|
|
@ -208,12 +207,11 @@ void VGui_Startup( const char *clientlib, int width, int height )
@@ -208,12 +207,11 @@ void VGui_Startup( const char *clientlib, int width, int height )
|
|
|
|
|
{ |
|
|
|
|
F( &vgui ); |
|
|
|
|
vgui.initialized = true; |
|
|
|
|
VGUI_InitCursors(); |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
Con_Reportf( S_ERROR "Failed to find vgui_support library entry point!\n" ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if( height < 480 ) |
|
|
|
|