Browse Source

menu_int: add DoubleTime extension

pull/2/head
Alibek Omarov 5 years ago
parent
commit
5d97a293fe
  1. 3
      engine/client/cl_gameui.c
  2. 2
      engine/menu_int.h
  3. 2
      mainui

3
engine/client/cl_gameui.c

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

2
engine/menu_int.h

@ -204,6 +204,8 @@ typedef struct ui_extendedfuncs_s { @@ -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 @@ @@ -1 +1 @@
Subproject commit 8bcd477cc8de20f3d91c6fd1bed6f00315321b98
Subproject commit 9ef06db97fd612c820674c399db757d00176ada5
Loading…
Cancel
Save