forked from albertz/commandergenius
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Kobo Deluxe (by Lubomyr), updated readme
- Loading branch information
Showing
12 changed files
with
355 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,44 @@ | |||
# The application settings for Android libSDL port | |||
AppSettingVersion=17 | |||
LibSdlVersion=1.2 | |||
AppName="KoboDeluxe" | |||
AppFullName=net.olofson.kobodl | |||
ScreenOrientation=h | |||
InhibitSuspend=y | |||
AppDataDownloadUrl="!Game data1|kobodl-data1.zip^!Game data2|kobodl-data2.zip" | |||
VideoDepthBpp=16 | |||
NeedDepthBuffer=n | |||
NeedStencilBuffer=n | |||
NeedGles2=n | |||
SwVideoMode=y | |||
SdlVideoResize=y | |||
SdlVideoResizeKeepAspect=n | |||
CompatibilityHacks=n | |||
AppUsesMouse=y | |||
AppNeedsTwoButtonMouse=y | |||
ShowMouseCursor=n | |||
ForceRelativeMouseMode=n | |||
AppNeedsArrowKeys=n | |||
AppNeedsTextInput=n | |||
AppUsesJoystick=n | |||
AppHandlesJoystickSensitivity=y | |||
AppUsesMultitouch=n | |||
NonBlockingSwapBuffers=n | |||
RedefinedKeys="SPACE RETURN NO_REMAP NO_REMAP SPACE ESCAPE SPACE" | |||
AppTouchscreenKeyboardKeysAmount=2 | |||
AppTouchscreenKeyboardKeysAmountAutoFire=0 | |||
RedefinedKeysScreenKb="RETURN DOWN" | |||
StartupMenuButtonTimeout=3000 | |||
HiddenMenuOptions='OptionalDownloadConfig MouseConfigMainMenu' | |||
FirstStartMenuOptions='' | |||
MultiABI=n | |||
AppVersionCode=05101 | |||
AppVersionName="0.5.1.01" | |||
ResetSdlConfigForThisVersion=n | |||
CompiledLibraries="jpeg png sdl_image" | |||
CustomBuildScript=y | |||
AppCflags='' | |||
AppLdflags='' | |||
AppSubdirsBuild='' | |||
AppCmdline='' | |||
ReadmeText='^You may press "Home" now - the data will be downloaded in background' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,18 @@ | |||
#!/bin/sh | |||
|
|||
|
|||
LOCAL_PATH=`dirname $0` | |||
LOCAL_PATH=`cd $LOCAL_PATH && pwd` | |||
|
|||
ln -sf libsdl-1.2.so $LOCAL_PATH/../../../obj/local/armeabi/libSDL.so | |||
ln -sf libsdl_image.so $LOCAL_PATH/../../../obj/local/armeabi/libSDL_image.so | |||
|
|||
if [ \! -f KoboDeluxe-0.5.1/configure ] ; then | |||
sh -c "cd KoboDeluxe-0.5.1 && ./autogen.sh" | |||
fi | |||
|
|||
if [ \! -f KoboDeluxe-0.5.1/Makefile ] ; then | |||
../setEnvironment.sh sh -c "cd KoboDeluxe-0.5.1 && env LIBS='-lsdl-1.2 -lsdl_image -lgnustl_static' ./configure --host=arm-linux-androideabi --disable-opengl --without-x" | |||
fi | |||
|
|||
make -C KoboDeluxe-0.5.1 && mv -f KoboDeluxe-0.5.1/kobodl libapplication.so |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
Source code | |||
http://olofson.net/kobodl/download/KoboDeluxe-0.5.1.tar.bz2 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,34 @@ | |||
diff -ru orig/KoboDeluxe-0.5.1/config.sub KoboDeluxe-0.5.1/config.sub | |||
--- orig/KoboDeluxe-0.5.1/config.sub 2003-05-20 21:42:02.000000000 -0400 | |||
+++ KoboDeluxe-0.5.1/config.sub 2011-11-26 13:20:37.000000000 -0500 | |||
@@ -1122,7 +1122,7 @@ | |||
| -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ | |||
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | |||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | |||
- | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | |||
+ | -udi* | -eabi* | -androideabi* | -lites* | -ieee* | -go32* | -aux* \ | |||
| -chorusos* | -chorusrdb* \ | |||
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | |||
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ | |||
|
|||
diff -ru orig/KoboDeluxe-0.5.1/sound/a_midicon.c KoboDeluxe-0.5.1/sound/a_midicon.c | |||
--- orig/KoboDeluxe-0.5.1/sound/a_midicon.c 2003-06-08 14:30:58.000000000 -0400 | |||
+++ KoboDeluxe-0.5.1/sound/a_midicon.c 2011-11-27 07:10:17.000000000 -0500 | |||
@@ -129,7 +129,7 @@ | |||
* Returns the new last key (-1 if none), | |||
* or -2 if there's no change. | |||
*/ | |||
-static inline int __release(unsigned ch, unsigned key) | |||
+static inline int __release2(unsigned ch, unsigned key) | |||
{ | |||
if(m[ch].prev[key] != -1) | |||
m[ch].next[m[ch].prev[key]] = m[ch].next[key]; | |||
@@ -157,7 +157,7 @@ | |||
|
|||
static void midicon_note_off(unsigned ch, unsigned pitch, unsigned vel) | |||
{ | |||
- __release(ch, pitch); | |||
+ __release2(ch, pitch); | |||
(void)ce_stop(channeltab + MIDI_MAP_CH(ch), 0, | |||
(int)pitch, (int)explut[vel]); | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1 @@ | |||
openttd | kobodeluxe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters