hedgewars/options.inc
changeset 7226 c3b4fc19fcd4
parent 7070 8d4189609e90
child 7231 f484455dd055
child 7288 5d0704f23a2a
equal deleted inserted replaced
7223:b554726ff468 7226:c3b4fc19fcd4
    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 {$ENDIF}
       
    71 
       
    72 {$DEFINE USE_LUA_SCRIPT}
       
    73 
    66 
    74 {$IFDEF PAS2C}
    67 {$IFDEF PAS2C}
    75     {$DEFINE NOCONSOLE}
    68     {$DEFINE NOCONSOLE}
    76     {$DEFINE USE_SDLTHREADS}
    69     {$DEFINE USE_SDLTHREADS}
    77 {$ENDIF}
    70 {$ENDIF}
    78 
    71 
    79 {$DEFINE _S:=}
    72 {$DEFINE _S:=}
    80 {$DEFINE _P:=}
    73 {$DEFINE _P:=}
       
    74 
       
    75 //{$DEFINE TRACEAIACTIONS}
       
    76 //{$DEFINE COUNTTICKS}
       
    77