diff --git a/src/game/Doom2DF.dpr b/src/game/Doom2DF.dpr
index 806032dce301e929dcaf969d2d07692292aef34a..97fdb669e7c5d52616e69030f7924fada08cd8be 100644 (file)
--- a/src/game/Doom2DF.dpr
+++ b/src/game/Doom2DF.dpr
uses
conbuf in '../shared/conbuf.pas',
+ math,
GL,
GLExt,
SDL2 in '../lib/sdl2/sdl2.pas',
var
f: Integer;
noct: Boolean = false;
- tfo: Text;
+ //tfo: Text;
begin
+ SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow, exUnderflow, exPrecision]); //k8: fuck off, that's why
for f := 1 to ParamCount do
begin
if ParamStr(f) = '--gdb' then noct := true
begin
e_WriteStackTrace(e.message);
//e_WriteLog(Format(_lc[I_SYSTEM_ERROR_MSG], [E.Message]), MSG_FATALERROR);
+ (*
AssignFile(tfo, GameDir+'/trace.log');
{$I-}
Append(tfo);
if (IOResult <> 0) then Rewrite(tfo);
if (IOResult = 0) then begin writeln(tfo, '====================='); DumpExceptionBackTrace(tfo); CloseFile(tfo); end;
+ *)
end
else
begin