Commit Graph

87 Commits

Author SHA1 Message Date
pelya a4cceee6db Fixed makefiles 2010-07-22 10:59:08 +03:00
pelya 5684847ca1 Added sdk_net and sdl_blitpool libs, not tried to compile yet 2010-07-22 10:58:21 +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 f72e72272a Removed "always resize" option for screen resizing from ChangeAppSettings.sh, it now equals to "y"
It still leaves part of screen not resized on my widescreen HTC Evo
2010-07-19 18:46:43 +03:00
pelya 784b430996 SDL 1.2 compiles, runs, but does not output anything on screen 2010-07-16 18:55:39 +03:00
pelya d9ba40e397 Moved SDL to separate dir and renamed to sdl-1.3, added symlink to it from src dir 2010-07-13 18:55:59 +03:00
pelya 80aa565a22 Updated Application.mk 2010-07-13 18:31:03 +03:00
pelya 9d796c3983 Removed debug 2010-07-12 17:55:18 +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 2392cd8c54 Another fix for accelerometer 2010-07-12 16:50:35 +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 8ed9d899b4 Updated SDL 1.3 to rev hg-4510 2010-07-12 13:55:55 +03:00
pelya a497f62788 Prevent extra memcpy() if we're updating whole texture in GLES renderer 2010-07-12 12:20:38 +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 fa534f2570 More fixes to accelerometer 2010-07-09 18:19:22 +03:00
pelya db8de81f7c More fixes to key config 2010-07-09 18:19:09 +03:00
pelya 048735ac4a Fixed accelerometer input 2010-07-09 17:43:46 +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 5b3e30e4b7 Disabled libs unnecessary for Alien Blaster 2010-07-08 18:42:04 +03:00
pelya 30776b9bd1 Fixed compilation 2010-07-08 18:40:39 +03:00
pelya 650aca4a3d Added multi-ABI support to ChangeAppSettings.sh, fixed libMAD compilation 2010-07-08 17:47:54 +03:00
pelya 9fdddca0ec Added libMAD, added option to disable some libraries on ChangeAppsettings 2010-07-08 17:00:23 +03:00
pelya 8895adf61e Fixed compilation 2010-07-07 14:03:14 +03:00
pelya bfbde14974 Updated SDL to revision hg-4485 2010-07-06 14:11:13 +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 45085c8641 Always resize screen, even on large screen devices 2010-07-06 11:58:09 +03:00
pelya 1b140cd3f5 Added Android-specific RGBA4444 and RGBA5551 pixel formats 2010-07-06 11:57:21 +03:00
pelya 9327cba2a1 Correct resize algorithm without rounding errors 2010-07-06 11:56:05 +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 cacfd5760f Allow more pixel formats to OpenGL ES renderer 2010-07-01 18:16:31 +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 09afe74eed Fixed horizontal screen orientation + resizing 2010-06-11 15:48:24 +03:00
pelya 80a6d34cd3 Fixed crash introduced by my prev commit 2010-06-10 18:56:52 +03:00
pelya 647d3eefa9 Added two new config options to ChangeAppSettings.sh - disable depth buffer in OpenGL renderer and enable auto screen resizing 2010-06-10 18:49:59 +03:00
pelya b12b52db57 Oops, fixed include 2010-06-10 18:49:15 +03:00
pelya dd853f111c Increase priority for audio thread to prevent warnings and errors about "CPU pegged" 2010-06-10 18:47:50 +03:00
pelya faa64c538c Moved screen resizing from buggy proxy renderer directly to SDL_video.c 2010-06-10 18:46:43 +03:00
pelya 3d66cd911a Fixed audio not playing, it still works only for Android 2.1 - 1.6 fails for unknown reason 2010-06-10 14:19:17 +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 3efc812191 Fixes for Android 1.6 - it still crashes on start 2010-06-08 16:15:22 +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 4fb87d803a Some fies to resizing renderer, it still fails for horizontal screen 2010-06-07 18:36:39 +03:00
pelya 3712818ec4 First working version of auto-resizing SDL renderer, application works with vertical screen but horizontal screen cut by half fo no reason 2010-06-07 16:29:59 +03:00
pelya 1b87935b70 Resizing proxy renderer implementation, did not test it yet 2010-06-04 18:56:00 +03:00