Cameron Cawley
5a47b09455
BACKENDS: Move default implementations of getScreenPixelBuffer into BaseBackend
2020-10-10 18:00:17 +02:00
Eugene Sandulenko
806ab17c1a
IPHONE: Fix compilation
2020-10-10 00:13:35 +02:00
Cameron Cawley
31be074893
BACKENDS: Add a function to return if the overlay is visible
2020-09-15 00:09:11 +02:00
Thierry Crozat
ea53202de9
IPHONE: Disable idle timer while an engine is running
2020-01-23 20:33:37 +00:00
sluicebox
b8390fa161
GRAPHICS: Add interface for horizontal shake
2019-11-19 00:20:40 +01:00
Colin Snover
bda253b1ac
BACKENDS: Constify PaletteManager::grabPalette implementations
2017-10-15 13:47:19 -05:00
Johannes Schickel
afd4b82a8a
IPHONE: Make includes match our style.
2016-01-07 12:44:48 +01:00
Johannes Schickel
2f87b338d8
IPHOME: Make GPL headers consistent in themselves.
2014-02-18 02:39:35 +01:00
Eugene Sandulenko
f59512c47e
RECORDER: Implement Events Recorder
2013-05-17 00:18:09 +03: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
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
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
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
97e486dee3
IPHONE: Implement very basic GFX transaction support.
...
This allows for AR ratio correction changes to take place, even when the AR
setting is set after initSize for example.
2012-02-25 19:49:05 +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
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
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
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
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
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
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
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
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
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
Max Horn
84184aabc0
ALL: colour -> color
2011-04-14 14:12:35 +02: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
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
Max Horn
c97ee14a65
Remove last traces of OSystem::getOutputSampleRate()
...
svn-id: r48229
2010-03-10 21:01: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
Eugene Sandulenko
95c5d24044
Second attempt to fix DC and iPhone backends compilation
...
svn-id: r43651
2009-08-22 14:52:26 +00:00
Eugene Sandulenko
ad507d3387
Attempt to fix DC and iPhone backends compilation
...
svn-id: r43650
2009-08-22 13:34: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