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 {$IFDEF FPC} |
20 {$J+} |
20 {$J+} |
21 {$ELSE} |
21 {$ELSE} |
22 {$ERROR Only Free Pascal supported!} |
22 {$ERROR Only Free Pascal supported!} |
23 {$ENDIF} |
23 {$ENDIF} |
24 |
24 |
25 {$MODE OBJFPC} |
25 {$MODE OBJFPC} |
26 {$MACRO ON} |
26 {$MACRO ON} |
27 |
27 |
28 {$DEFINE GLunit:=GL} |
28 {$DEFINE GLunit:=GL} |
29 |
29 |
30 {$IFDEF ANDROID} |
30 {$IFDEF ANDROID} |
31 {$DEFINE SDL13} |
31 {$DEFINE SDL13} |
32 {$DEFINE HWLIBRARY} |
32 {$DEFINE HWLIBRARY} |
33 {$DEFINE S3D_DISABLED} |
33 {$DEFINE S3D_DISABLED} |
34 {$DEFINE GLunit:=gles11} |
34 {$DEFINE GLunit:=gles11} |
35 {$DEFINE MOBILE} |
35 {$DEFINE MOBILE} |
36 {$DEFINE Java_Prefix := 'Java_org_hedgewars_hedgeroid_EngineProtocol_PascalExports_'} |
36 {$DEFINE Java_Prefix := 'Java_org_hedgewars_hedgeroid_EngineProtocol_PascalExports_'} |
37 {$DEFINE USE_SDLTHREADS} |
37 {$DEFINE USE_SDLTHREADS} |
38 {$ENDIF} |
38 {$ENDIF} |
39 |
39 |
40 {$IFDEF IPHONEOS} |
40 {$IFDEF IPHONEOS} |
41 {$DEFINE SDL13} |
41 {$DEFINE SDL13} |
42 {$DEFINE HWLIBRARY} |
42 {$DEFINE HWLIBRARY} |
43 {$DEFINE S3D_DISABLED} |
43 {$DEFINE S3D_DISABLED} |
44 {$DEFINE GLunit:=gles11} |
44 {$DEFINE GLunit:=gles11} |
45 {$DEFINE MOBILE} |
45 {$DEFINE MOBILE} |
46 {$ENDIF} |
46 {$ENDIF} |
47 |
47 |
48 {$IFNDEF IPHONEOS} |
48 {$IFNDEF IPHONEOS} |
49 // not needed on ios because it is switched from the compiler command line arguments |
49 // not needed on ios because it is switched from the compiler command line arguments |
50 {$DEFINE DEBUGFILE} |
50 {$DEFINE DEBUGFILE} |
51 //{$DEFINE TRACEAIACTIONS} |
51 //{$DEFINE TRACEAIACTIONS} |
52 //{$DEFINE COUNTTICKS} |
52 //{$DEFINE COUNTTICKS} |
53 {$ENDIF} |
53 {$ENDIF} |
54 |
54 |
55 //also available LUA_DISABLED |
55 //also available LUA_DISABLED |