menu_int: add DoubleTime extension

This commit is contained in:
Alibek Omarov 2020-03-04 07:23:38 +03:00
parent 3c8ce640c4
commit 5d97a293fe
3 changed files with 5 additions and 2 deletions

View File

@ -1220,7 +1220,8 @@ static ui_extendedfuncs_t gExtendedfuncs =
Con_UtfProcessChar,
Con_UtfMoveLeft,
Con_UtfMoveRight,
pfnGetRenderers
pfnGetRenderers,
Sys_DoubleTime
};
void UI_UnloadProgs( void )

View File

@ -204,6 +204,8 @@ typedef struct ui_extendedfuncs_s {
// 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 );
double (*pfnDoubleTime)( void );
} ui_extendedfuncs_t;
// deprecated export from old engine

2
mainui

@ -1 +1 @@
Subproject commit 8bcd477cc8de20f3d91c6fd1bed6f00315321b98
Subproject commit 9ef06db97fd612c820674c399db757d00176ada5