DEADSOFTWARE

typo in mapcvt: microseconds -> milliseconds
[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-}
31 {$ASSERTIONS ON}
32 {$BITPACKING OFF}
33 {$BOOLEVAL OFF}
34 {$COPERATORS ON}
35 {$EXTENDEDSYNTAX ON}
36 {$FPUTYPE SSE}
37 {$GOTO ON}
38 {$IEEEERRORS OFF}
39 {$INLINE ON}
40 {$LONGSTRINGS ON}
41 {$MACRO OFF}
42 {$OBJECTCHECKS OFF}
43 {$OVERFLOWCHECKS OFF}
44 {$POINTERMATH ON}
45 {$RANGECHECKS OFF}
46 {$SAFEFPUEXCEPTIONS OFF}
47 {$SCOPEDENUMS OFF} // this will possibly be changed later
48 {$SMARTLINK ON}
49 {$TYPEDADDRESS ON}
50 {$TYPEINFO ON}
51 {$VARSTRINGCHECKS OFF}
53 {$S-} // disable stack checking
54 {$MMX-} // get lost, mmx
56 {$IF DEFINED(D2F_DEBUG)}
57 {$STACKFRAMES ON}
58 {$HINTS OFF}
59 {$ELSE}
60 {$STACKFRAMES OFF}
61 {$HINTS OFF}
62 {$DEFINE D2F_MORE_OPTIM}
63 {$ENDIF}
64 {$WARNINGS ON}
65 {$NOTES ON}
67 {$IF DEFINED(D2F_DEBUG_OPTIM) or DEFINED(D2F_MORE_OPTIM)}
68 {$OPTIMIZATION DEADVALUES}
69 {$OPTIMIZATION CONSTPROP}
70 {$OPTIMIZATION DEADSTORE}
71 {$ENDIF}
73 {$IFDEF MSWINDOWS}
74 {$IFNDEF WINDOWS}
75 {$DEFINE WINDOWS}
76 {$ENDIF WINDOWS}
77 {$ENDIF MSWINDOWS}