engine: client: add two new APIs for mainui to get extended new gameinfo structure

This commit is contained in:
Alibek Omarov
2024-08-13 18:28:07 +03:00
parent 3a67aefee2
commit 2df01316ce
5 changed files with 121 additions and 22 deletions

View File

@@ -25,6 +25,7 @@ GNU General Public License for more details.
#include "xash3d_types.h"
#include "const.h"
#include "com_model.h"
#include "gameinfo.h"
#ifdef __cplusplus
extern "C"
@@ -118,16 +119,10 @@ typedef struct gameinfo_s
// HL25 compatibility keys
qboolean hd_background;
qboolean animated_title;
char demomap[MAX_QPATH];
} gameinfo_t;
typedef enum
{
GAME_NORMAL,
GAME_SINGLEPLAYER_ONLY,
GAME_MULTIPLAYER_ONLY
} gametype_t;
typedef struct fs_dllinfo_t
{
char fullPath[2048]; // absolute disk path