Commit Graph

2766 Commits

Author SHA1 Message Date
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
pelya
3ea94d2ba2 Yay, OpenGL is working! Updated readme. 2010-05-17 18:52:14 +03:00
pelya
a2b164f268 Yay, it's working! Now I'll test OpenGL 2010-05-17 18:45:27 +03:00
pelya
4059cb46f1 THIS REVISION WILL NOT RUN! Added an own implementation of GLSurfaceView to launch native main() code from it. 2010-05-17 18:39:02 +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
21afcf1fee Added some code to support SDL+OpenGL 2010-05-13 17:36:38 +03:00
pelya
78f1ef2073 Oops, forgot to change Java part 2010-05-13 17:25:22 +03:00
pelya
231e487212 Removed deprecated code 2010-05-13 16:01:53 +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
2adcc9b8d8 More readme updates 2010-05-12 16:03:28 +03:00
pelya
62dfd15f2b Removed outdated instructions from readme 2010-05-12 14:08:01 +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
2f484609dd Fixed ChangeAppsettings script 2010-05-07 13:25:25 +03:00
pelya
74f436776c Updated Alien Blaster screen resolution, as top bar is hidden now 2010-05-07 12:37:20 +03:00
pelya
eaf175688e First untested version of ChangeAppSettings script. 2010-05-07 12:36:19 +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
pelya
bd017bb179 Added missing includes in global header 2010-05-06 15:00:04 +03:00
pelya
9ed0bc6f9b Made SDL window fullscreen, without nasty topbar 2010-05-06 14:59:24 +03:00
pelya
3f29279c18 Small update to readme.txt 2010-04-22 15:35:28 +03:00
pelya
cb8dc5244a Fix for libtremor endianness 2010-04-22 13:33:43 +03:00
pelya
3d2be5cd30 Updated readme.txt 2010-04-22 13:21:37 +03:00
pelya
2667bc5b11 Reverted the game itself to 320x430 2010-02-18 19:16:13 +02:00
pelya
9d2ff4866f More tweaks to screen scrolling 2010-02-18 19:09:35 +02:00
pelya
0eb8918905 Added 640x480 virtual screen support scrolled via accelerometer 2010-02-18 19:02:17 +02:00
pelya
bd33c4b4dc Fixed memcpy bug reported by FireSlash 2010-02-10 17:52:27 +02:00
pelya
9c22af0d63 User can abort app while it's downloading data 2009-12-11 13:46:45 +02:00
pelya
865e4f619b Small fix for crashing, made audio to use Java byte array instead of copying bytes,
and made it to use array size returned from Java - seems to add latency to the audio
2009-12-10 16:34:51 +02:00
pelya
01cefc754c Added downloading app data from net on first run 2009-12-09 15:47:17 +02:00
pelya
a33a375ca5 Removed lot of debug output 2009-12-09 11:09:48 +02:00