Commit graph

49 commits

Author SHA1 Message Date
Johannes Schickel
afd4b82a8a IPHONE: Make includes match our style. 2016-01-07 12:44:48 +01:00
Vincent Bénony
b5ef98637c IOS: Renames a macro 2016-01-07 09:55:56 +01:00
Vincent Bénony
638dc113f8 IOS: Create two targets for old iPhone (iOS <= 6) and new one (iOS >= 7)
The "iphone" backend is the support for the old iPhones.
The "ios7" backend is for the new iPhones.
2016-01-06 16:17:33 +01:00
Vincent Bénony
4713f76802 IOS: Clean the path of the Savegames directory 2016-01-06 16:17:31 +01:00
Vincent Bénony
c1e664b6d6 IOS: Replaces spaces with tabs 2016-01-06 16:17:31 +01:00
Vincent Bénony
62606412b1 IOS: Uses the chroot filesystem 2016-01-06 15:35:31 +01:00
Vincent Bénony
452968ec67 IOS: Adds a getter for the touchpad mode 2016-01-06 15:35:31 +01:00
Johannes Schickel
2f87b338d8 IPHOME: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
Johannes Schickel
952a119ae1 IPHONE: Fix accidental double free.
This was a copy&paste error. I also adapted the comment to be more clear.
2013-08-07 21:41:24 +02:00
Johannes Schickel
09f7e4d5d4 IPHONE: Do not access Surface::pixels directly. 2013-08-06 03:51:11 +02:00
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Johannes Schickel
feb2454eec IPHONE: Initialize the palettes on startup.
This hopefully fixes the occasional odd color flashes on startup.
2013-01-14 00:08:43 +01: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
b886bc0a41 IPHONE: Use InternalEvent directly. 2012-04-02 00:03:28 +02:00
Johannes Schickel
aad85d957c IPHONE: Fall back to CLUT8 in case a non-supported screen mode is set up.
This makes the iPhone backend conform with the 16bpp API and thus no longer
causes assertions to fail in case the client code tries to set up an
unsupported game screen format.
2012-02-29 19:05:43 +01:00
Johannes Schickel
3b1e4b5bdc IPHONE: Let hi-color games directly draw onto the screen texture buffer.
This avoids an unecessary copying step from the framebuffer to the texture
buffer.
2012-02-26 01:25:18 +01:00
Johannes Schickel
83ce8da935 IPHONE: Implement 16bpp color support.
This feature is currently disabled by default.
2012-02-26 01:01:19 +01:00
Johannes Schickel
23732c7179 IPHONE: Get rid of _gameScreenRaw, instead use _framebuffer internally. 2012-02-25 20:22:23 +01:00
Johannes Schickel
f1a4f508af IPHONE: Move aspect ratio settings to VideoContext. 2012-02-24 22:43:02 +01:00
Johannes Schickel
7fe3bdebc0 Merge pull request #197 from phoenixtail26/cleanedARCorrection.
This is a manual merge with some conflict fixups.

Conflicts:
	backends/platform/iphone/iphone_video.mm
2012-02-24 22:32:49 +01:00
Johannes Schickel
3f37842580 IPHONE: Directly use the game screen's texture buffer.
This gets rid of another intermediate buffer.
2012-02-23 21:52:44 +01:00
Johannes Schickel
8edcedf3b6 IPHONE: Directly use the overlay's texture buffer instead of another intermediate buffer. 2012-02-23 21:34:12 +01:00
Gavin Hayler
a71a91db17 IPHONE: Add aspect ratio correction to iPhone 2012-02-23 16:27:04 +02:00
Johannes Schickel
5ae958bcf3 IPHONE: Let iPhoneView and OSystem_IPHONE share the same VideoContext.
This allows for better sharing between the current video state in the view and
the OSystem implementation.

This also gets rid of most C interface functions for calling ObjC code.
2012-02-23 03:18:00 +01:00
Johannes Schickel
99ffbfedbc IPHONE: Use VideoContext in OSystem_IPHONE. 2012-02-23 02:25:26 +01:00
Johannes Schickel
d4c167414d IPHONE: Refactor event code a bit.
Now mouse x/y coordinates are passed as int.
2012-02-20 18:39:57 +01:00
Johannes Schickel
5cc3d754f7 IPHONE: Even more slight formatting fixes. 2012-02-20 18:39:57 +01:00
Johannes Schickel
d77253fbe5 IPHONE: Add support for unfiltered upscaling. 2012-02-20 02:32:10 +01:00
Johannes Schickel
8102e7e645 IPHONE: Implement cursor palette support. 2012-02-20 01:32:48 +01:00
Johannes Schickel
65cda4cd6b IPHONE: Fix some mismatching malloc/delete calls. 2012-02-20 00:36:13 +01:00
Johannes Schickel
723a38c699 IPHONE: Rename screen related buffers a bit. 2012-02-20 00:35:14 +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
3d0316ccd2 IPHONE: Formatting fixes. 2012-02-19 21:30:53 +01:00
Johannes Schickel
ab4420b3ca IPHONE: Take advantage of Common::EVENT_INVALID. 2012-02-19 05:21:17 +01:00
Max Horn
c06ddf2e57 IPHONE: Add logMessage() implementation 2011-06-17 20:50:37 +02: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
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
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
2e4cedd98a IPHONE: Enable use of forbidden symbols
svn-id: r53971
2010-10-31 00:04:24 +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
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
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
Oystein Eftevaag
37c7cf951a Split the iPhone OSystem class up into several files
svn-id: r42479
2009-07-14 13:52:11 +00:00