hedgewars/options.inc
author koda
Mon, 25 Feb 2013 10:04:31 +0100
branchexperimental3D
changeset 4846 668602df25a6
parent 4347 0ddb100fea61
child 4850 434cd1284204
permissions -rw-r--r--
closing old branch
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 1
diff changeset
     1
(*
1066
1f1b3686a2b0 Update copyright headers a bit
unc0rr
parents: 515
diff changeset
     2
 * Hedgewars, a free turn based strategy game
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 1
diff changeset
     3
 * Copyright (c) 2004, 2005 Andrey Korotaev <unC0Rr@gmail.com>
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 1
diff changeset
     4
 *
183
57c2ef19f719 Relicense to GPL
unc0rr
parents: 80
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
57c2ef19f719 Relicense to GPL
unc0rr
parents: 80
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
57c2ef19f719 Relicense to GPL
unc0rr
parents: 80
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 1
diff changeset
     8
 *
183
57c2ef19f719 Relicense to GPL
unc0rr
parents: 80
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
57c2ef19f719 Relicense to GPL
unc0rr
parents: 80
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
57c2ef19f719 Relicense to GPL
unc0rr
parents: 80
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
57c2ef19f719 Relicense to GPL
unc0rr
parents: 80
diff changeset
    12
 * GNU General Public License for more details.
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 1
diff changeset
    13
 *
183
57c2ef19f719 Relicense to GPL
unc0rr
parents: 80
diff changeset
    14
 * You should have received a copy of the GNU General Public License
57c2ef19f719 Relicense to GPL
unc0rr
parents: 80
diff changeset
    15
 * along with this program; if not, write to the Free Software
57c2ef19f719 Relicense to GPL
unc0rr
parents: 80
diff changeset
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 1
diff changeset
    17
 *)
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 1
diff changeset
    18
2599
c7153d2348f3 move compiler directives to standard pascal
koda
parents: 2590
diff changeset
    19
{$IFDEF FPC}
c7153d2348f3 move compiler directives to standard pascal
koda
parents: 2590
diff changeset
    20
  {$J+}
2630
079ef82eac75 revamped file access and debug display
koda
parents: 2609
diff changeset
    21
{$ELSE}
079ef82eac75 revamped file access and debug display
koda
parents: 2609
diff changeset
    22
  {$ERROR Only Free Pascal supported!}
2600
7b21daf84933 revamped SDLh.pas
koda
parents: 2599
diff changeset
    23
{$ENDIF}
4
bcbd7adb4e4b - set svn:eol-style to native
unc0rr
parents: 1
diff changeset
    24
2803
1f446fc5c8ec allow to compile engine as library with HWLIBRARY symbol
koda
parents: 2716
diff changeset
    25
{$MODE OBJFPC}
3165
3ec07a7d8456 just some very sane stuff for the iphone port (plus some macro on pascal files)
koda
parents: 2803
diff changeset
    26
{$MACRO ON}
3ec07a7d8456 just some very sane stuff for the iphone port (plus some macro on pascal files)
koda
parents: 2803
diff changeset
    27
3697
d5b30d6373fc remove trailing spaces from end of line
koda
parents: 3612
diff changeset
    28
{$DEFINE GLunit:=GL,GLext}
2803
1f446fc5c8ec allow to compile engine as library with HWLIBRARY symbol
koda
parents: 2716
diff changeset
    29
2586
204e6b2885bc added little/big endian checks, added symbol for touch input, simplified iphoneos definitions
koda
parents: 1066
diff changeset
    30
{$IFDEF IPHONEOS}
2599
c7153d2348f3 move compiler directives to standard pascal
koda
parents: 2590
diff changeset
    31
  {$DEFINE SDL13}
2716
b9ca1bfca24f complete the replacement of init/free wrappers for every unit
koda
parents: 2695
diff changeset
    32
  {$DEFINE SDL_MIXER_NEWER}
2694
dcd248e04f3d can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents: 2672
diff changeset
    33
  {$DEFINE SDL_IMAGE_NEWER}
2803
1f446fc5c8ec allow to compile engine as library with HWLIBRARY symbol
koda
parents: 2716
diff changeset
    34
  {$DEFINE HWLIBRARY}
4347
0ddb100fea61 add a S3D_DISABLED symbol to disable/enable stereo rendering at compilation time
koda
parents: 3822
diff changeset
    35
  {$DEFINE S3D_DISABLED}
3514
59dbd31e9953 move stuff around and update iphone project
koda
parents: 3165
diff changeset
    36
  {$DEFINE GLunit:=gles11}
2630
079ef82eac75 revamped file access and debug display
koda
parents: 2609
diff changeset
    37
{$ENDIF}
079ef82eac75 revamped file access and debug display
koda
parents: 2609
diff changeset
    38
079ef82eac75 revamped file access and debug display
koda
parents: 2609
diff changeset
    39
{$IFNDEF DARWIN}
079ef82eac75 revamped file access and debug display
koda
parents: 2609
diff changeset
    40
  {$DEFINE DEBUGFILE}
079ef82eac75 revamped file access and debug display
koda
parents: 2609
diff changeset
    41
  {  $DEFINE DUMP}
079ef82eac75 revamped file access and debug display
koda
parents: 2609
diff changeset
    42
  {  $DEFINE TRACEAIACTIONS}
079ef82eac75 revamped file access and debug display
koda
parents: 2609
diff changeset
    43
  {  $DEFINE COUNTTICKS}
2590
e7e87e3c67db touch control completely revamped
koda
parents: 2586
diff changeset
    44
{$ENDIF}
4347
0ddb100fea61 add a S3D_DISABLED symbol to disable/enable stereo rendering at compilation time
koda
parents: 3822
diff changeset
    45
0ddb100fea61 add a S3D_DISABLED symbol to disable/enable stereo rendering at compilation time
koda
parents: 3822
diff changeset
    46
//also available LUA_DISABLED