Commit Graph
209 Commits
Author SHA1 Message Date
Johannes Schickel 723a38c699 IPHONE: Rename screen related buffers a bit. 2012-02-20 00:35:14 +01:00
Johannes Schickel 93d80793b4 IPHONE: Implement cursor visibility change again. 2012-02-20 00:29:08 +01:00
Johannes Schickel 438bc50115 IPHONE: Fix cursor hotspots. 2012-02-20 00:25:48 +01:00
Johannes Schickel 68bbe973bd IPHONE: Always use the mouse texture.
Formerly the mouse texture was only used when the overlay was visible. When
only the game screen was visible, the code rendered the mouse cursor on the
game screen texture.

This simplifies the drawing pipeline a bit.
2012-02-20 00:08:42 +01:00
Johannes Schickel 87d85a7b20 IPHONE: Use the proper RGBA5551 palette for the mouse cursor.
Formerly the overlay cursor was using a RGB565 palette, even though the
texture is really set up as RGBA5551.
2012-02-19 22:19:38 +01:00
Johannes Schickel ceae3dd191 IPHONE: Rename _palette to _gamePalette. 2012-02-19 22:16:38 +01:00
Johannes Schickel 6a31dadfea IPHONE: Use include instead of import for all of our headers. 2012-02-19 22:10:08 +01:00
Johannes Schickel 13358c541d IPHONE: Add include guards. 2012-02-19 21:44:37 +01:00
Johannes Schickel 3d0316ccd2 IPHONE: Formatting fixes. 2012-02-19 21:30:53 +01:00
Johannes Schickel 4244663020 IPHONE: Remove dead code. 2012-02-19 20:33:53 +01:00
Johannes Schickel ab4420b3ca IPHONE: Take advantage of Common::EVENT_INVALID. 2012-02-19 05:21:17 +01:00
Johannes Schickel ffaa8612c3 IPHONE: Change F5 (menu) gesture to open up the GMM.
Thanks to tsoliman for this patch.
2012-02-19 05:21:10 +01:00
Tarek Soliman a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Christoph Mallon 23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Max Horn c06ddf2e57 IPHONE: Add logMessage() implementation 2011-06-17 20:50:37 +02:00
Thierry Crozat 06bbb57ad7 I18N: Make many more GUI MessageDialog strings translatable 2011-06-13 22:19:18 +01:00
Max Horn fce7f90a94 BACKENDS: Shuffle backends class hierarchy and module initialization 2011-06-08 14:29:22 +02:00
Max Horn 0a0c6ac07d IPHONE: Use OSystem's _fsFactory slot 2011-06-07 14:57:59 +02:00
Max Horn 14f0a0c682 IPHONE: Use OSystem's 'slots' for timer/savefile manager 2011-06-07 14:57:57 +02:00
Sven Hesse 7ea4583d2f IPHONE: Fix a typo, fix compilation (hopefully) 2011-06-07 01:43:48 +02:00
Max Horn c847522422 BACKENDS: Add OSystem::getDefaultConfigFileName
This is used to provide default implementations for createConfigWriteStream
and createConfigReadStream, which can be used by most backends.

Note that backends can still override createConfigRead/WriteStream;
this could be useful if settings on some port are not stored in a
regular file (think 'Windows registry', for a hypothetical example).
2011-06-06 15:30:21 +02:00
Max Horn afb06b51cc BACKENDS: Unify AudioCD manager instantiation 2011-06-06 15:02:33 +02:00
Oystein Eftevaag 1d3be279fc IPHONE: Fixed a COMI crash and some minor gfx glitches 2011-06-05 00:03:15 -04:00
Oystein Eftevaag 5a3aa7a994 IPHONE: Fixed mouse position when the overlay is visible 2011-05-15 21:47:11 -04:00
Oystein Eftevaag b3062b5e7e IPHONE: Changed the iOS queued event handling to fix mouseclicks in Gob
We now delay the mouseup events for 50ms, rather than just delaying them for an additional couple of pollEvent (which doesn't work anymore due to changes in the eventhandling code elsewhere). This fixes #3018512.
2011-05-15 18:04:36 -04:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel 71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Ori Avtalion 4d485fc741 BACKENDS: Fix compilation for various backends
Affects:
* PS2
* GPH
* ELF
* MOTO
* IPHONE
* N64
* DINGUX
* WINCE
* PSP
2011-04-28 23:24:06 +03:00
Johannes Schickel da734a4af0 ALL/GRAPHICS: Remove Surface::bytesPerPixel. 2011-04-17 21:27:34 +02:00
Johannes Schickel 877004dbdd BACKENDS: Adapt various backends code to set up Surface::format correctly.
Note that this change is not tested at all (not even compile wise!).
2011-04-17 21:14:19 +02:00
Max Horn 84184aabc0 ALL: colour -> color 2011-04-14 14:12:35 +02:00
Johannes Schickel c9a9f7b48f IPHONE: Remove erroneous write in OSystem_IPHONE::grabPalette.
Thanks to dhewg for reporting this!
2011-02-16 00:44:14 +01:00
Johannes Schickel 3c968128ea IPHONE: Adapt to setPalette/grabPalette RGBA->RGB change.
This change is not tested, but should hopefully work fine.
2011-02-15 23:57:10 +01:00
Max Horn 42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
David Turner cf39749dcb IPHONE: Fix Unsigned to Signed Comparison Compiler Warning.
svn-id: r55743
2011-02-02 22:26:05 +00:00
Max Horn 2e4cedd98a IPHONE: Enable use of forbidden symbols
svn-id: r53971
2010-10-31 00:04:24 +00:00
Jordi Vilalta Prat 8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00
Oystein Eftevaag ab01f42a4b IPHONE: The overlay will now always be in the native device resolution
svn-id: r52939
2010-09-29 00:19:13 +00:00
Yotam Barnoy 0db8427f46 iPhone: changed GL_NEAREST to GL_LINEAR in miniaturization filter as per forum post 29/7/10
svn-id: r51567
2010-08-01 07:15:43 +00:00
Max Horn d22ebd358d BUILD: Unify how MODULE_DIRS is computed for backends
This should help avoid situations where MODULE_DIRS is not set to a
complete list of build dirs (which causes troubles with the automatic
header dependency detection logic).

On the long run, we should replace the relevant code by a macro or also
use rules.mk for this (with yet another if/else case add to it).

svn-id: r51467
2010-07-29 13:03:21 +00:00
Eugene Sandulenko d6d7cf3edf IPhone: sync with recent GUI changes. NOT TESTED.
svn-id: r49792
2010-06-15 11:00:57 +00:00
Oystein Eftevaag 90649938d2 We'll now default to non-touchpad mode on the iPad
svn-id: r49403
2010-06-03 03:22:10 +00:00
Max Horn 9f14e43d16 Fix bug #2999153: "IPHONE: No grabPalette() implementation"
svn-id: r49384
2010-06-01 22:29:55 +00:00
Oystein Eftevaag 0d83045b5f Updated XCode project
svn-id: r48479
2010-04-03 00:44:38 +00:00
Max Horn 9b837d66d4 Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the MixerImpl constructor
svn-id: r48238
2010-03-11 23:39:51 +00:00
Max Horn c97ee14a65 Remove last traces of OSystem::getOutputSampleRate()
svn-id: r48229
2010-03-10 21:01:44 +00:00
Johannes Schickel aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn 42120ed626 Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
svn-id: r44793
2009-10-08 19:41:38 +00:00
Max Horn 8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00