mirror of
https://github.com/w23/xash3d-fwgs
synced 2025-01-18 23:00:01 +01: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,
|
||||
COM_CompareFileTime,
|
||||
VID_GetModeString,
|
||||
(void*)COM_SaveFile,
|
||||
(void*)FS_Delete
|
||||
};
|
||||
|
||||
static void pfnEnableTextInput( int enable )
|
||||
|
@ -168,6 +168,9 @@ typedef struct ui_enginefuncs_s
|
||||
int (*pfnCompareFileTime)( const char *filename1, const char *filename2, int *iCompare );
|
||||
|
||||
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;
|
||||
|
||||
typedef struct ui_textfuncs_s {
|
||||
|
Loading…
x
Reference in New Issue
Block a user