From 2f256359cf616ad2a077bcad132691d5ce99e546 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Tue, 8 Oct 2013 00:53:58 +0000 Subject: Set window title/icon for Heretic/Hexen startup windows, to match the main game window. Subversion-branch: /branches/v2-branch Subversion-revision: 2696 --- src/heretic/d_main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/heretic') 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); -- cgit v1.2.3