X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame%2Fg_main.pas;h=9a7250f9fc28a21b9933dfaa61123c4587f70fe7;hb=ee093c74b7f323b8589dc39ca7c39e89bc6e7e63;hp=ac2495448ed9caf0cefec0dd91ceb0c7b010ea63;hpb=fb8592aa898a8da05a47bfe50ff8272de4fdc995;p=d2df-sdl.git diff --git a/src/game/g_main.pas b/src/game/g_main.pas index ac24954..9a7250f 100644 --- a/src/game/g_main.pas +++ b/src/game/g_main.pas @@ -37,9 +37,14 @@ var implementation uses - SDL2, GL, GLExt, wadreader, e_log, g_window, +{$IFDEF USE_NANOGL} + nanoGL, +{$ELSE} + GL, GLExt, +{$ENDIF} + SDL2, wadreader, e_log, g_window, e_graphics, e_input, g_game, g_console, g_gui, - e_sound, g_options, g_sound, g_player, + e_sound, g_options, g_sound, g_player, g_basic, g_weapons, SysUtils, g_triggers, MAPDEF, g_map, g_menu, g_language, g_net, g_holmes, utils, conbuf, envvars, fui_wadread, fui_style, @@ -66,6 +71,16 @@ begin e_InitLog(GameDir + '/' + LOG_FILENAME, TWriteMode.WM_NEWFILE); + e_WriteLog( + 'Doom 2D: Forever version ' + GAME_VERSION + + ' proto ' + IntToStr(NET_PROTOCOL_VER), + TMsgType.Notify + ); + e_WriteLog( + 'Build date: ' + GAME_BUILDDATE + ' ' + GAME_BUILDTIME, + TMsgType.Notify + ); + e_WriteLog('Read config file', TMsgType.Notify); g_Options_Read(GameDir + '/' + CONFIG_FILENAME);