Commit graph

5119 commits

Author SHA1 Message Date
Johannes Schickel
7b44c20eb1 BADA: Implement weekday querying in getTimeAndDate.
This furthermore makes the returned time be the wall time instead of UTC.

Thanks to Chris Warren-Smith for testing and improving a patch based
on pull request #248.
2012-06-25 19:59:46 +02:00
Fabio Battaglia
fd97e5ece3 DINGUX: Update the README file for Dingux
Added build instructions and a note on the obsolescence
of fixes for the old Dingux toolchain
2012-06-22 13:51:50 +02:00
Fabio Battaglia
b51eed9031 DINGUX: Add png icon in the dingux dist package 2012-06-22 13:23:29 +02:00
Johannes Schickel
0a26f7084f ANDROID: Fix compilation broken with changes to grabOverlay. 2012-06-20 17:31:10 +02:00
Johannes Schickel
9701094fcd N64: Fix check for whole width updates in copyRectToOverlay. 2012-06-20 17:21:50 +02:00
Johannes Schickel
703be9f87c N64: Replace OverlayColor with uint16. 2012-06-20 17:21:05 +02:00
Johannes Schickel
36ac1e8b47 PSP: Replace OverlayColor with uint16. 2012-06-20 17:20:00 +02:00
Johannes Schickel
4b32d5de0e WII: Fix check for whole width updates in copyRectToOverlay. 2012-06-20 17:18:19 +02:00
Johannes Schickel
6792f4450b WII: Replace OverlayColor with uint16. 2012-06-20 17:14:51 +02:00
Johannes Schickel
ac8f282ce1 IPHONE: Replace OverlayColor uses with uint16. 2012-06-20 17:13:12 +02:00
Johannes Schickel
4fb9bceabc Merge pull request #246 from lordhoto/osystem-void-buffers
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-20 08:02:26 -07:00
Johannes Schickel
f92f9f9faf PS2: Small formatting fixes. 2012-06-19 01:48:21 +02:00
D G Turner
954d56a30f PS2: Implement algorithm for day of week for use in tm_wday. 2012-06-18 20:21:22 +01:00
Johannes Schickel
aec9b9e22a ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +02:00
Johannes Schickel
d27d951d0b BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16 03:28:42 +02:00
Johannes Schickel
31880186e1 BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte *" 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-16 02:18:01 +02:00
Matthew Hoops
249d48f77b BACKENDS: Add #error for platforms not setting tm_wday in release builds 2012-06-10 14:53:26 -04:00
Matthew Hoops
b2f5721e58 COMMON: Add tm_wday to our TimeDate struct
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2012-06-09 20:21:48 -04:00
Johannes Schickel
a401f0a19e ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" 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-06-03 02:02:57 +02:00
Max Horn
5de3f9c765 ALL: Correct spelling of "Mac OS X" in various places 2012-05-31 10:30:29 +02:00
Jonathan Gray
8cfe25cd65 MIDI: add sndio midi backend
New sndio MIDI backend for OpenBSD written by Alexandre Ratchov.
Tested with an external MT-32 and fluidsynth.
2012-05-15 16:39:21 +10:00
Johannes Schickel
b96143c180 Merge pull request #213 from fuzzie/leak-fixes
The pull request in question is "Memory leak fixes".
2012-05-03 13:45:40 -07: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
6e31b841de IPHONE: Add some more debug printfs to graphics related OSystem functionality. 2012-03-29 02:34:26 +02:00
Alyssa Milburn
29e05ec05e OPENGL: Don't leak surfaces. 2012-03-28 19:18:25 +02:00
Matthew Hoops
426c81a7a7 GRAPHICS: Rewrite ImageDecoder to have an improved API
The new bitmap decoder class is based off the Mohawk one, and now has 8bpp decoding capability.
2012-03-20 01:06:47 +01:00
Christoph Mallon
9f827e3392 JANITORIAL: Remove +x from files, which should not be executable. 2012-03-17 22:43:32 +01:00
Johannes Schickel
223794fb38 ALL: Make use of defined() for the preprocessor consistent.
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-17 22:02:44 +01:00
Eugene Sandulenko
56252909f5 Merge pull request #202 from tsoliman/keymapper-nonkey-inputs
KEYMAPPER: Add Gesture Support
2012-03-17 03:46:46 -07:00
Christoph Mallon
e618e6794d JANITORIAL: Remove unnecessary empty default constructors/destructors. 2012-03-13 15:42:30 +01: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
Tarek Soliman
c0a215282d KEYMAPPER: Add delays for *UP events coming from non-keys
Delayed entries are in a queue where each entry stores how
many milliseconds should pass based on the last entry.
2012-03-02 20:48:50 -06:00
Tarek Soliman
d12f21b31d KEYMAPPER: Map non-key custom input events
This also makes the keymapper be in charge of keymapping logic
2012-03-02 20:48:50 -06:00
Tarek Soliman
4ee1a3acea KEYMAPPER: Add non-key inputs to HardwareInput 2012-03-02 20:48:50 -06: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