X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=inline;f=src%2Fshared%2Fa_modes.inc;h=9c5c74c08774122fa8a2e705e89f63d449807b3a;hb=4e0a3d27eb16e912ccebaba777d49aac52151d95;hp=13c328e85a2c71cc77397cc5fb72634f27058352;hpb=94896ca5c4f78950b131f47a25e1183329cd7a47;p=d2df-sdl.git diff --git a/src/shared/a_modes.inc b/src/shared/a_modes.inc index 13c328e..9c5c74c 100644 --- a/src/shared/a_modes.inc +++ b/src/shared/a_modes.inc @@ -1,10 +1,33 @@ // compiler options, common for all game modules -{$MODE DELPHI} +{.$MODE DELPHI} +{$MODE OBJFPC} {$MODESWITCH ADVANCEDRECORDS+} -{$MODESWITCH DUPLICATELOCALS-} +{$MODESWITCH ALLOWINLINE+} +{$MODESWITCH ANSISTRINGS+} // Allow use of ansistrings. +{$MODESWITCH AUTODEREF+} // Automatic (silent) dereferencing of typed pointers. +{$MODESWITCH CLASS+} +{$MODESWITCH CLASSICPROCVARS+} // Use classical procedural variables. +{$MODESWITCH DEFAULTPARAMETERS+} // Allow use of default parameter values. +{$MODESWITCH DUPLICATELOCALS-} // Allow local variables in class methods to have the same names as properties of the class. +{$MODESWITCH EXCEPTIONS+} +{$MODESWITCH HINTDIRECTIVE+} // Support the hint directives (deprecated, platform etc.) +{$MODESWITCH INITFINAL+} // Allow use of Initialization and Finalization +{.$MODESWITCH ISOUNARYMINUS-} // Unary minus as required by ISO pascal. +{$MODESWITCH MACPROCVARS-} // Use mac-style procedural variables. +{$MODESWITCH NESTEDCOMMENTS-} {$MODESWITCH NESTEDPROCVARS+} +{$MODESWITCH OBJPAS+} +{$MODESWITCH OUT+} // Allow use of the out parameter type. +{$MODESWITCH PCHARTOSTRING+} +{$MODESWITCH POINTERTOPROCVAR+} // Allow silent conversion of pointers to procedural variables. +{$MODESWITCH PROPERTIES+} +{$MODESWITCH REPEATFORWARD+} // Implementation and Forward declaration must match completely. +{$MODESWITCH RESULT+} +{$MODESWITCH TYPEHELPERS-} // Allow the use of type helpers. {$MODESWITCH UNICODESTRINGS-} +{$MODESWITCH UNICODESTRINGS-} + {$ASSERTIONS ON} {$BITPACKING OFF} @@ -24,7 +47,7 @@ {$SAFEFPUEXCEPTIONS OFF} {$SCOPEDENUMS OFF} // this will possibly be changed later {$SMARTLINK ON} -{$TYPEDADDRESS OFF} +{$TYPEDADDRESS ON} {$TYPEINFO OFF} {$VARSTRINGCHECKS OFF}