author | smxx |
Sat, 20 Feb 2010 09:33:20 +0000 | |
changeset 2830 | 571a9deffeac |
parent 2803 | 1f446fc5c8ec |
child 3165 | 3ec07a7d8456 |
permissions | -rw-r--r-- |
4 | 1 |
(* |
1066 | 2 |
* Hedgewars, a free turn based strategy game |
4 | 3 |
* Copyright (c) 2004, 2005 Andrey Korotaev <unC0Rr@gmail.com> |
4 |
* |
|
183 | 5 |
* This program is free software; you can redistribute it and/or modify |
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
4 | 8 |
* |
183 | 9 |
* This program is distributed in the hope that it will be useful, |
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
4 | 13 |
* |
183 | 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 |
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
|
4 | 17 |
*) |
18 |
||
2599 | 19 |
{$IFDEF FPC} |
20 |
{$J+} |
|
2630 | 21 |
{$ELSE} |
22 |
{$ERROR Only Free Pascal supported!} |
|
2600 | 23 |
{$ENDIF} |
4 | 24 |
|
2803
1f446fc5c8ec
allow to compile engine as library with HWLIBRARY symbol
koda
parents:
2716
diff
changeset
|
25 |
{$MODE OBJFPC} |
1f446fc5c8ec
allow to compile engine as library with HWLIBRARY symbol
koda
parents:
2716
diff
changeset
|
26 |
|
2586
204e6b2885bc
added little/big endian checks, added symbol for touch input, simplified iphoneos definitions
koda
parents:
1066
diff
changeset
|
27 |
{$IFDEF IPHONEOS} |
2599 | 28 |
{$DEFINE SDL13} |
29 |
{$DEFINE GLES11} |
|
2630 | 30 |
{$DEFINE LOWRES} |
2716
b9ca1bfca24f
complete the replacement of init/free wrappers for every unit
koda
parents:
2695
diff
changeset
|
31 |
{$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
|
32 |
{$DEFINE SDL_IMAGE_NEWER} |
2803
1f446fc5c8ec
allow to compile engine as library with HWLIBRARY symbol
koda
parents:
2716
diff
changeset
|
33 |
{$DEFINE HWLIBRARY} |
2630 | 34 |
{$ENDIF} |
35 |
||
36 |
{$IFNDEF DARWIN} |
|
37 |
{$DEFINE DEBUGFILE} |
|
38 |
{ $DEFINE DUMP} |
|
39 |
{ $DEFINE TRACEAIACTIONS} |
|
40 |
{ $DEFINE COUNTTICKS} |
|
2590 | 41 |
{$ENDIF} |