hedgewars/options.inc
changeset 7231 f484455dd055
parent 7198 5debd5fe526e
parent 7226 c3b4fc19fcd4
child 7235 baa69bd025d9
equal deleted inserted replaced
7198:5debd5fe526e 7231:f484455dd055
    14  * You should have received a copy of the GNU General Public License
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    17  *)
    17  *)
    18 
    18 
    19 {$IFDEF FPC}
    19 {$IFNDEF FPC}
    20     {$WRITEABLECONST OFF}
    20     {$ERROR Only FreePascal Compiler is supported!}
    21     {$IMPLICITEXCEPTIONS OFF}
       
    22     {$VARSTRINGCHECKS ON}
       
    23     {$MODE OBJFPC}
       
    24 {$ELSE}
       
    25     {$ERROR Only Free Pascal supported!}
       
    26 {$ENDIF}
    21 {$ENDIF}
    27 
    22 
    28 {$MACRO ON}
    23 {$MACRO ON}
       
    24 {$MODE OBJFPC}
    29 {$DEFINE GLunit:=GL}
    25 {$DEFINE GLunit:=GL}
       
    26 {$WRITEABLECONST OFF}
       
    27 {$IMPLICITEXCEPTIONS OFF}
       
    28 {$VARSTRINGCHECKS ON}
       
    29 
       
    30 {$DEFINE USE_LUA_SCRIPT}
       
    31 
    30 
    32 
    31 {$IFDEF ANDROID}
    33 {$IFDEF ANDROID}
       
    34     {$DEFINE MOBILE}
       
    35     {$DEFINE USE_SDLTHREADS}
       
    36     {$DEFINE USE_CONTEXT_RESTORE}
       
    37     {$DEFINE Java_Prefix:= 'Java_org_hedgewars_hedgeroid_EngineProtocol_PascalExports_'}
       
    38 {$ENDIF}
       
    39 
       
    40 {$IFDEF IPHONEOS}
       
    41     {$DEFINE MOBILE}
       
    42 {$ENDIF}
       
    43 
       
    44 {$IFDEF MOBILE}
    32     {$DEFINE SDL13}
    45     {$DEFINE SDL13}
    33     {$DEFINE HWLIBRARY}
    46     {$DEFINE HWLIBRARY}
    34     {$DEFINE S3D_DISABLED}
    47     {$DEFINE S3D_DISABLED}
    35     {$DEFINE GLunit:=gles11}
    48     {$DEFINE GLunit:=gles11}
    36     {$DEFINE MOBILE}
       
    37     {$DEFINE Java_Prefix:= 'Java_org_hedgewars_hedgeroid_EngineProtocol_PascalExports_'}
       
    38     {$DEFINE USE_SDLTHREADS}
       
    39     {$DEFINE USE_CONTEXT_RESTORE}
       
    40     {$DEFINE USE_LANDSCAPE_AMMOMENU}
    49     {$DEFINE USE_LANDSCAPE_AMMOMENU}
    41     {$DEFINE USE_TOUCH_INTERFACE}
    50     {$DEFINE USE_TOUCH_INTERFACE}
       
    51 {$ELSE}
       
    52     {$DEFINE USE_AM_NUMCOLUMN}
    42 {$ENDIF}
    53 {$ENDIF}
    43 
    54 
    44 {$IFDEF IPHONEOS}
       
    45     {$DEFINE SDL13}
       
    46     {$DEFINE HWLIBRARY}
       
    47     {$DEFINE S3D_DISABLED}
       
    48     {$DEFINE GLunit:=gles11}
       
    49     {$DEFINE MOBILE}
       
    50     {$DEFINE USE_LANDSCAPE_AMMOMENU}
       
    51     {$DEFINE USE_TOUCH_INTERFACE}
       
    52 {$ENDIF}
       
    53 
    55 
    54 {$IFDEF WIN32}
    56 {$IFDEF WIN32}
    55     {$DEFINE USE_CONTEXT_RESTORE}
    57     {$DEFINE USE_CONTEXT_RESTORE}
    56 {$ENDIF}
    58 {$ENDIF}
    57 
    59 
    58 {$IFNDEF IPHONEOS}
    60 {$IFDEF DARWIN}
    59     {$IFDEF DARWIN}
    61     {$IFNDEF IPHONEOS}
    60         {$DEFINE USE_CONTEXT_RESTORE}
    62         {$DEFINE USE_CONTEXT_RESTORE}
    61     {$ENDIF}
    63     {$ENDIF}
    62     // not needed on ios because DEBUGFILE is switched from command line
       
    63     {$DEFINE DEBUGFILE}
       
    64     //{$DEFINE TRACEAIACTIONS}
       
    65     //{$DEFINE COUNTTICKS}
       
    66 {$ENDIF}
    64 {$ENDIF}
    67 
    65 
    68 {$IFNDEF MOBILE}
       
    69     {$DEFINE USE_AM_NUMCOLUMN}
       
    70     {$DEFINE USE_VIDEO_RECORDING}
    66     {$DEFINE USE_VIDEO_RECORDING}
    71 {$ENDIF}
       
    72 
       
    73 {$DEFINE USE_LUA_SCRIPT}
       
    74 
    67 
    75 {$IFDEF PAS2C}
    68 {$IFDEF PAS2C}
    76     {$DEFINE NOCONSOLE}
    69     {$DEFINE NOCONSOLE}
    77     {$DEFINE USE_SDLTHREADS}
    70     {$DEFINE USE_SDLTHREADS}
    78 {$ENDIF}
    71 {$ENDIF}
    79 
    72 
    80 {$DEFINE _S:=}
    73 {$DEFINE _S:=}
    81 {$DEFINE _P:=}
    74 {$DEFINE _P:=}
       
    75 
       
    76 //{$DEFINE TRACEAIACTIONS}
       
    77 //{$DEFINE COUNTTICKS}
       
    78