aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone
AgeCommit message (Collapse)Author
2012-02-23IPHONE: Let iPhoneView and OSystem_IPHONE share the same VideoContext.Johannes Schickel
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-23IPHONE: Silence a few signed/unsigned integer comparison warnings.Johannes Schickel
2012-02-23IPHONE: Use VideoContext in OSystem_IPHONE.Johannes Schickel
2012-02-23IPHONE: Move overlay visibility status to VideoContext.Johannes Schickel
2012-02-23IPHONE: Move VideoContext definition to iphone_common.h.Johannes Schickel
2012-02-23IPHONE: Move mouse coordinate conversion code to iPhoneView.Johannes Schickel
2012-02-23IPHONE: Move graphics related OSystem code to a ObjC++ file.Johannes Schickel
2012-02-23IPHONE: Move projection setup code to its own method.Johannes Schickel
2012-02-23IPHONE: Remove some more dead code.Johannes Schickel
2012-02-23IPHONE: Move setFilterModeForTexture to iPhoneView.Johannes Schickel
2012-02-23IPHONE: Slight formatting fix.Johannes Schickel
2012-02-23IPHONE: Fix scale offset addition in the mouse coordinate code.Johannes Schickel
Formerly the overlay and game screen offset was swapped.
2012-02-23IPHONE: Create a struct for shared video context variables.Johannes Schickel
2012-02-22IPHONE: Very minor cleanup.Johannes Schickel
2012-02-22IPHONE: Use #include instead of #import.Johannes Schickel
2012-02-22IPHONE: Silence some warnings.Johannes Schickel
2012-02-22IPHONE: Move ObjC code files (.m) to ObjC++ files (.mm).Johannes Schickel
2012-02-22IPHONE: Implement setShakeOffset.Johannes Schickel
This should fix bug #3374656 "IPHONE: setShakePos not implemented".
2012-02-21IPHONE: Rewrite video screen rotation.Johannes Schickel
Now it should be a little bit more sane. Formerly the width and height was swapped in rotation mode, which resulted in the x coordinate falling into the range 0..height in landscape mode for example. This also fixes the cursor offset in the modern theme.
2012-02-21IPHONE: Move _overlayPortraitRatio from global scope to local scope.Johannes Schickel
2012-02-21IPHONE: Add _overlayRect, which describes the overlay screen rect.Johannes Schickel
2012-02-20IPHONE: Default to portrait mode in case the orientation could not be ↵Johannes Schickel
determined.
2012-02-20IPHONE: Move OpenGL ES context generation to its own method.Johannes Schickel
2012-02-20IPHONE: Precalculate vertex/tex coordinates for game screen/overlay.Johannes Schickel
2012-02-20IPHONE: Use render buffer size instead of application frame size for video ↵Johannes Schickel
size calculations. These match as far as I can tell, but in case they don't match, the render buffer size should be the correct thing to use.
2012-02-20IPHONE: Rename _screenRect to _gameScreenRect.Johannes Schickel
2012-02-20IPHONE: Rename _backing[Width,Height] to _renderBuffer[Width,Height].Johannes Schickel
2012-02-20IPHONE: Don't overwrite orientation when the OpenGL ES context is created.Johannes Schickel
2012-02-20IPHONE: Refactor event code a bit.Johannes Schickel
Now mouse x/y coordinates are passed as int.
2012-02-20IPHONE: Even more slight formatting fixes.Johannes Schickel
2012-02-20IPHONE: Slight game screen texture related variable renaming.Johannes Schickel
2012-02-20IPHONE: Slight cleanup.Johannes Schickel
2012-02-20IPHONE: Remove some unused variables.Johannes Schickel
2012-02-20IPHONE: More formatting fixes.Johannes Schickel
2012-02-20IPHONE: Add support for unfiltered upscaling.Johannes Schickel
2012-02-20IPHONE: Implement cursor palette support.Johannes Schickel
2012-02-20IPHONE: Fix some mismatching malloc/delete calls.Johannes Schickel
2012-02-20IPHONE: Remove some dead code.Johannes Schickel
2012-02-20IPHONE: Rename screen related buffers a bit.Johannes Schickel
2012-02-20IPHONE: Implement cursor visibility change again.Johannes Schickel
2012-02-20IPHONE: Fix cursor hotspots.Johannes Schickel
2012-02-20IPHONE: Always use the mouse texture.Johannes Schickel
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-19IPHONE: Use the proper RGBA5551 palette for the mouse cursor.Johannes Schickel
Formerly the overlay cursor was using a RGB565 palette, even though the texture is really set up as RGBA5551.
2012-02-19IPHONE: Rename _palette to _gamePalette.Johannes Schickel
2012-02-19IPHONE: Use include instead of import for all of our headers.Johannes Schickel
2012-02-19IPHONE: Add include guards.Johannes Schickel
2012-02-19IPHONE: Formatting fixes.Johannes Schickel
2012-02-19IPHONE: Remove dead code.Johannes Schickel
2012-02-19IPHONE: Take advantage of Common::EVENT_INVALID.Johannes Schickel
2012-02-19IPHONE: Change F5 (menu) gesture to open up the GMM.Johannes Schickel
Thanks to tsoliman for this patch.