diff options
author | Simon Howard | 2013-10-08 00:53:58 +0000 |
---|---|---|
committer | Simon Howard | 2013-10-08 00:53:58 +0000 |
commit | 2f256359cf616ad2a077bcad132691d5ce99e546 (patch) | |
tree | e480b2e10dbdf4806cc90bbea95e9bee60d70e55 /src/heretic | |
parent | d4f9e828f61f3c6d02f646f0646e9dbecbb76a49 (diff) | |
download | chocolate-doom-2f256359cf616ad2a077bcad132691d5ce99e546.tar.gz chocolate-doom-2f256359cf616ad2a077bcad132691d5ce99e546.tar.bz2 chocolate-doom-2f256359cf616ad2a077bcad132691d5ce99e546.zip |
Set window title/icon for Heretic/Hexen startup windows, to match the
main game window.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2696
Diffstat (limited to 'src/heretic')
-rw-r--r-- | src/heretic/d_main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c index 6dc29cf7..5d9def79 100644 --- a/src/heretic/d_main.c +++ b/src/heretic/d_main.c @@ -250,7 +250,6 @@ void D_DoomLoop(void) sprintf(filename, "debug%i.txt", consoleplayer); debugfile = fopen(filename, "w"); } - I_SetWindowTitle(gamedescription); I_GraphicsCheckCommandLine(); I_InitGraphics(); I_SetGrabMouseCallback(D_GrabMouseCallback); @@ -638,6 +637,9 @@ void initStartup(void) return; } + I_InitWindowTitle(); + I_InitWindowIcon(); + // Blit main screen textScreen = TXT_GetScreenData(); loading = W_CacheLumpName(DEH_String("LOADING"), PU_CACHE); @@ -1021,6 +1023,8 @@ void D_DoomMain(void) gamedescription = "Heretic (registered)"; } + I_SetWindowTitle(gamedescription); + savegamedir = M_GetSaveGameDir("heretic.wad"); I_PrintStartupBanner(gamedescription); |