mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-23 05:14:15 +00:00
Add new two functions to Menu API
This commit is contained in:
parent
176b31b4a2
commit
78365d2bc6
@ -1013,6 +1013,8 @@ static ui_enginefuncs_t gEngfuncs =
|
|||||||
GL_ProcessTexture,
|
GL_ProcessTexture,
|
||||||
COM_CompareFileTime,
|
COM_CompareFileTime,
|
||||||
VID_GetModeString,
|
VID_GetModeString,
|
||||||
|
(void*)COM_SaveFile,
|
||||||
|
(void*)FS_Delete
|
||||||
};
|
};
|
||||||
|
|
||||||
static void pfnEnableTextInput( int enable )
|
static void pfnEnableTextInput( int enable )
|
||||||
|
@ -168,6 +168,9 @@ typedef struct ui_enginefuncs_s
|
|||||||
int (*pfnCompareFileTime)( const char *filename1, const char *filename2, int *iCompare );
|
int (*pfnCompareFileTime)( const char *filename1, const char *filename2, int *iCompare );
|
||||||
|
|
||||||
const char *(*pfnGetModeString)( int vid_mode );
|
const char *(*pfnGetModeString)( int vid_mode );
|
||||||
|
|
||||||
|
int (*COM_SaveFile)( const char *filename, const void *data, int len );
|
||||||
|
int (*pfnDeleteFile)( const char *filename );
|
||||||
} ui_enginefuncs_t;
|
} ui_enginefuncs_t;
|
||||||
|
|
||||||
typedef struct ui_textfuncs_s {
|
typedef struct ui_textfuncs_s {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user