X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2FDoom2DF.lpr;h=80bd7746acb5896668c4fbd526058d30d4343b80;hb=39b0746406e3df71ac598f7c0d9e96e9210df381;hp=dd58577d99041fc2e5d1a69b7e39dc9b802458aa;hpb=e962cbff359d8ee0abf003a2c4d0934f2a22f536;p=d2df-sdl.git diff --git a/src/game/Doom2DF.lpr b/src/game/Doom2DF.lpr index dd58577..80bd774 100644 --- a/src/game/Doom2DF.lpr +++ b/src/game/Doom2DF.lpr @@ -152,6 +152,7 @@ uses g_touch in 'sdl2/g_touch.pas', {$ENDIF} + r_animations in 'opengl/r_animations.pas', r_console in 'opengl/r_console.pas', r_game in 'opengl/r_game.pas', r_gfx in 'opengl/r_gfx.pas', @@ -160,13 +161,13 @@ uses r_map in 'opengl/r_map.pas', r_monsters in 'opengl/r_monsters.pas', r_netmaster in 'opengl/r_netmaster.pas', - r_panel in 'opengl/r_panel.pas', r_player in 'opengl/r_player.pas', r_playermodel in 'opengl/r_playermodel.pas', + r_render in 'opengl/r_render.pas', r_texture in 'opengl/r_texture.pas', + r_textures in 'opengl/r_textures.pas', r_weapons in 'opengl/r_weapons.pas', r_window in 'opengl/r_window.pas', - r_render in 'opengl/r_render.pas', {$IFDEF USE_FMOD} fmod in '../lib/FMOD/fmod.pas', @@ -231,6 +232,7 @@ begin if (NetMode = NET_SERVER) then g_Net_Host_Update() else if (NetMode = NET_CLIENT) then g_Net_Client_Update(); // think + r_Render_Update; g_Game_Update(); // server: send any accumulated outgoing data to clients if NetMode = NET_SERVER then g_Net_Flush(); @@ -296,7 +298,7 @@ begin Frame := Time end else - sys_Delay(1); + Sleep(1); e_SoundUpdate(); end; @@ -986,6 +988,8 @@ end; {$IFDEF ENABLE_HOLMES} InitHolmes; {$ENDIF} + g_PlayerModel_LoadAll; + r_Render_Load; g_Game_Init; {$IFNDEF HEADLESS} g_Menu_Init; @@ -1005,6 +1009,7 @@ end; g_GUI_Destroy; g_Menu_Free; {$ENDIF} + r_Render_Free; {$IFDEF ENABLE_HOLMES} FreeHolmes; {$ENDIF}