aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
AgeCommit message (Collapse)Author
2012-06-20Merge pull request #246 from lordhoto/osystem-void-buffersJohannes Schickel
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-19PS2: Small formatting fixes.Johannes Schickel
2012-06-18PS2: Implement algorithm for day of week for use in tm_wday.D G Turner
2012-06-16ALL: Let overlay related methods in OSystem take a void * and use a proper ↵Johannes Schickel
pitch values. This is a first step to get rid of OverlayColor, which is a requirement for proper 4Bpp overlay support.
2012-06-16BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.Johannes Schickel
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte ↵Johannes Schickel
*" 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-10BACKENDS: Add #error for platforms not setting tm_wday in release buildsMatthew Hoops
2012-06-09COMMON: Add tm_wday to our TimeDate structMatthew Hoops
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2012-06-03ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵Johannes Schickel
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-04-29ANDROID: disable compression for zip-file assets and recompress uncompressed ↵Tobias Gunkel
zip-files before adding them as assets to the apk
2012-04-02IPHONE: Use InternalEvent directly.Johannes Schickel
2012-04-02IPHONE: Move event fetching implementation to iPhoneView.Johannes Schickel
2012-04-02IPHONE: Protect access to the event list via a mutex.Johannes Schickel
2012-04-02IPHONE: Use Common::List to store the event queue.Johannes Schickel
2012-03-29IPHONE: Add some more debug printfs to graphics related OSystem functionality.Johannes Schickel
2012-03-17JANITORIAL: Remove +x from files, which should not be executable.Christoph Mallon
2012-03-17ALL: Make use of defined() for the preprocessor consistent.Johannes Schickel
This does not change the use of defined for some NDS source files, since they seem to be (based on?) third party code.
2012-03-13JANITORIAL: Remove unnecessary empty default constructors/destructors.Christoph Mallon
2012-03-05IPHONE: Send dealloc message to iPhoneView's superclass at the end of dealloc.Johannes Schickel
2012-03-05IPOHNE: Move touch related global variables to iPhoneView.Johannes Schickel
2012-03-05IPHONE: Prefix all global variables with "g_".Johannes Schickel
2012-02-29IPHONE: Fall back to CLUT8 in case a non-supported screen mode is set up.Johannes Schickel
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-28MAEMO: Define only special keys to KeymapperTarek Soliman
Also get rid of static tables in headers.
2012-02-28KEYMAPPER: HardwareInputSet now has defaultsTarek Soliman
Ports can add additional special keys. SDL no longer carries the static tables. Default behavior unchanged: HardwareInputSet() still gives an empty one.
2012-02-27KEYMAPPER: Fix WebOS compileTarek Soliman
2012-02-27KEYMAPPER: Rename EVENT_CUSTOM_BACKEND to EVENT_CUSTOM_BACKEND_ACTIONTarek Soliman
2012-02-27KEYMAPPER: Rename HardwareKey to HardwareInputTarek Soliman
2012-02-26NDS: Fix build after common util.h split.D G Turner
2012-02-26COMMON: Move Language and Platform functionality into separate filesMax Horn
2012-02-26IPHONE: Let hi-color games directly draw onto the screen texture buffer.Johannes Schickel
This avoids an unecessary copying step from the framebuffer to the texture buffer.
2012-02-26IPHONE: Implement 16bpp color support.Johannes Schickel
This feature is currently disabled by default.
2012-02-25IPHONE: Get rid of _gameScreenRaw, instead use _framebuffer internally.Johannes Schickel
2012-02-25IPHONE: Implement very basic GFX transaction support.Johannes Schickel
This allows for AR ratio correction changes to take place, even when the AR setting is set after initSize for example.
2012-02-24MAEMO: Move static table out of .h fileTarek Soliman
Thanks fuzzie & LordHoto for pointing this out
2012-02-24IPHONE: Move aspect ratio settings to VideoContext.Johannes Schickel
2012-02-24Merge pull request #197 from phoenixtail26/cleanedARCorrection.Johannes Schickel
This is a manual merge with some conflict fixups. Conflicts: backends/platform/iphone/iphone_video.mm
2012-02-24IPHONE: Only update on screen mouse coordinates when it's needed.Johannes Schickel
2012-02-24IPHONE: Cleanup mouse cursor handling slightly.Johannes Schickel
Now the scaling etc. will be precalculated instead of being done on every frame.
2012-02-24IPHONE: Clean up mouse texture coordinate handling.Johannes Schickel
2012-02-24IPHONE: Move some global variables to iPhoneView.Johannes Schickel
2012-02-24IPHONE: Add a mouse texture buffer surface to VideoContext.Johannes Schickel
2012-02-23IPHONE: Fix mouse coordinates for hi res games.Johannes Schickel
2012-02-23IPHONE: Directly use the game screen's texture buffer.Johannes Schickel
This gets rid of another intermediate buffer.
2012-02-23IPHONE: Directly use the overlay's texture buffer instead of another ↵Johannes Schickel
intermediate buffer.
2012-02-23IPHONE: Move screen and overlay texture buffer to VideoContext.Johannes Schickel
2012-02-23IPHONE: Add a constructor to VideoContext.Johannes Schickel
2012-02-23IPHONE: Add aspect ratio correction to iPhoneGavin Hayler
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