Commit graph

36 commits

Author SHA1 Message Date
Johannes Schickel
b886bc0a41 IPHONE: Use InternalEvent directly. 2012-04-02 00:03:28 +02: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
5863f6a556 IPHONE: Add a mouse texture buffer surface to VideoContext. 2012-02-24 00:56:46 +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
e00fc73eb8 IPHONE: Silence a few signed/unsigned integer comparison warnings. 2012-02-23 02:26:54 +01:00
Johannes Schickel
ab15435ad0 IPHONE: Move overlay visibility status to VideoContext. 2012-02-23 02:09:27 +01:00
Johannes Schickel
e1edb20fed IPHONE: Move VideoContext definition to iphone_common.h. 2012-02-23 02:04:40 +01:00
Johannes Schickel
e79f6a6314 IPHONE: Move ObjC code files (.m) to ObjC++ files (.mm). 2012-02-22 02:30:44 +01:00
Johannes Schickel
1b26346fc8 IPHONE: Implement setShakeOffset.
This should fix bug #3374656 "IPHONE: setShakePos not implemented".
2012-02-22 01:53:20 +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
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
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
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
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02: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
Oystein Eftevaag
0d83045b5f Updated XCode project
svn-id: r48479
2010-04-03 00:44:38 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Oystein Eftevaag
8b813f02b8 Converted the iPhone backend to use OpenGL ES instead of CoreSurface for graphics output
svn-id: r40403
2009-05-09 22:25:28 +00:00
Oystein Eftevaag
741548cda6 iPhone: Updated input event system to firmware 2.x standard
svn-id: r39984
2009-04-18 13:52:30 +00:00
Oystein Eftevaag
d61b83814b Updated the iphone xcode project to include dependency libs, and fixed config/savegame paths
svn-id: r38386
2009-02-16 23:21:18 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Oystein Eftevaag
fe8faf4f19 (forward-port) Quick swipes across the screen now triggers arrow key events. Also, some mouse cursor fixes for landscape mode
svn-id: r30134
2008-01-02 00:07:16 +00:00
Oystein Eftevaag
b65cc2904a Added support for landscape mode in addition to the upside-down landscape mode we already had, and a few minor optimizations
svn-id: r30090
2007-12-31 00:22:37 +00:00
Oystein Eftevaag
ece4ee3360 Suspend ScummVM when the button is hit (or a call is received), putting it in a sleep loop until it's resumed
svn-id: r29633
2007-11-25 09:37:15 +00:00
Oystein Eftevaag
1d5392d56f Now always sending a mouse-moved event before a click (some engines don't update the mouse position on click events, it seems). Also added a workaround for an event not always being received when the secondary finger is lifted from the touchscreen.
svn-id: r29629
2007-11-24 21:45:39 +00:00
Oystein Eftevaag
6a4ce78789 Implemented soft keyboard support, and added a workarond for engines that can't handle mouse-down and mouse-up events coming in two subsequent calls to pollEvent()
svn-id: r29557
2007-11-18 17:58:53 +00:00
Oystein Eftevaag
dbbce1985a Implemented portrait mode, fixed a few issues with the dirty rects handling, fixed some cursor positioning issues, and redirecting stdout and stderr to a log file when ScummVM is launched from the Springboard
svn-id: r29541
2007-11-17 21:26:03 +00:00
Oystein Eftevaag
05b5a493f8 Initial commit of the iPhone/iPod Touch backend
svn-id: r29488
2007-11-13 08:06:15 +00:00