Commit Graph
240 Commits
Author SHA1 Message Date
D G Turner 51cb755726 ANDROID: Really fix compilation.
The vanilla android toolchain even is unhappy when unknown folders are
present in the resources directory, so have moved the ouya specific
resources out to another directory.
2013-10-09 23:26:58 +01:00
D G Turner 2648062dcf ANDROID: Fix compilation.
The aapt throws an "invalid resource directory name" if the
resource directory name is not known to the tools. Unfortunately,
"values-television" is an OUYA specific addition and thus breaks
with the standard vanilla Android toolchain.
2013-10-09 06:53:53 +01:00
David Turner d4d90b3f07 Merge pull request #372 from zeldin/ouya
Basic OUYA support
2013-10-08 18:26:49 -07:00
Marcus Comstedt 7a1ffe8c59 ANDROID: Add some margins when screen is a TV 2013-08-18 15:21:18 +02:00
Marcus Comstedt bb39cbcba4 ANDROID: Enter main menu on middle mouse press 2013-08-08 15:16:06 +02:00
Marcus Comstedt a50ede203b ANDROID: Add support for joystick motion 2013-08-08 14:53:36 +02:00
Marcus Comstedt 1b69f8aede ANDROID: Add gamepad button support 2013-08-08 14:08:30 +02:00
Marcus Comstedt 9a888ed1c8 ANDROID: Add OUYA icon and intent 2013-08-07 17:19:24 +02:00
Johannes Schickel d9b90d67d3 ANDROID: Do not access Surface::pixels directly. 2013-08-06 03:51:12 +02:00
Eugene Sandulenko 49210a803a Merge pull request #331 from sev-/gsoc2012-eventsrecorder
GSoC2012: Event Recorder (reworked)
2013-07-04 04:58:54 -07:00
Eugene Sandulenko f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Alyssa Milburn 400763390e ANDROID: Disable parachute slot 0 saves. 2013-05-16 13:01:32 +02:00
Alyssa Milburn 8d488f9f70 ANDROID: Force htc_fail for all Android devices, for now. 2013-05-16 12:57:21 +02:00
Alyssa Milburn c96b75e1f7 ANDROID: Ignore subdirectories of asset archives. 2013-05-16 12:56:41 +02:00
Alyssa Milburn 89d9a624d9 ANDROID: Delete local JNI references to asset data/classes. 2013-05-16 12:55:06 +02:00
D G Turner 21ea60f604 ANDROID: Minor fixes to build-specific makefile.
This fixes two minor issues when trying to cross-compile to Android on
Win32 using the Win32 Android SDK/NDK and MinGW shell.

However, this is still no working as DX and APKBUILDER are batch files
in the Win32 SDK (which then call the real Java tools) and these fail
to run in shell. However, using "cmd /C" also fails as the paths in the
parameters have unix, rather than native separators. Unsure how to fix.
2012-12-28 00:54:00 +00:00
D G Turner 0e5bfb66f0 ANDROID: Remove parameter forcing use of Modern theme.
This parameter overrides any user choice in the GUI or config file,
which is not good UX design (and is making it hard to debug loading
issues associated with theme files).

If we want to set this to default to Modern, we should do this in
a different way i.e. do this by ConfMan.loadDefaultConfigFile()

This is probably related to the Android issue with the backend init
running before main() is called, rather than after...
2012-12-24 16:45:49 +00:00
Lauri Härsilä fc15e1c207 ANDROID: Fixed tapping touchpad not sending left clicks 2012-10-21 06:29:36 +03:00
Lauri Härsilä 2109317564 ANDROID: Mouse and stylus support
From pull request #285.
2012-10-19 22:50:09 +02:00
Alyssa Milburn 9c561c0287 ANDROID: Remove unused GL_OES_draw_texture code. 2012-08-15 10:00:51 +02:00
Johannes Schickel 2d92259b70 Merge pull request #235 from tobigun/android-theme
ANDROID: disable compression for zip-file assets
2012-07-06 13:19:00 -07:00
Johannes Schickel 0a26f7084f ANDROID: Fix compilation broken with changes to grabOverlay. 2012-06-20 17:31:10 +02:00
Johannes Schickel 4fb9bceabc Merge pull request #246 from lordhoto/osystem-void-buffers
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-20 08:02:26 -07:00
Johannes Schickel aec9b9e22a ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +02:00
Johannes Schickel d27d951d0b BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16 03:28:42 +02:00
Johannes Schickel 31880186e1 BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte *" as buffer.
This removes the need to convert the parameter to copyRectToScreen to
"const byte *", which is commonly used in games, which use Graphics::Surface
to store their graphics data.
2012-06-16 02:18:01 +02:00
Matthew Hoops b2f5721e58 COMMON: Add tm_wday to our TimeDate struct
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2012-06-09 20:21:48 -04:00
Johannes Schickel a401f0a19e ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
All uses of the old target scale API actually wanted to disallow scaling of
the mouse cursor. This commit adapts our API to this and thus simplifies
backend implementations.

Some backends, most notable the Wii and Android, did some implementation of
the cursor target scale, which I didn't adapt yet. I added a TODO for the
porters there.
2012-06-03 02:02:57 +02:00
Tobias Gunkel 201336367b ANDROID: disable compression for zip-file assets and recompress uncompressed zip-files before adding them as assets to the apk 2012-04-29 17:23:07 +02:00
Tarek Soliman 6afac4e01e KEYMAPPER: Rename HardwareKey to HardwareInput 2012-02-27 13:00:56 -06:00
Tarek Soliman aa42d78658 KEYMAPPER: Remove automapping dead code 2012-02-21 08:20:40 -06:00
Tarek Soliman edc5249772 JANITORIAL: Fix template definition whitespace 2012-02-10 21:17:27 -06:00
Alyssa Milburn 4763b2c51b ANDROID: Add faked input delay.
This adds an artificial delay for mouse up events to make engines
like Gob work, similar to the iPhone fix in b3062b5e.
2012-02-03 12:36:03 +01:00
Tarek Soliman d143872be6 KEYMAPPER: Constantify global keymap name 2012-01-07 21:20:29 -06:00
Alyssa Milburn c780b58e88 ANDROID: Fix assert in JavaInputStream (thanks clone2727). 2011-12-13 18:44:58 +01:00
Alyssa Milburn 6c790ea6a7 ANDROID: Fix compilation by adapting to latest Archive changes (thanks LordHoto). 2011-12-13 18:37:33 +01:00
Johannes Schickel 61795739f8 COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
Alyssa Milburn dc649a13a7 ANDROID: Actually create the savegame directory.
Not sure how this went missing from the commit.
(cherry picked from commit fed26146a8)
2011-10-28 12:11:50 +02:00
Alyssa Milburn 764ffff578 ANDROID: Match versions when checking for plugins. 2011-10-25 23:08:29 +02:00
Alyssa Milburn 80e55c5e78 ANDROID: Point the default savepath to external storage.
(If that fails, fall back to a readable app-specific directory.)
2011-10-25 23:04:42 +02:00
Alyssa Milburn 44b7f3aed5 ANDROID: Move from org.inodes.gus to org.scummvm. 2011-10-25 21:18:42 +02:00
Alyssa Milburn ff3f4d9493 ANDROID: Fix plugins on Android 3.1+.
Android 3.1 changed the default behaviour for broadcasts so that it
doens't wake up non-running receivers, so we need to override that.
2011-10-22 20:45:15 +02:00
Alyssa Milburn c382c0c195 ANDROID: Delete _timerManager in OSystem_Android's destructor.
If we leave it for OSystem, the DefaultTimerManager destructor tries
constructing a StackLock which, predictably, calls a pure virtual
function, because OSystem_Android's destructor is finished.
2011-10-21 14:28:02 +02:00
Christoph Mallon 23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Littleboy eecd61e33d ANDROID: Allow use of abort() in JNI class 2011-06-23 11:31:54 -04:00
Alyssa Milburn 0d025153e0 ANDROID: Fix kFeatureCursorPalette. 2011-06-18 10:30:21 +02:00
Max Horn fce7f90a94 BACKENDS: Shuffle backends class hierarchy and module initialization 2011-06-08 14:29:22 +02:00
Max Horn 896e7e23b4 ANDROID: Use OSystem's 'slots' for timer/savefile manager & fsfactory 2011-06-07 14:57:56 +02:00
Max Horn afb06b51cc BACKENDS: Unify AudioCD manager instantiation 2011-06-06 15:02:33 +02:00
Alyssa Milburn 6842227ac2 COMMON: Add kInfo LogMessageType. 2011-06-06 12:26:01 +02:00