Commit Graph

4414 Commits

Author SHA1 Message Date
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
Johannes Schickel
83c638ad02 OPENGL: Setup the correct header size for BMP screenshots.
This fixes an color bug in the resulting screenshots.
2011-03-17 21:20:20 +01:00
Johannes Schickel
8d35d91bdf OPENGL: Cleanup switchDisplayMode. 2011-03-17 21:20:20 +01:00
Johannes Schickel
f490e6f361 OPENGLSDL: More refactoring to avoid direct access of OpenGlGraphicsManager's members. 2011-03-17 21:20:20 +01:00
Johannes Schickel
83b199e921 OPENGL: Move setFullscreenMode to OpenGLGraphicsManager. 2011-03-17 21:20:20 +01:00
Johannes Schickel
8d87a460b0 OPENGLSDL: Handle active fullscreen mode OPENGLSDL internal. 2011-03-17 21:20:20 +01:00
Johannes Schickel
c9f6136110 OPENGLSDL: Cleanup. 2011-03-17 21:20:20 +01:00
Johannes Schickel
daf6050d7c OPENGL: Make setScale non-virtual. 2011-03-17 21:20:20 +01:00
dhewg
0eb5352290 ANDROID: Increase default touchpad mode scale
aka my display is bigger than yours
2011-03-17 21:01:49 +01:00
dhewg
8953581ec9 ANDROID: Ignore the slop area on all touch scrolls
Prevents initial cursor jumps
2011-03-17 21:01:49 +01:00
Johannes Schickel
758aa78acc OPENGL: Get rid of _aspectRatioCorrection. 2011-03-17 19:55:06 +01:00
Johannes Schickel
96979f73fc OPENGL: Slight refactoring.
First step into making all state variables of the OpenGL backend private, to
help making the backend more maintainable, by disallowing subclasses to just
mess with everything...
2011-03-17 19:55:06 +01:00