DEADSOFTWARE

render: remove g_gfx dependency on e_graphics
[d2df-sdl.git] / src / game / g_main.pas
index 5c458d5159025a8f4b376bb425802b8986f1a877..4b227e0f020962f3385f21e2a281d57cd04dc534 100644 (file)
@@ -71,7 +71,7 @@ uses
   e_sound, g_options, g_sound, g_player, g_basic,
   g_weapons, SysUtils, g_triggers, MAPDEF, g_map, e_res,
   g_menu, g_language, g_net, g_touch, g_system, g_res_downloader,
-  conbuf, envvars,
+  conbuf, envvars, r_game,
   xparser;
 
 
@@ -453,6 +453,7 @@ begin
     e_InitLog(LogFileName, TWriteMode.WM_NEWFILE);
   e_InitWritelnDriver();
   e_WriteLog('Doom 2D: Forever version ' + GAME_VERSION + ' proto ' + IntToStr(NET_PROTOCOL_VER), TMsgType.Notify);
+  e_WriteLog('Build arch: ' + g_GetBuildArch(), TMsgType.Notify);
   e_WriteLog('Build date: ' + GAME_BUILDDATE + ' ' + GAME_BUILDTIME, TMsgType.Notify);
   e_WriteLog('Build hash: ' + g_GetBuildHash(), TMsgType.Notify);
   e_WriteLog('Build by: ' + g_GetBuilderName(), TMsgType.Notify);
@@ -688,7 +689,7 @@ end;
 
 procedure Draw ();
 begin
-  g_Game_Draw();
+  r_Game_Draw();
 end;