diff --git a/src/game/g_main.pas b/src/game/g_main.pas
index 969167f098e6fc1461a67fccc32fcb5547e0aad9..e1e21d8d3de2ea5563dd89df7c88776272646775 100644 (file)
--- a/src/game/g_main.pas
+++ b/src/game/g_main.pas
+(* 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 <http://www.gnu.org/licenses/>.
+ *)
{$MODE DELPHI}
unit g_main;
var
sdlflags: LongWord;
begin
+ e_InitWritelnDriver();
+
GetDir(0, GameDir);
MapsDir := GameDir + '/maps/';
DataDir := GameDir + '/data/';
e_WriteLog('Read config file', MSG_NOTIFY);
g_Options_Read(GameDir + '/' + CONFIG_FILENAME);
- e_WriteToStdOut := {$IFDEF HEADLESS}True;{$ELSE}False;{$ENDIF}
+ e_WriteToStdOut := False; //{$IFDEF HEADLESS}True;{$ELSE}False;{$ENDIF}
//GetSystemDefaultLCID()