engine: implement menu extensions to allow choosing renderers from GUI

This commit is contained in:
Alibek Omarov
2019-08-09 04:44:50 +03:00
parent a1ae770f70
commit 8323df240b
6 changed files with 29 additions and 18 deletions

View File

@@ -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