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
Tarek Soliman
657206bc5b
MAEMO: Define only special keys to Keymapper
...
Also get rid of static tables in headers.
2012-02-28 06:46:19 -06:00
Tarek Soliman
477c1b9a87
KEYMAPPER: HardwareInputSet now has defaults
...
Ports can add additional special keys.
SDL no longer carries the static tables.
Default behavior unchanged: HardwareInputSet() still gives an empty one.
2012-02-28 06:45:35 -06:00
Tarek Soliman
4d1e6c3d54
KEYMAPPER: Move HardwareInputSet implementation out of header file
2012-02-28 06:34:19 -06:00
Tarek Soliman
dfdfc2f297
KEYMAPPER: Fix WebOS compile
2012-02-27 13:45:14 -06:00
Tarek Soliman
533f80282b
KEYMAPPER: Rename EVENT_CUSTOM_BACKEND to EVENT_CUSTOM_BACKEND_ACTION
2012-02-27 13:04:59 -06:00
Tarek Soliman
6afac4e01e
KEYMAPPER: Rename HardwareKey to HardwareInput
2012-02-27 13:00:56 -06:00
D G Turner
7de7d1d414
NDS: Fix build after common util.h split.
2012-02-26 16:59:32 +00:00
Max Horn
367131ef0e
COMMON: Move Language and Platform functionality into separate files
2012-02-26 15:21:36 +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
athrxx
535a55e47a
AUDIO: (Windows) fix issue with non-unique MIDI device names
...
This should fix the issue mentioned here: http://forums.scummvm.org/viewtopic.php?t=11255
Apparently Windows doesn't generate unique names for MIDI devices of the exact same type.
I do not know whether this could be a problem on other backends, too.
2012-02-25 14:15:49 +01:00
Tarek Soliman
3edd4180f3
MAEMO: Move static table out of .h file
...
Thanks fuzzie & LordHoto for pointing this out
2012-02-24 21:43:08 -06: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
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
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
99ffbfedbc
IPHONE: Use VideoContext in OSystem_IPHONE.
2012-02-23 02:25:26 +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
e83e31c2cc
IPHONE: Move mouse coordinate conversion code to iPhoneView.
2012-02-23 02:02:14 +01:00
Johannes Schickel
c5ccb32b48
IPHONE: Move graphics related OSystem code to a ObjC++ file.
2012-02-23 01:52:50 +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
Tarek Soliman
dbdfc13819
KEYMAPPER: Fix a signed/unsigned comparison warning
2012-02-22 15:16:52 -06:00
Tarek Soliman
92aabb6868
KEYMAPPER: Change HardwareKey id to Common::String
2012-02-22 07:44:59 -06:00
Johannes Schickel
6c64fdf4f2
IPHONE: Very minor cleanup.
2012-02-22 02:49:14 +01:00
Johannes Schickel
0e182a9587
IPHONE: Use #include instead of #import.
2012-02-22 02:47:16 +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