hedgewars/options.inc
changeset 7288 5d0704f23a2a
parent 7188 580cd247511e
parent 7226 c3b4fc19fcd4
child 7291 ad4b6c2b09e8
equal deleted inserted replaced
7188:580cd247511e 7288:5d0704f23a2a
    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 {$DEFINE GL2}
    33 {$DEFINE GL2}
    32 
    34 
    33 {$IFDEF ANDROID}
    35 {$IFDEF ANDROID}
       
    36     {$DEFINE MOBILE}
       
    37     {$DEFINE USE_SDLTHREADS}
       
    38     {$DEFINE USE_CONTEXT_RESTORE}
       
    39     {$DEFINE Java_Prefix:= 'Java_org_hedgewars_hedgeroid_EngineProtocol_PascalExports_'}
       
    40 {$ENDIF}
       
    41 
       
    42 {$IFDEF IPHONEOS}
       
    43     {$DEFINE MOBILE}
       
    44 {$ENDIF}
       
    45 
       
    46 {$IFDEF MOBILE}
    34     {$DEFINE SDL13}
    47     {$DEFINE SDL13}
    35     {$DEFINE HWLIBRARY}
    48     {$DEFINE HWLIBRARY}
    36     {$DEFINE S3D_DISABLED}
    49     {$DEFINE S3D_DISABLED}
    37     {$DEFINE GLunit:=gles11}
    50     {$DEFINE GLunit:=gles11}
    38     {$DEFINE MOBILE}
       
    39     {$DEFINE Java_Prefix:= 'Java_org_hedgewars_hedgeroid_EngineProtocol_PascalExports_'}
       
    40     {$DEFINE USE_SDLTHREADS}
       
    41     {$DEFINE USE_CONTEXT_RESTORE}
       
    42     {$DEFINE USE_LANDSCAPE_AMMOMENU}
    51     {$DEFINE USE_LANDSCAPE_AMMOMENU}
    43     {$DEFINE USE_TOUCH_INTERFACE}
    52     {$DEFINE USE_TOUCH_INTERFACE}
       
    53 {$ELSE}
       
    54     {$DEFINE USE_AM_NUMCOLUMN}
    44 {$ENDIF}
    55 {$ENDIF}
    45 
    56 
    46 {$IFDEF IPHONEOS}
       
    47     {$DEFINE SDL13}
       
    48     {$DEFINE HWLIBRARY}
       
    49     {$DEFINE S3D_DISABLED}
       
    50     {$DEFINE GLunit:=gles11}
       
    51     {$DEFINE MOBILE}
       
    52     {$DEFINE USE_LANDSCAPE_AMMOMENU}
       
    53     {$DEFINE USE_TOUCH_INTERFACE}
       
    54 {$ENDIF}
       
    55 
    57 
    56 {$IFDEF GL2}
    58 {$IFDEF GL2}
    57     {$DEFINE S3D_DISABLED}
    59     {$DEFINE S3D_DISABLED}
    58 {$ENDIF}
    60 {$ENDIF}
    59 
    61 
    60 {$IFDEF WIN32}
    62 {$IFDEF WIN32}
    61     {$DEFINE USE_CONTEXT_RESTORE}
    63     {$DEFINE USE_CONTEXT_RESTORE}
    62 {$ENDIF}
    64 {$ENDIF}
    63 
    65 
    64 {$IFNDEF IPHONEOS}
    66 {$IFDEF DARWIN}
    65     {$IFDEF DARWIN}
    67     {$IFNDEF IPHONEOS}
    66         {$DEFINE USE_CONTEXT_RESTORE}
    68         {$DEFINE USE_CONTEXT_RESTORE}
    67     {$ENDIF}
    69     {$ENDIF}
    68     // not needed on ios because DEBUGFILE is switched from command line
       
    69     {$DEFINE DEBUGFILE}
       
    70     //{$DEFINE TRACEAIACTIONS}
       
    71     //{$DEFINE COUNTTICKS}
       
    72 {$ENDIF}
    70 {$ENDIF}
    73 
    71 
    74 {$IFNDEF MOBILE}
       
    75     {$DEFINE USE_AM_NUMCOLUMN}
       
    76 {$ENDIF}
       
    77 
       
    78 {$DEFINE USE_LUA_SCRIPT}
       
    79 
    72 
    80 {$IFDEF PAS2C}
    73 {$IFDEF PAS2C}
    81     {$DEFINE NOCONSOLE}
    74     {$DEFINE NOCONSOLE}
    82     {$DEFINE USE_SDLTHREADS}
    75     {$DEFINE USE_SDLTHREADS}
    83 {$ENDIF}
    76 {$ENDIF}
    84 
    77 
    85 {$DEFINE _S:=}
    78 {$DEFINE _S:=}
    86 {$DEFINE _P:=}
    79 {$DEFINE _P:=}
       
    80 
       
    81 //{$DEFINE TRACEAIACTIONS}
       
    82 //{$DEFINE COUNTTICKS}
       
    83