mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-06 12:14:15 +00:00
filesystem: add new token internal_vgui_support to mark client dlls that have internal VGUI implementation(to support other UI systems)
This commit is contained in:
parent
32372654c2
commit
b1ee27a3f3
@ -918,6 +918,11 @@ void FS_ParseGenericGameInfo( gameinfo_t *GameInfo, const char *buf, const qbool
|
|||||||
pfile = COM_ParseFile( pfile, token, sizeof( token ));
|
pfile = COM_ParseFile( pfile, token, sizeof( token ));
|
||||||
GameInfo->render_picbutton_text = Q_atoi( token );
|
GameInfo->render_picbutton_text = Q_atoi( token );
|
||||||
}
|
}
|
||||||
|
else if( !Q_stricmp( token, "internal_vgui_support" ))
|
||||||
|
{
|
||||||
|
pfile = COM_ParseFile( pfile, token, sizeof( token ));
|
||||||
|
GameInfo->internal_vgui_support = Q_atoi( token );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,10 +76,11 @@ typedef struct gameinfo_s
|
|||||||
size_t size;
|
size_t size;
|
||||||
|
|
||||||
int gamemode;
|
int gamemode;
|
||||||
qboolean secure; // prevent to console acess
|
qboolean secure; // prevent to console acess
|
||||||
qboolean nomodels; // don't let player to choose model (use player.mdl always)
|
qboolean nomodels; // don't let player to choose model (use player.mdl always)
|
||||||
qboolean noskills; // disable skill menu selection
|
qboolean noskills; // disable skill menu selection
|
||||||
qboolean render_picbutton_text; // use font renderer to render WON buttons
|
qboolean render_picbutton_text; // use font renderer to render WON buttons
|
||||||
|
qboolean internal_vgui_support; // skip loading VGUI, pass ingame UI support API to client
|
||||||
|
|
||||||
char sp_entity[32]; // e.g. info_player_start
|
char sp_entity[32]; // e.g. info_player_start
|
||||||
char mp_entity[32]; // e.g. info_player_deathmatch
|
char mp_entity[32]; // e.g. info_player_deathmatch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user