Menu interface update

This commit is contained in:
a1batross 2015-12-22 23:53:03 +03:00
parent 1d7e01fd74
commit 6beb84b6e9

View File

@ -161,11 +161,15 @@ typedef struct ui_enginefuncs_s
int (*pfnIsMapValid)( char *filename );
void (*pfnProcessImage)( int texnum, float gamma, int topColor, int bottomColor );
int (*pfnCompareFileTime)( char *filename1, char *filename2, int *iCompare );
void (*pfnEnableTextInput)( int enable );
void (*pfnSDL_free)( void *mem );
} ui_enginefuncs_t;
typedef struct ui_textfuncs_s {
void (*pfnEnableTextInput)( int enable );
int (*pfnUtfProcessChar) ( int ch );
int (*pfnUtfMoveLeft) ( char *str, int pos );
int (*pfnUtfMoveRight) ( char *str, int pos, int length );
} ui_textfuncs_t;
typedef struct
{
int (*pfnVidInit)( void );
@ -188,4 +192,5 @@ typedef struct
typedef int (*MENUAPI)( UI_FUNCTIONS *pFunctionTable, ui_enginefuncs_t* engfuncs, ui_globalvars_t *pGlobals );
typedef int (*UITEXTAPI)( ui_textfuncs_t* engfuncs );
#endif//MENU_INT_H