Commit Graph

3298 Commits

Author SHA1 Message Date
Paul Hunkin
faaae689b9 Updated the readme 2010-08-17 17:28:14 +12:00
Paul Hunkin
fe9cff081b Cleanups.
- Moved to 'project' instead of 'testproject'
- Removed extraneous .c files
- Removed the android_libs folder (that was against the NDK agreement anyway)
2010-08-17 15:35:56 +12:00
Paul Hunkin
412a885716 Added initial README.android 2010-08-14 16:17:17 +12:00
Paul Hunkin
2384244845 Working on the sound system 2010-08-14 12:35:21 +12:00
Paul Hunkin
92dc116dcd More joystick stuff 2010-07-27 21:58:18 +02:00
Paul Hunkin
eb38d6aa71 - Cleaned up a bunch of code
- Added 'feature' enable/disable so we're not running accel/sound/whatever in Java when we don't need to be
- More work on the sound system. But it still crashes pretty horribly, not sure why yet.
2010-07-27 21:21:24 +02:00
Paul Hunkin
e8bbccf237 Added accelerometer 'joystick' 2010-07-27 21:20:17 +02:00
Paul Hunkin
daa451a473 Oops, I wasn't using pthreads. Fixed so we can have mutexes and stuff 2010-07-27 15:23:09 +02:00
Paul Hunkin
10203b606f Updated test app to init the sound system 2010-07-27 11:35:06 +02:00
Paul Hunkin
262828a8ab Added stub android sound system 2010-07-27 11:34:43 +02:00
Paul Hunkin
db6bbd35de OK, /actually/ fixed the nativeQuit() crash this time 2010-07-27 11:02:07 +02:00
Paul Hunkin
559937b746 Added resize hander stub and initial screen size setter 2010-07-27 10:49:11 +02:00
Paul Hunkin
816e52175c Shut down the C application properly on quit instead of crashing in the most horrible way possible 2010-07-27 10:20:22 +02:00
Paul Hunkin
8461c61e8a - Modified build system
- Initial support for touch and key events
2010-07-27 09:58:17 +02:00
Paul Hunkin
1de95703a5 Added preliminary keyboard event support 2010-07-07 00:43:23 +12:00
Paul Hunkin
61acea0ac4 Code cleanup 2010-06-29 01:30:11 +12:00
Paul Hunkin
a9ac1e4410 - Restructured threads and application structure.
- Moved to SurfaceView instead of GLSurfaceView
- Moved to C++ for the android library
2010-06-29 00:40:12 +12:00
Paul Hunkin
217c4192df Last test version with GLSurface 2010-06-28 21:35:28 +12:00
Paul Hunkin
5ea5611051 Tweaks to the libsdl side 2010-06-18 01:29:14 +12:00
Paul Hunkin
751564d7e8 Added egl headers so we can use eglMakeCurrent() 2010-06-18 01:28:39 +12:00
Paul Hunkin
3ea075ff59 Removed old video subsystem, along with (now-unncessary) egl files. 2010-06-18 00:03:09 +12:00
Paul Hunkin
2e9955cc5e Testing out pthread support in android. Appears to work. 2010-06-18 00:02:13 +12:00
Paul Hunkin
fd07eb5990 Rotating pyramid! 2010-06-17 23:04:16 +12:00
Paul Hunkin
5def4b1273 Added minimal test project 2010-06-17 22:19:27 +12:00
Paul Hunkin
82cf0563e5 Fixed #includes to fix naming conventions 2010-06-10 19:25:55 +12:00
Paul Hunkin
23ef6d2153 Renamed some files to fit naming conventions 2010-06-10 19:02:55 +12:00
Paul Hunkin
61ddab05c6 Added (partially implemented) android video backend and associated files needed to build 2010-06-10 18:54:23 +12:00
Paul Hunkin
99ccaa6680 Added some android build stuff 2010-05-23 15:18:16 +12:00
Paul Hunkin
4d51917753 Added some wrapper shell scripts to make android compiling easier 2010-05-23 15:13:39 +12:00
Paul Hunkin
4b5db3080a Fix a compile error when SDL_JOYSTICK_DISABLED is set 2010-05-23 15:12:41 +12:00
Paul Hunkin
6b8d32ccde Fix compile errors under Android toolchain. Seems to have the same issue as the NDS. 2010-05-23 15:10:18 +12:00
Paul Hunkin
3ca3ae0c70 Fixed comment style 2010-05-23 15:08:30 +12:00
Paul Hunkin
205e65f689 Initial commit, adding __ANDROID__ to the platform list 2010-05-17 15:14:34 +12:00
Sam Lantinga
9a5b4a1a84 Add a default revision string if we can't find hg 2010-05-09 19:55:28 -07:00
Sam Lantinga
47c0e1e892 Don't assume .bashrc exists. :) 2010-05-09 19:51:21 -07:00
Sam Lantinga
6f968d9e3f Tagging version before everything gets ripped out. 2010-05-09 17:00:56 -07:00
Sam Lantinga
861f7cd38a Make the compiler even happier pre-touch-removal 2010-05-09 16:16:11 -07:00
Sam Lantinga
1b3a6fb5b7 Make sure events are current before flushing them. 2010-05-09 16:15:14 -07:00
Sam Lantinga
29596b2204 Added missing header 2010-05-09 15:47:21 -07:00
Sam Lantinga
0b0a5e0be5 Removed unused variables 2010-05-09 15:46:19 -07:00
Sam Lantinga
69b841b3e3 Fixed compiler warnings 2010-05-09 15:33:10 -07:00
Sam Lantinga
a5bb8cf382 Fixed variable use before initialize warnings 2010-05-09 15:24:31 -07:00
Sam Lantinga
3b0aa4bb4c Removed unused variables 2010-05-09 15:24:05 -07:00
Sam Lantinga
fb9e73dd09 Fixed Eric's changes to allow building from the command line. 2010-05-09 10:00:33 -07:00
Sam Lantinga
98918d160e Updated with the SDL 1.3 list of supported operating systems 2010-05-09 09:53:57 -07:00
Eric Wing
f4b7b16da7 Updated Mac Xcode project for refactored rwops automated test changes. 2010-05-09 07:00:28 -07:00
Eric Wing
f0650b31dc Refactored automated rwops tests so read and write directories can be more easily customized.
The refactored tests were written in recognition that Mac and iPhone current working directories are usually not going to work. Resource directories are in bundles and write directories are restricted to certain areas. In theory, other platforms may have this problem too, hence the refactoring.

Also updated the Xcode iPhone project to use 3.2 as the Base SDK, but 3.1 as the Deployment SDK (for iPhone/iPad compatibility.)
2010-05-09 06:58:30 -07:00
Eric Wing
ef6951c458 Fixes to automated test target for iPhone Xcode project.
Looks like there is a problem with the source code base. UIScreenMode and possibly a few other 3.2 only APIs have crept in. 3.2 is only available for iPad, and not iPhone/iPod Touch.
2010-05-08 08:23:46 -07:00
Eric Wing
95b8bdedff Exempted writable modes from bundle check on OS X since bundle areas are typically read-only. 2010-05-08 04:52:17 -07:00
Eric Wing
36478c7ce3 Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
I haven't updated yet to the 3.2 SDK so SDL no longer builds for me so I can't yet verify if the new target completely works.
2010-05-08 01:12:55 -07:00