X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_main.pas;h=59e78702837c555b40e90103f08bccf5633806ac;hb=c4a4cd2a79cf488baac50e99b6c796d1ede4c7fc;hp=e0ecce92ad9c27c43c73748c797b6036cb461017;hpb=83dba8e8957923e6a8f6541d7935345a59cf5bde;p=d2df-sdl.git diff --git a/src/game/g_main.pas b/src/game/g_main.pas index e0ecce9..59e7870 100644 --- a/src/game/g_main.pas +++ b/src/game/g_main.pas @@ -1,3 +1,18 @@ +(* Copyright (C) DooM 2D:Forever Developers + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + *) {$MODE DELPHI} unit g_main; @@ -25,7 +40,7 @@ uses e_graphics, e_input, g_game, g_console, g_gui, e_sound, g_options, g_sound, g_player, g_weapons, SysUtils, g_triggers, MAPDEF, g_map, - MAPSTRUCT, g_menu, g_language, g_net, utils; + MAPSTRUCT, g_menu, g_language, g_net, utils, conbuf; var charbuff: Array [0..15] of Char; @@ -47,7 +62,10 @@ begin e_WriteLog('Read config file', MSG_NOTIFY); g_Options_Read(GameDir + '/' + CONFIG_FILENAME); - e_WriteToStdOut := {$IFDEF HEADLESS}True;{$ELSE}False;{$ENDIF} +{$IFDEF HEADLESS} + conbufDumpToStdOut := true; +{$ENDIF} + e_WriteToStdOut := False; //{$IFDEF HEADLESS}True;{$ELSE}False;{$ENDIF} //GetSystemDefaultLCID()