summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e604c99)
raw | patch | inline | side by side (parent: e604c99)
author | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Fri, 18 Aug 2017 11:52:11 +0000 (14:52 +0300) | ||
committer | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Fri, 18 Aug 2017 18:29:05 +0000 (21:29 +0300) |
src/shared/a_modes.inc | patch | blob | history |
diff --git a/src/shared/a_modes.inc b/src/shared/a_modes.inc
index 35e29d6ec289341da8ddd68f270baa17b10ce5d6..13c328e85a2c71cc77397cc5fb72634f27058352 100644 (file)
--- a/src/shared/a_modes.inc
+++ b/src/shared/a_modes.inc
// compiler options, common for all game modules
{$MODE DELPHI}
-{$MODESWITCH NESTEDPROCVARS+}
-{$MODESWITCH DUPLICATELOCALS-}
-{.$MODESWITCH CBLOCKS+}
+
{$MODESWITCH ADVANCEDRECORDS+}
+{$MODESWITCH DUPLICATELOCALS-}
+{$MODESWITCH NESTEDPROCVARS+}
+{$MODESWITCH UNICODESTRINGS-}
+
{$ASSERTIONS ON}
+{$BITPACKING OFF}
+{$BOOLEVAL OFF}
+{$COPERATORS ON}
+{$EXTENDEDSYNTAX ON}
+{$FPUTYPE SSE}
+{$GOTO ON}
+{$IEEEERRORS OFF}
+{$INLINE ON}
{$LONGSTRINGS ON}
+{$MACRO OFF}
+{$OBJECTCHECKS OFF}
{$OVERFLOWCHECKS OFF}
+{$POINTERMATH ON}
{$RANGECHECKS OFF}
-{.$STATIC ON}
+{$SAFEFPUEXCEPTIONS OFF}
+{$SCOPEDENUMS OFF} // this will possibly be changed later
+{$SMARTLINK ON}
{$TYPEDADDRESS OFF}
+{$TYPEINFO OFF}
{$VARSTRINGCHECKS OFF}
-{$EXTENDEDSYNTAX ON}
-{$B-}
-{$S-}
+
+{$S-} // disable stack checking
+{$MMX-} // get lost, mmx
+
+{$IF DEFINED(D2F_DEBUG)}
+ {$STACKFRAMES ON}
+{$ELSE}
+ {$STACKFRAMES OFF}
+{$ENDIF}
+
{$IFDEF MSWINDOWS}
{$IFNDEF WINDOWS}