Commit Graph

297 Commits

Author SHA1 Message Date
pelya 616cc0b5fd Data downloader will check if the saved URL in libsdl-DownloadFinished.flag is not the same as compiled-in,
and re-download the data, tu support application self-updating.
2010-07-06 13:55:29 +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 ee1dde5745 Oops 2010-06-17 19:12:00 +03:00
pelya ef092dd6e4 Fixed small bug in glxgears 2010-06-17 19:10:40 +03:00
pelya e032f7d592 Fixed an error in GLSurfaceView - now GLXGears work okay in both 1.6 and 2.1, however Alien Blaster still crashes 2010-06-17 19:09:15 +03:00
pelya 58926b8c02 Copied GLSurfaceView from Android 1.6 - now it works with 1.6 but fails with 2.1 2010-06-16 19:24:14 +03:00
pelya 09afe74eed Fixed horizontal screen orientation + resizing 2010-06-11 15:48:24 +03:00
pelya 0cc3384649 Reverted to vertical screen layout - horizontal layout still takes only half of screen for unknown reasons 2010-06-10 18:59:08 +03:00
pelya 80a6d34cd3 Fixed crash introduced by my prev commit 2010-06-10 18:56:52 +03:00
pelya a2a899eecf More cosmetics 2010-06-10 18:54:22 +03:00
pelya 2010c62093 Cosmetics 2010-06-10 18:52:00 +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 9f97bccd10 Support for initializing video/audio in static constructors before main() 2010-06-07 17:20:50 +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
pelya 41764f0f51 Updated readme 2010-05-21 15:25:49 +03:00
pelya 308363c0de Fixed default key layout in datafile for new SDL 1.3 keycodes 2010-05-21 15:18:50 +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 96f845c824 Use accelerometer as arrow keys - not tested yet, added debug to input routines 2010-05-21 13:15:29 +03:00
pelya 0775db00bd Audio works somehow, but input does not 2010-05-20 19:04:08 +03:00
pelya fe9c56ce2f Fixed R and B channels swapped in pixelformat 2010-05-20 18:47:07 +03:00
pelya 16efa9e976 More debug to data downloader - it suddenly started to misbehave after I've increased buffer size 2010-05-20 18:37:42 +03:00
pelya 8b5b153c8b Fixed video init 2010-05-20 18:37:11 +03:00
pelya 62751ef86c Added Alien Blaster data file 2010-05-20 18:36:05 +03:00
pelya b752d4798d Fixed audio 2010-05-20 18:10:15 +03:00
pelya d08a2b4fb4 Data downloader shows progress in percent 2010-05-20 17:04:32 +03:00
pelya d5ef1dd54e Forgot to add libsdl_ttf to Java LoadLibrary() part 2010-05-20 16:52:30 +03:00
pelya a438062904 Added .gitignore 2010-05-20 14:41:52 +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 8a99fbb7f8 Updated readme 2010-05-18 13:09:18 +03:00
pelya 33603d201d Small fix to ChangeAppSettings.sh 2010-05-18 12:06:15 +03:00
pelya e35a119c3a Oops, forgot to update activity name in manifest 2010-05-18 11:28:46 +03:00
pelya b973f29b35 Splitted Java sources to many small files, fixed tabulation, splitted input source file from video in libSDL. 2010-05-18 11:14:30 +03:00