annotate include/SDL_config_android.h @ 4714:0f05f2f16fad

- Modified build system - Initial support for touch and key events
author Paul Hunkin <paul@bieh.net>
date Tue, 27 Jul 2010 09:58:17 +0200
parents d40bb3165d2b
children d59792d2c3ae
rev   line source
4700
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
1 /*
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
2 SDL - Simple DirectMedia Layer
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
3 Copyright (C) 1997-2010 Sam Lantinga
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
4
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
5 This library is free software; you can redistribute it and/or
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
6 modify it under the terms of the GNU Lesser General Public
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
7 License as published by the Free Software Foundation; either
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
8 version 2.1 of the License, or (at your option) any later version.
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
9
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
10 This library is distributed in the hope that it will be useful,
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
13 Lesser General Public License for more details.
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
14
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
15 You should have received a copy of the GNU Lesser General Public
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
16 License along with this library; if not, write to the Free Software
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
18
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
19 Sam Lantinga
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
20 slouken@libsdl.org
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
21 */
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
22
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
23 #ifndef _SDL_config_android_h
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
24 #define _SDL_config_android_h
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
25
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
26 #include "SDL_platform.h"
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
27
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
28 /**
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
29 * \file SDL_config_android.h
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
30 *
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
31 * This is a configuration that can be used to build SDL for Android
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
32 */
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
33
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
34 #include <stdarg.h>
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
35
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
36 /*
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
37 typedef signed char int8_t;
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
38 typedef unsigned char uint8_t;
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
39 typedef signed short int16_t;
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
40 typedef unsigned short uint16_t;
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
41 typedef signed int int32_t;
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
42 typedef unsigned int uint32_t;
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
43 */
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
44
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
45 #define SIZEOF_VOIDP 4
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
46
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
47 typedef unsigned int size_t;
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
48 //typedef unsigned long uintptr_t;
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
49
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
50 #define SDL_AUDIO_DRIVER_DUMMY 1
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
51
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
52 #define SDL_CDROM_DISABLED 1
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
53
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
54 #define SDL_HAPTIC_DISABLED 1
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
55
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
56 #define SDL_JOYSTICK_DISABLED 1
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
57
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
58 #define SDL_LOADSO_DISABLED 1
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
59
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
60 #define SDL_THREADS_DISABLED 1
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
61
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
62 #define SDL_TIMERS_DISABLED 1
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
63
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
64 #define SDL_TIMER_UNIX 1
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
65
4701
d40bb3165d2b Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents: 4700
diff changeset
66 #define SDL_VIDEO_DRIVER_ANDROID 1
4700
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
67
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
68 #define HAVE_STDIO_H 1
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
69 #define HAVE_SYS_TYPES_H 1
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
70
4701
d40bb3165d2b Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents: 4700
diff changeset
71 #define HAVE_M_PI 1
d40bb3165d2b Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents: 4700
diff changeset
72
d40bb3165d2b Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents: 4700
diff changeset
73 #define SDL_VIDEO_RENDER_OGL_ES 1
d40bb3165d2b Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents: 4700
diff changeset
74
4700
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
75 #endif /* _SDL_config_minimal_h */
cf23d9b8e606 Added some android build stuff
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
76