DEADSOFTWARE

added robin hood hash table implementation
[d2df-sdl.git] / src / shared / a_modes.inc
1 // compiler options, common for all game modules
2 {.$MODE DELPHI}
3 {$MODE OBJFPC}
5 {$MODESWITCH ADVANCEDRECORDS+}
6 {$MODESWITCH ALLOWINLINE+}
7 {$MODESWITCH ANSISTRINGS+} // Allow use of ansistrings.
8 {$MODESWITCH AUTODEREF+} // Automatic (silent) dereferencing of typed pointers.
9 {$MODESWITCH CLASS+}
10 {$MODESWITCH CLASSICPROCVARS+} // Use classical procedural variables.
11 {$MODESWITCH DEFAULTPARAMETERS+} // Allow use of default parameter values.
12 {$MODESWITCH DUPLICATELOCALS-} // Allow local variables in class methods to have the same names as properties of the class.
13 {$MODESWITCH EXCEPTIONS+}
14 {$MODESWITCH HINTDIRECTIVE+} // Support the hint directives (deprecated, platform etc.)
15 {$MODESWITCH INITFINAL+} // Allow use of Initialization and Finalization
16 {.$MODESWITCH ISOUNARYMINUS-} // Unary minus as required by ISO pascal.
17 {$MODESWITCH MACPROCVARS-} // Use mac-style procedural variables.
18 {$MODESWITCH NESTEDCOMMENTS-}
19 {$MODESWITCH NESTEDPROCVARS+}
20 {$MODESWITCH OBJPAS+}
21 {$MODESWITCH OUT+} // Allow use of the out parameter type.
22 {$MODESWITCH PCHARTOSTRING+}
23 {$MODESWITCH POINTERTOPROCVAR+} // Allow silent conversion of pointers to procedural variables.
24 {$MODESWITCH PROPERTIES+}
25 {$MODESWITCH REPEATFORWARD+} // Implementation and Forward declaration must match completely.
26 {$MODESWITCH RESULT+}
27 {$MODESWITCH TYPEHELPERS-} // Allow the use of type helpers.
28 {$MODESWITCH UNICODESTRINGS-}
29 {$MODESWITCH UNICODESTRINGS-}
32 {$ASSERTIONS ON}
33 {$BITPACKING OFF}
34 {$BOOLEVAL OFF}
35 {$COPERATORS ON}
36 {$EXTENDEDSYNTAX ON}
37 {$FPUTYPE SSE}
38 {$GOTO ON}
39 {$IEEEERRORS OFF}
40 {$INLINE ON}
41 {$LONGSTRINGS ON}
42 {$MACRO OFF}
43 {$OBJECTCHECKS OFF}
44 {$OVERFLOWCHECKS OFF}
45 {$POINTERMATH ON}
46 {$RANGECHECKS OFF}
47 {$SAFEFPUEXCEPTIONS OFF}
48 {$SCOPEDENUMS OFF} // this will possibly be changed later
49 {$SMARTLINK ON}
50 {$TYPEDADDRESS ON}
51 {$TYPEINFO OFF}
52 {$VARSTRINGCHECKS OFF}
54 {$S-} // disable stack checking
55 {$MMX-} // get lost, mmx
57 {$IF DEFINED(D2F_DEBUG)}
58 {$RANGECHECKS ON}
59 {$STACKFRAMES ON}
60 {$ELSE}
61 {$STACKFRAMES OFF}
62 {$ENDIF}
65 {$IFDEF MSWINDOWS}
66 {$IFNDEF WINDOWS}
67 {$DEFINE WINDOWS}
68 {$ENDIF WINDOWS}
69 {$ENDIF MSWINDOWS}