X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_game.pas;h=af3d8ad0c99ffcdd01002045a44084cde72561c2;hp=f7aed54523e41c6a4f133426fdd73404165a2746;hb=fbb649f409620a55ae48f1bffd655c5a04489371;hpb=994ec81432c8530ebd95c347203c00f2f86cb6ce diff --git a/src/game/g_game.pas b/src/game/g_game.pas index f7aed54..af3d8ad 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -1467,13 +1467,7 @@ begin g_Game_SetLoadingText(Format('Doom 2D: Forever %s', [GAME_VERSION]), 0, False); g_Game_SetLoadingText('', 0, False); - g_Game_SetLoadingText(_lc[I_LOAD_CONSOLE], 0, False); - r_Console_Init; - g_Console_Init(); - g_Game_SetLoadingText(_lc[I_LOAD_MODELS], 0, False); - r_PlayerModel_Initialize; - // load models from all possible wad types, in all known directories // this does a loosy job (linear search, ooph!), but meh for wext in wadExtensions do @@ -1527,11 +1521,6 @@ begin g_Sound_CreateWADEx('MUSIC_ROUNDMUS', GameWAD+':MUSIC\ROUNDMUS', True, True); g_Sound_CreateWADEx('MUSIC_STDENDMUS', GameWAD+':MUSIC\ENDMUS', True); -{$IFNDEF HEADLESS} - g_Game_SetLoadingText(_lc[I_LOAD_MENUS], 0, False); - g_Menu_Init(); -{$ENDIF} - gMusic := TMusic.Create(); gMusic.SetByName('MUSIC_MENU'); gMusic.Play(); @@ -2629,7 +2618,6 @@ begin g_Game_StopAllSounds(True); gMusic.Free(); g_Game_FreeData(); - r_PlayerModel_Finalize; g_PlayerModel_FreeData(); g_Texture_DeleteAll(); g_Frames_DeleteAll();