summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5929d2a)
raw | patch | inline | side by side (parent: 5929d2a)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Wed, 7 Feb 2018 22:13:19 +0000 (01:13 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Wed, 7 Feb 2018 22:13:19 +0000 (01:13 +0300) |
src/game/g_basic.pas | patch | blob | history | |
src/game/g_main.pas | patch | blob | history |
diff --git a/src/game/g_basic.pas b/src/game/g_basic.pas
index bdeb090420fa88c415b9144f3703a286ccdbe6e0..eba4094cb147133a49a42269fc4da56cb5b63287 100644 (file)
--- a/src/game/g_basic.pas
+++ b/src/game/g_basic.pas
const
GAME_VERSION = '0.667';
+ GAME_BUILDDATE = {$I %DATE%};
+ GAME_BUILDTIME = {$I %TIME%};
UID_GAME = 1;
UID_PLAYER = 2;
UID_MONSTER = 3;
diff --git a/src/game/g_main.pas b/src/game/g_main.pas
index ac2495448ed9caf0cefec0dd91ceb0c7b010ea63..728cb2257fa2ab58acf07bf80b961001df17aee8 100644 (file)
--- a/src/game/g_main.pas
+++ b/src/game/g_main.pas
uses
SDL2, GL, GLExt, 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,
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);