mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-21 12:11:24 +00:00
Print the version number in the window title
This commit is contained in:
parent
f8a9f6ead4
commit
35493a49b4
2 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@ Quake II 4.02 to 4.03
|
|||
the configuration file and savegames. (reported by Richard Allen)
|
||||
- Fix gl_ext_multitexture set to 1 (reported by Richard Allen
|
||||
and Lukas Sabota)
|
||||
- Print the version number in the window title.
|
||||
|
||||
Quake II 4.01 to 4.02
|
||||
- Fix a linker problem manifesting only on Ubuntu.
|
||||
|
|
|
@ -145,6 +145,7 @@ static qboolean GLimp_InitGraphics( qboolean fullscreen )
|
|||
int counter = 0;
|
||||
int flags;
|
||||
int stencil_bits;
|
||||
char title[24];
|
||||
|
||||
if (surface && (surface->w == vid.width) && (surface->h == vid.height))
|
||||
{
|
||||
|
@ -253,7 +254,8 @@ static qboolean GLimp_InitGraphics( qboolean fullscreen )
|
|||
}
|
||||
|
||||
/* Window title */
|
||||
SDL_WM_SetCaption("Yamagi Quake II", "Yamagi Quake II");
|
||||
snprintf(title, sizeof(title), "Yamagi Quake II v%4.2f", VERSION);
|
||||
SDL_WM_SetCaption(title, title);
|
||||
|
||||
/* No cursor */
|
||||
SDL_ShowCursor(0);
|
||||
|
|
Loading…
Reference in a new issue