Commit Graph
6575 Commits
Author SHA1 Message Date
dhewg 90f47c7b1d ANDOID: Replace mkmanifest.pl with sh/sed code
Removes build dependencies like perl and its XML modules
2011-04-09 18:39:35 +02:00
dhewg 4f09018b00 ANDROID: Allow linear texture filtering on the cursor 2011-04-06 21:15:15 +02:00
dhewg a565e63c48 ANDROID: Add multitouch support 2011-04-06 18:27:15 +02:00
dhewg b45640c47b ANDROID: Fix off-by-one when clipping mouse coords 2011-04-06 15:21:31 +02:00
dhewg 430c462031 Revert "ANDROID: Temporarily enable GL error checks"
This reverts commit 1c8fc05388.

Commit d50e7af7 confirmed as fix, so it wasn't a GL issue at all
2011-04-06 11:31:20 +02:00
dhewg 811b1fcc2a ANDROID: Use the manufacturer string for workarounds
Some fingerprints don't contain it, so this should be more reliable.
2011-04-05 19:10:35 +02:00
dhewg 507bff8233 ANDROID: Log device manufacturer, model and brand 2011-04-05 19:06:59 +02:00
dhewg d50e7af797 ANDROID: Fix endless loop in AndroidAssetArchive
Can happen on empty member filenames, seen on some Samsung firmwares.
2011-04-05 18:25:37 +02:00
dhewg 0adfe72966 ANDROID: Remove commented workarounds for Nexus 1
Reports suggest that its working and not required
2011-04-05 15:16:07 +02:00
dhewg 4440aa4310 ANDROID: Remove code for paletted textures
Unused now, because the performance isn't good enough on weak GLES
drivers.
2011-04-05 15:09:46 +02:00
dhewg ea253ff26d ANDROID: Use a faked paletted texture for CLUT cursors
Same change as for the game screen, reduces CPU usage a little
2011-04-05 15:07:07 +02:00
dhewg 1c8fc05388 ANDROID: Temporarily enable GL error checks
There's a black screen issue on Samsung devices running 2.2.1 which I
can not reproduce. Hopefully this helps hunting it down.
2011-04-05 13:57:09 +02:00
Alyssa Milburn 449e9cf339 ANDROID: Fix non-fullscreen corruption on HTC devices.
HTC's drivers don't preserve the color buffer between frames (as allowed
by the spec, apparently), so we have to force-clear it every frame when
we're not rendering a texture over the whole screen.
2011-04-04 12:23:12 +02:00
dhewg ea4223d941 ANDROID: Always use the surface size for the overlay
When coming back from standby, there might be an indermediate surface
change
2011-04-03 20:34:24 +02:00
dhewg fba1c6360c ANDROID: Ignore unrelated surface changes 2011-04-03 20:34:19 +02:00
dhewg 1692605b08 ANDROID: Helper define to debug hanging GLES calls 2011-04-03 20:34:14 +02:00
dhewg 801f576f9c ANDROID: Log the ScummVM version 2011-04-03 16:39:56 +02:00
dhewg bceab2656b ANDROID: Attempt at working around some HTC fail 2011-04-02 13:32:03 +02:00
dhewg dd1c52fd82 ANDROID: Map right click to Camera/Search 2011-03-30 23:39:34 +02:00
dhewg d83a83ef50 JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29 21:57:56 +02:00
dhewg 68908773ac ANDROID: Use 'our' ASCII codes for special keys
Fixes stuff like enter key on SCI games with text input
2011-03-25 19:52:33 +01:00
Max Horn 0c09dafdbb Merge branch 'copysavefile' of https://github.com/Littleboy/scummvm into Littleboy-copysavefile 2011-03-25 15:02:33 +01:00
dhewg b4a6c89662 ANDROID: Always set the surface properties
Didn't happen on the shortcut, which led to wrong properties and
surface functions scribbling over memory
2011-03-25 00:41:01 +01:00
Littleboy 5a1874e3d9 COMMON: Add SaveFileManager::copySavefile() and update SaveFileManager::renameSavefile() to use it 2011-03-24 18:51:58 -04:00
David-John Willis b9e4d77ade GPH: Removed some unimplemented and unneeded definitions.
- Thanks to digitall for proving that 2 sets of eyes spot a really simple
   problem much quicker than one set ;).

mount.sh: Fixed some small errors#	../../../../scummvm.gph
2011-03-24 22:43:12 +00:00
David-John Willis b95013dfe2 OPENPANDORA: Refactor OpenPandora backend and move events and graphics into modular backend style. 2011-03-24 21:24:05 +00:00
David-John Willis 0fb15847c6 SDL/POSIX: Update main guard to add OpenPandora.
- Also mention GPH_DEVICE not each backend on it's own.
2011-03-24 21:24:05 +00:00
David-John Willis 16e28747c7 BACKENDS: Add GPH event and graphics files to the build. 2011-03-24 21:24:05 +00:00
David-John Willis cf8dcf4549 GPH: Cleanup GPH backend and adapt to newer modular backend model. 2011-03-24 21:24:05 +00:00
David-John Willis 973e3e827e GP2X: Remove incorrect GP2XWiz define from the GP2X event code.
* My plan is to move all of the GPH devices into the GPH backend
  but for now this is just a merge mess from the GSoC-OpenGL branch.
2011-03-24 21:24:04 +00:00
dhewg 19c407ca69 ANDROID: Fix texture double release 2011-03-24 22:04:03 +01:00
dhewg e6080087c8 ANDROID: Fix cursor's keycolor
Don't wipe the RGB bits, fixes wrong colors on BASS cursors
2011-03-24 18:56:59 +01:00
dhewg 397fd31a17 ANDROID: Cleanup 2011-03-24 18:56:54 +01:00
Max Horn 8982fff1b7 AUDIO: Add pure virtual MidiDriver::isOpen() method
This in turn enables modifying MidiDriver_MPU401::close() to allow
it to be called on a midi driver that has not yet been opened.

The specific issue that triggered me to make these changes was a
crash-upon-quit in HUGO, caused by it instantiating a midi driver,
then encountering an error (missing hugo.dat) *before* having
opened the new midi driver; the general cleanup code then tries
to close the (not yet opened) midi driver -> kaboom

Also fixed some engines which were leaking MidiDriver instances.
2011-03-22 23:51:47 +01:00
dhewg 5f96dc6867 ANDROID: Fix timer frequency to match SDL 2011-03-22 21:02:42 +01:00
dhewg 18d9654ca2 TIMER: Cleanup 2011-03-22 21:02:41 +01:00
Johannes Schickel c064fa5c5b OPENGL: Fix mouse cursor position in Normal mode when AR is enabled. 2011-03-21 00:43:16 +01:00
Johannes Schickel 33cf1f8f59 OPENGL: Get rid of unused switchDisplayMode. 2011-03-20 17:30:23 +01:00
Johannes Schickel 6502e191b9 OPENGL: Handle aspect ratio correction as flag instead of having a special mode for it.
This partly fixes the OpenGL mode mess, but now OpenGL Normal and OpenGL
Conserve will feature the same semantics when aspect ratio correction is
enabled... That is still something to solve.
2011-03-20 17:29:08 +01:00
dhewg c77e7f75a6 ANDROID: Trust ASCII kbd codes on unknown keys 2011-03-20 13:29:21 +01:00
dhewg 0e9af50d48 ANDROID: Add port specific README
First version, just describing the controls and related hacks
2011-03-19 19:52:01 +01:00
dhewg 0d9a852f46 ANDROID: Implement OSystem::getSystemLanguage() 2011-03-19 12:36:27 +01:00
dhewg 69e271225f ANDROID: Log some system properties 2011-03-19 12:17:43 +01:00
dhewg 2def212de7 ALL: s/PI/M_PI/
Tip of the day: git grep -w PI
2011-03-19 11:24:06 +01:00
md5 a4c05b1632 Fixed compilation of the N64 port 2011-03-19 04:01:28 +02:00
dhewg 3e3619feb8 ANDROID: Cleanup 2011-03-18 22:14:54 +01:00
dhewg e056bfca9c ANDROID: Seperate DPAD codes 2011-03-18 21:53:25 +01:00
dhewg b721547213 ANDROID: Implement trackball click 2011-03-18 21:53:25 +01:00
dhewg 47e9db8fdf ANDROID: Fix KeyEvent NullPointerException
Could happen with some special symbols from the virtual keyboard
2011-03-17 22:02:17 +01:00
Johannes Schickel 8ab136dafb OPENGL: Fix screenshots when the display width is not divisible by 4. 2011-03-17 21:20:20 +01:00