Commit Graph
209 Commits
Author SHA1 Message Date
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
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 124d37247b IOS: Remove extra comma 2016-01-06 16:17:33 +01:00
Vincent Bénony de6e78eecd IOS: Fixes a typo 2016-01-06 16:17:32 +01:00
Vincent Bénony 3b5d14b51a ISO: Updates instructions for command line compilation 2016-01-06 16:17:31 +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 e9934b8cc4 IOS: Fixes a crash on startup on iOS 7 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 106e3a87bd IOS: Updates the compilation instructions 2016-01-06 16:17:31 +01:00
Vincent Bénony 5bea2b416d IOS: Moves the compilation instructions in the platform directory 2016-01-06 16:17:31 +01:00
Vincent Bénony 3f829daa1d IOS: Fixes tabs 2016-01-06 16:17:30 +01:00
Vincent Bénony 39b98c1cc6 IOS: Fixes rotation and event handling 2016-01-06 15:35: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
Vincent Bénony e82a46c2e3 IOS: Fixes the virtual keyboard 2016-01-06 15:35:31 +01:00
Johannes Schickel c6a2d86be7 IPHONE: Scale input according to content scale factor.
This hopefully fixes input positions in retina devices. The idea is stolen
from QT: https://qt.gitorious.org/qt/qt/source/0726127285413829f58618b5b82fb3e2da0c3a74:src/plugins/platforms/uikit/quikitwindow.mm#L261-296

Complicated way to retrieve scale's return value properly is taken from:
https://stackoverflow.com/questions/3130464 We sadly can't use the cleaner
solution since we don't want to require a newer SDK...
2014-06-05 04:42:57 +02:00
Johannes Schickel 4bc07f63f2 IPHONE: Remove superflous semicolon. 2014-06-04 20:22:54 +02: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
Johannes Schickel 7670680aa8 IPHONE: Take advantage of Surface::getPixels. 2013-08-03 04:02:53 +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
Johannes Schickel 56b81877b9 IPHONE: Recreate mouse texture on palette changes when needed.
This fixes the color of the cursor in the Eye of the Beholder menu.
2013-01-14 00:03:37 +01:00
Johannes Schickel 2b55837650 IPHONE: Add support for "retina" displays.
Thanks to peres for testing this.
2012-10-12 17:08:51 +02:00
Johannes Schickel 1e200620d6 IPHONE: Fix cursor artifacts when linear filterting is used.
We need to set a proper texture coordinate wrap parameter for this.
2012-10-10 00:36:15 +02:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Johannes Schickel ac8f282ce1 IPHONE: Replace OverlayColor uses with uint16. 2012-06-20 17:13:12 +02:00
Johannes Schickel 4fb9bceabc Merge pull request #246 from lordhoto/osystem-void-buffers
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-20 08:02:26 -07: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
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 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 b886bc0a41 IPHONE: Use InternalEvent directly. 2012-04-02 00:03:28 +02:00
Johannes Schickel a92c54454f IPHONE: Move event fetching implementation to iPhoneView. 2012-04-02 00:03:28 +02:00
Johannes Schickel 6626258e0f IPHONE: Protect access to the event list via a mutex. 2012-04-02 00:03:28 +02:00
Johannes Schickel d27d8cec83 IPHONE: Use Common::List to store the event queue. 2012-04-02 00:03:28 +02:00
Johannes Schickel 6e31b841de IPHONE: Add some more debug printfs to graphics related OSystem functionality. 2012-03-29 02:34:26 +02:00
Johannes Schickel 62f59389a4 IPHONE: Send dealloc message to iPhoneView's superclass at the end of dealloc. 2012-03-05 21:27:47 +01:00
Johannes Schickel 323899d70b IPOHNE: Move touch related global variables to iPhoneView. 2012-03-05 20:46:45 +01:00
Johannes Schickel dec6082590 IPHONE: Prefix all global variables with "g_". 2012-03-05 20:44:41 +01: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 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 f1a4f508af IPHONE: Move aspect ratio settings to VideoContext. 2012-02-24 22:43:02 +01:00