Thierry Crozat
ea53202de9
IPHONE: Disable idle timer while an engine is running
2020-01-23 20:33:37 +00:00
sluicebox
40415a5c4a
IPHONE: Implement horizontal shake
2019-11-19 00:20:40 +01:00
sluicebox
b8390fa161
GRAPHICS: Add interface for horizontal shake
2019-11-19 00:20:40 +01:00
Johannes Schickel
afd4b82a8a
IPHONE: Make includes match our style.
2016-01-07 12:44:48 +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: 0726127285
: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
2f87b338d8
IPHOME: Make GPL headers consistent in themselves.
2014-02-18 02:39:35 +01:00
Johannes Schickel
09f7e4d5d4
IPHONE: Do not access Surface::pixels directly.
2013-08-06 03:51:11 +02: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
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
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
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
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
c3b52343dc
IPHONE: Only update on screen mouse coordinates when it's needed.
2012-02-24 01:44:17 +01:00
Johannes Schickel
5c55866068
IPHONE: Cleanup mouse cursor handling slightly.
...
Now the scaling etc. will be precalculated instead of being done on every
frame.
2012-02-24 01:33:37 +01:00
Johannes Schickel
d691ef2260
IPHONE: Clean up mouse texture coordinate handling.
2012-02-24 01:13:44 +01:00
Johannes Schickel
d93e1558fc
IPHONE: Move some global variables to iPhoneView.
2012-02-24 01:02:29 +01:00
Johannes Schickel
5863f6a556
IPHONE: Add a mouse texture buffer surface to VideoContext.
2012-02-24 00:56:46 +01:00
Johannes Schickel
4f85ad6b99
IPHONE: Fix mouse coordinates for hi res games.
2012-02-23 21:55:36 +01:00
Johannes Schickel
2ab5958c93
IPHONE: Move screen and overlay texture buffer to VideoContext.
2012-02-23 21:20:24 +01:00
Johannes Schickel
97feac5342
IPHONE: Add a constructor to VideoContext.
2012-02-23 20:59:26 +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
ab15435ad0
IPHONE: Move overlay visibility status to VideoContext.
2012-02-23 02:09:27 +01:00
Johannes Schickel
e83e31c2cc
IPHONE: Move mouse coordinate conversion code to iPhoneView.
2012-02-23 02:02:14 +01:00
Johannes Schickel
04f9fc3e18
IPHONE: Move projection setup code to its own method.
2012-02-23 01:27:38 +01:00
Johannes Schickel
174127c1dd
IPHONE: Remove some more dead code.
2012-02-23 01:19:34 +01:00
Johannes Schickel
26405be48f
IPHONE: Move setFilterModeForTexture to iPhoneView.
2012-02-23 01:14:39 +01:00
Johannes Schickel
def1471fff
IPHONE: Slight formatting fix.
2012-02-23 01:08:48 +01:00
Johannes Schickel
833ce4f348
IPHONE: Fix scale offset addition in the mouse coordinate code.
...
Formerly the overlay and game screen offset was swapped.
2012-02-23 01:08:47 +01:00
Johannes Schickel
f4579aab9b
IPHONE: Create a struct for shared video context variables.
2012-02-23 01:08:47 +01:00
Johannes Schickel
6c64fdf4f2
IPHONE: Very minor cleanup.
2012-02-22 02:49:14 +01:00
Johannes Schickel
66199978e2
IPHONE: Silence some warnings.
2012-02-22 02:44:25 +01:00
Johannes Schickel
e79f6a6314
IPHONE: Move ObjC code files (.m) to ObjC++ files (.mm).
2012-02-22 02:30:44 +01:00