X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_menu.pas;h=19a9a1dd6cfa86817ebef5a42487a83b73197876;hb=e4186a2f4f35eec5321707bdc4eb2cbc94edccd0;hp=3bc2d4c0965c589852206bfac6bfa1a802df3a2e;hpb=06fd9717da990f4ca78836c6d4f268f57f5c5a02;p=d2df-sdl.git diff --git a/src/game/g_menu.pas b/src/game/g_menu.pas index 3bc2d4c..19a9a1d 100644 --- a/src/game/g_menu.pas +++ b/src/game/g_menu.pas @@ -43,12 +43,11 @@ var implementation uses - {$INCLUDE ../nogl/noGLuses.inc} - g_gui, g_textures, e_graphics, g_main, g_window, g_game, g_map, - g_basic, g_console, g_sound, g_gfx, g_player, g_options, g_weapons, + g_gui, g_textures, r_graphics, g_game, g_map, + g_base, g_basic, g_console, g_sound, g_gfx, g_player, g_options, g_weapons, e_log, SysUtils, CONFIG, g_playermodel, DateUtils, MAPDEF, Math, g_saveload, - e_texture, g_language, e_res, + g_language, e_res, g_net, g_netmsg, g_netmaster, g_items, e_input, g_touch, utils, wadreader, g_system, r_game; @@ -3808,16 +3807,11 @@ end; procedure g_Menu_Init(); begin MenuLoadData(); - g_GUI_Init(); CreateAllMenus(); end; procedure g_Menu_Free(); begin - g_GUI_Destroy(); - - e_WriteLog('Releasing menu data...', TMsgType.Notify); - MenuFreeData(); end;