mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: implement menu extensions to allow choosing renderers from GUI
This commit is contained in:
@@ -202,6 +202,8 @@ typedef struct ui_extendedfuncs_s {
|
||||
int (*pfnUtfMoveRight) ( char *str, int pos, int length );
|
||||
|
||||
// new engine extended api start here
|
||||
// returns 1 if there are more in list, otherwise 0
|
||||
int (*pfnGetRenderers)( unsigned int num, char *shortName, size_t size1, char *readableName, size_t size2 );
|
||||
} ui_extendedfuncs_t;
|
||||
|
||||
// deprecated export from old engine
|
||||
|
||||
Reference in New Issue
Block a user