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
Matthew Hoops
625f6cc716
Merge remote branch 'upstream/master' into pegasus
2012-06-16 01:43:32 -04: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
Matthew Hoops
f1f6a82cd5
Merge remote branch 'upstream/master' into pegasus
2012-05-25 00:35:38 -04: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
Matthew Hoops
e80d622fa5
Merge remote branch 'upstream/master' into pegasus
2012-05-04 23:32:29 -04: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
Paweł Kołodziejski
308f407969
Merge pull request #613 from tobigun/android
...
ANDROID: preliminary Android port for ResidualVM
2012-05-02 21:36:07 -07:00
Pawel Kolodziejski
8543f6c1e6
ALL: synced with scummvm
2012-05-03 05:51:15 +02:00
Tobias Gunkel
40e2cc4d96
ANDROID: increase required NDK and SDK version numbers
...
Android NDK 5 and SDK 7 (Android 2.1) are needed to provide full multitouch support. Otherwise MotionEvent.getPointerCount() and MotionEvent.getX(int) are not available.
In addition GLES2 headers are only available in Android 2.1 and newer revisions.
2012-04-30 19:11:32 +02:00
Tobias Gunkel
7b668875ea
ANDROID: disable compression of zip-files in apk
...
Do not compress zip-files added to the apk archive. This is very slow on android 2.3 devices if the zip-file is big (e.g. modern.zip theme) and devices with android < 2.3 do not support assets with an uncompressed size greater than 1 MB at all.
As most zip-file entries (like themes) are just stored and not compressed, zip-file assets are recompressed before adding them to the apk to avoid wasting space.
2012-04-30 19:11:32 +02:00
Tobias Gunkel
9a8ae3c60f
ANDROID: define GL_GLEXT_PROTOTYPES
...
define GL_GLEXT_PROTOTYPES so that the function prototype of glDrawTexiOES in <GLES/gl.h> is found.
2012-04-30 19:11:32 +02:00
Tobias Gunkel
228cc7ac64
ANDROID: adjust event handling
...
- controls in non-mouse mode:
- use the touchpad borders as arrow keys
- double tap on one of the borders triggers run mode
- tap into the center area triggers the use-action (ENTER)
- double-tap into the center area triggers the lookat-action ('u')
- long press into the center area shows inventory in grim ('i')
- a fling in the center area skips the current sentence ('.')
TODO: Instead of hardcoding the keys, they should be mapped later.
Note that passing events from onTouch() to the GestureListener does not seem to work correctly (most double-taps are ignored). Instead onTouchEvent() is used now which worked much better with the GestureListener.
2012-04-30 19:11:32 +02:00
Tobias Gunkel
c501fa8c58
ANDROID: implement OSystem methods and add support for soft rendering
2012-04-30 19:11:31 +02:00
Tobias Gunkel
45ca17f122
ANDROID: adjust Android backend files for ResidualVM
2012-04-30 19:09:34 +02:00
Tobias Gunkel
28a4f5bbc6
ANDROID: rename java files
2012-04-30 19:07:31 +02:00
Tobias Gunkel
71a75bfb22
ANDROID: rename org/scummvm/scummvm folder structure to org/residualvm/residualvm
2012-04-30 19:05:37 +02:00
tobias
654ccc883c
ANDROID: import backends/platform/android from ScummVM
2012-04-30 19:04:24 +02:00
Tobias Gunkel
201336367b
ANDROID: disable compression for zip-file assets and recompress uncompressed zip-files before adding them as assets to the apk
2012-04-29 17:23:07 +02:00
Paweł Kołodziejski
6ffdacf170
PORT: added PS3 related files
2012-04-17 15:54:35 +02:00
Pawel Kolodziejski
e856559777
ALL: sync with scummvm
2012-04-17 15:07:08 +02:00
Paweł Kołodziejski
b7d72439c2
PORT: added samsungtv backend
2012-04-15 07:49:40 +02:00
Paweł Kołodziejski
a211b967ab
AMIGAOS4: disabled camd
2012-04-09 21:06:52 +02:00
Matthew Hoops
ec0b4f7b96
SDL: Allow for the meta key flag to be used
2012-04-09 11:19:25 -04:00
Pawel Kolodziejski
78bacb47bb
ALL: synced with scummvm
2012-04-07 17:58:15 +02: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
Pawel Kolodziejski
8e2ab87455
ALL: synced with scummvm
2012-03-25 11:41:48 +02:00
Paweł Kołodziejski
5e86a8d5a8
BACKEND: no need add return for residualvm
2012-03-25 07:31:28 +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