author | koda |
Mon, 26 Sep 2011 00:03:14 +0200 | |
branch | hedgeroid |
changeset 6025 | cac1d5601d7c |
parent 5444 | 2b5eebaa31ff |
child 6033 | 6bcc36225162 |
permissions | -rw-r--r-- |
4 | 1 |
(* |
1066 | 2 |
* Hedgewars, a free turn based strategy game |
4976 | 3 |
* Copyright (c) 2004, 2011 Andrey Korotaev <unC0Rr@gmail.com> |
4 | 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} |
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 |
|
4850 | 28 |
{$DEFINE GLunit:=GL} |
2803
1f446fc5c8ec
allow to compile engine as library with HWLIBRARY symbol
koda
parents:
2716
diff
changeset
|
29 |
|
5286 | 30 |
{$IFDEF ANDROID} |
6025
cac1d5601d7c
reviewed the build system and parts of the previous merge, performed some code cleanup
koda
parents:
5444
diff
changeset
|
31 |
{$MODE delphi} |
5286 | 32 |
{$DEFINE SDL13} |
33 |
{$DEFINE HWLIBRARY} |
|
34 |
{$DEFINE S3D_DISABLED} |
|
35 |
{$DEFINE GLunit:=gles11} |
|
36 |
{$DEFINE MOBILE} |
|
6025
cac1d5601d7c
reviewed the build system and parts of the previous merge, performed some code cleanup
koda
parents:
5444
diff
changeset
|
37 |
{$DEFINE Java_Prefix := 'Java_org_hedgewars_mobile_EngineProtocol_PascalExports_'} |
5286 | 38 |
{$ENDIF} |
39 |
||
2586
204e6b2885bc
added little/big endian checks, added symbol for touch input, simplified iphoneos definitions
koda
parents:
1066
diff
changeset
|
40 |
{$IFDEF IPHONEOS} |
2599 | 41 |
{$DEFINE SDL13} |
2803
1f446fc5c8ec
allow to compile engine as library with HWLIBRARY symbol
koda
parents:
2716
diff
changeset
|
42 |
{$DEFINE HWLIBRARY} |
4347
0ddb100fea61
add a S3D_DISABLED symbol to disable/enable stereo rendering at compilation time
koda
parents:
3822
diff
changeset
|
43 |
{$DEFINE S3D_DISABLED} |
3514 | 44 |
{$DEFINE GLunit:=gles11} |
5286 | 45 |
{$DEFINE MOBILE} |
6025
cac1d5601d7c
reviewed the build system and parts of the previous merge, performed some code cleanup
koda
parents:
5444
diff
changeset
|
46 |
{$ELSE} |
cac1d5601d7c
reviewed the build system and parts of the previous merge, performed some code cleanup
koda
parents:
5444
diff
changeset
|
47 |
{$DEFINE DEBUGFILE} |
cac1d5601d7c
reviewed the build system and parts of the previous merge, performed some code cleanup
koda
parents:
5444
diff
changeset
|
48 |
//{$DEFINE TRACEAIACTIONS} |
cac1d5601d7c
reviewed the build system and parts of the previous merge, performed some code cleanup
koda
parents:
5444
diff
changeset
|
49 |
//{$DEFINE COUNTTICKS} |
2630 | 50 |
{$ENDIF} |
51 |
||
5048 | 52 |
//also available LUA_DISABLED |