Commit Graph

42 Commits

Author SHA1 Message Date
pelya
90b098c2c3 Added some support for multitouch events, it's still not working 2010-07-29 16:12:58 +03:00
pelya
0950723da0 More settings for application in ChangeAppSettings.sh 2010-07-29 14:49:16 +03:00
pelya
eda66c6d45 THIS REVISION WILL NOT WORK! Compiled and linked SDL_renderer_gles.c into SDL 1.2 lib, no code was added to actually use it. ifdef overkill, yay! 2010-07-26 18:24:57 +03:00
pelya
d5b27e5441 Added Jooleem sources (I've changed them too much from the original, have to publish them to conform with LGPL) 2010-07-26 15:25:35 +03:00
pelya
8876c75849 Added limited support for "configure"-like scripts 2010-07-22 15:33:19 +03:00
pelya
6c2f60ec2b Fixed GLXGears to work with SDL 1.2 2010-07-22 13:53:33 +03:00
pelya
1e20b02f1c Updated SDL 1.3 to rev. 4563, fixed compilation 2010-07-22 11:55:12 +03:00
pelya
58b0feff64 Added CFLAGS option to ChangeAppSettings.shr, renamed Alien Blaster to separate dir and created symlink to it 2010-07-22 11:13:32 +03:00
pelya
a4cceee6db Fixed makefiles 2010-07-22 10:59:08 +03:00
pelya
a2cecdf9f4 SDL 1.2 now works in SW mode, though it's really slow (that was Alien Blaster drawing to wrong surface) 2010-07-21 16:46:27 +03:00
pelya
9f8dde30fc Fixed alpha surfaces in Alien Blaster 2010-07-21 12:16:04 +03:00
pelya
e43e527eab Fixed buggy video surface erasing in Alien Blaster (why SDL_FillRect() fails anyway?) 2010-07-12 17:00:43 +03:00
pelya
dccefe2ce3 GLES supports per-texture alpha perfectly, it was the bug in Alien Blaster that prevented nuke to be drawn correctly 2010-07-12 15:36:51 +03:00
pelya
2c815708a9 SetAlphaMod is not supported by GLES renderer, fixed surface image 2010-07-09 19:10:45 +03:00
pelya
d63f1ae92e Fixed nuke effect 2010-07-09 18:58:47 +03:00
pelya
cad2c8ff2a Final fix to accelerometer input 2010-07-09 18:50:43 +03:00
pelya
db8de81f7c More fixes to key config 2010-07-09 18:19:09 +03:00
pelya
e901c4971e Fixed more in-game keys 2010-07-09 17:36:50 +03:00
pelya
362c83b759 Fixed Alien Blaster textures out of place 2010-07-09 16:24:05 +03:00
pelya
30776b9bd1 Fixed compilation 2010-07-08 18:40:39 +03:00
pelya
99698187cf True HW acceleration for Alien Blaster - it now runs 45 FPS on ADP1,
and 30 FPS on HTC Evo (it could run faster but they limited max FPS in GL renderer).
See file SdlForwardCompat.h to have an idea how to make your SDL 1.2 app HW accelerated with SDL 1.3 -
it's a compilation of hacks but whatever.
2010-07-06 13:57:58 +03:00
pelya
2b2248f27f TOTALLY STUPID BUG how could I lose 3 days debugging it. SDL is working perfeclty, that was the application crashing which could not load music file. 2010-07-01 18:48:00 +03:00
pelya
09388a7599 Moved to NDK r4 and SDK 2.2, updated readme, still catching the crash in audio output with Android 2.2 - added lot of debug spam 2010-06-25 18:52:45 +03:00
pelya
ef092dd6e4 Fixed small bug in glxgears 2010-06-17 19:10:40 +03:00
pelya
91333e8bd4 Fixed single-threaded audio implementation. Curent code works with Android 2.1 but fails with 1.6. 2010-06-09 15:52:14 +03:00
pelya
3aa634d175 Made audio single-threaded - ITCRASHES nOW, and doesn't work with Android 1.6 2010-06-08 20:09:35 +03:00
pelya
c280a42120 Converted Alien Blaster data to .png and .ogg format, saves 4 Mb 2010-06-08 16:14:17 +03:00
pelya
1b87935b70 Resizing proxy renderer implementation, did not test it yet 2010-06-04 18:56:00 +03:00
pelya
6ff2ef40fe Enabled HW acceleration in the game - it's now much faster 2010-05-21 15:07:46 +03:00
pelya
5778f2aced Fixed GLXgears compilation 2010-05-21 14:22:14 +03:00
pelya
5f6fec3617 Fixed keyboard input not working, fixed accelerometer up/down swapped 2010-05-21 14:13:34 +03:00
pelya
8b5b153c8b Fixed video init 2010-05-20 18:37:11 +03:00
pelya
d8efb80536 Moved to SDL 1.3, it compiles but DOES NOT WORK, audio is disabled 2010-05-20 14:39:14 +03:00
pelya
10b4aa0250 Added sdl_ttf and freetype libs 2010-05-18 16:18:11 +03:00
pelya
cac11c5812 Added glxgears demo to check OpenGL+SDL, but it does not work 2010-05-13 19:26:15 +03:00
pelya
5cfa74a057 Removed debug spam, fixed issue in libstlport - seems that it cannot be linked dynamically because
it has some export symbols with length bigger than 128, and app hangs when trying to access them.
Fortunately libstlport has MIT-like license, so it can be linked to closed-source apps statically.
2010-05-13 14:54:11 +03:00
pelya
94df8e2921 Fixed Alien Blaster not working on simulation - I've added lot of debug spam, it should be removed.
The problem is in the least obvious place - the std::ostringstream output deadlocks for no reason -
see file project/jni/application/src/asstring.h.
The only reason I can think of is that previously I've has one big statically linked library,
and now libstlport and libapplication areseparate shared libraries. But why then all std::vectors etc work?
2010-05-12 19:49:48 +03:00
pelya
a8002c54ee Added SDL_image to application include path, removed Java-specific defines from application makefile 2010-05-11 12:53:35 +03:00
pelya
500d845cc6 Moved NativeInit() to separate sdl_main shared library so libapplication.so won't contain any java-specific code,
added SDL_image, libpng and libjpeg.
2010-05-11 12:50:50 +03:00
pelya
f25dcd7164 Small fix to app resolution - game is not playable currently on Supersonic 2010-05-07 13:30:37 +03:00
pelya
74f436776c Updated Alien Blaster screen resolution, as top bar is hidden now 2010-05-07 12:37:20 +03:00
pelya
24dce42157 Converted all libs from shared to static - it will allow closed-source apps to use LGPL-ed libsdl,
and will solve some cross-referencing problems, like SDL_init called from static constructors.
2010-05-06 18:46:42 +03:00