Filippos Karapetis
659d0cfcc3
COMMON: Also adapt openForSaving() in the DC and N64 backends
2012-06-25 22:39:28 +03:00
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
Matthew Hoops
91efe792d5
Merge remote branch 'upstream/master' into pegasus
2012-06-24 09:37:53 -04: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
Filippos Karapetis
e10e412bba
COMMON: Allow the savefile manager to create uncompressed saves
...
These are useful in cases where the files can be used in the original
interpreters (such as the exported characters from QFG), in order to avoid
confusion in cases where the users are unaware that these saves are
compressed and are trying to load them in the original interpreters.
2012-06-21 10:48:03 +03: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
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
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
Matthew Hoops
ec0b4f7b96
SDL: Allow for the meta key flag to be used
2012-04-09 11:19:25 -04: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
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
Johannes Schickel
1b26346fc8
IPHONE: Implement setShakeOffset.
...
This should fix bug #3374656 "IPHONE: setShakePos not implemented".
2012-02-22 01:53:20 +01:00
Tarek Soliman
e1e9bd5c0e
KEYMAPPER: Clean up more dead code
...
More automapper related dead code
2012-02-21 13:39:05 -06:00
Johannes Schickel
80b3439817
IPHONE: Rewrite video screen rotation.
...
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-21 18:54:26 +01:00
Johannes Schickel
f6edcbde8e
IPHONE: Move _overlayPortraitRatio from global scope to local scope.
2012-02-21 18:54:26 +01:00
Johannes Schickel
cc8a6cc993
IPHONE: Add _overlayRect, which describes the overlay screen rect.
2012-02-21 18:54:26 +01:00
Tarek Soliman
aa42d78658
KEYMAPPER: Remove automapping dead code
2012-02-21 08:20:40 -06:00
Willem Jan Palenstijn
297d15e122
OPENGL: Don't force alpha to 1
...
This was likely a hack to work around an alpha blending bug in the
gui vector renderer.
2012-02-20 22:17:33 +01:00
Johannes Schickel
6cc5b83bba
IPHONE: Default to portrait mode in case the orientation could not be determined.
2012-02-20 21:17:19 +01:00
Johannes Schickel
d8531a939e
IPHONE: Move OpenGL ES context generation to its own method.
2012-02-20 21:15:14 +01:00
Johannes Schickel
cf44d49d19
IPHONE: Precalculate vertex/tex coordinates for game screen/overlay.
2012-02-20 19:43:51 +01:00
Tarek Soliman
56e517fdad
KEYMAPPER: Add some comments
2012-02-20 12:26:25 -06:00
Johannes Schickel
7957cc956e
IPHONE: Use render buffer size instead of application frame size for video 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-20 18:39:57 +01:00
Johannes Schickel
d91268c4c1
IPHONE: Rename _screenRect to _gameScreenRect.
2012-02-20 18:39:57 +01:00
Johannes Schickel
87fb115def
IPHONE: Rename _backing[Width,Height] to _renderBuffer[Width,Height].
2012-02-20 18:39:57 +01:00
Johannes Schickel
624d5547dc
IPHONE: Don't overwrite orientation when the OpenGL ES context is created.
2012-02-20 18:39:57 +01:00
Johannes Schickel
d4c167414d
IPHONE: Refactor event code a bit.
...
Now mouse x/y coordinates are passed as int.
2012-02-20 18:39:57 +01:00
Johannes Schickel
5cc3d754f7
IPHONE: Even more slight formatting fixes.
2012-02-20 18:39:57 +01:00
Tarek Soliman
6c4d65e53f
KEYMAPPER: Change how keymaps are displayed in the remap dialog
...
This makes it so that there's 2 groups:
1 - The keymap stack
2 - The loaded keymaps
The first group displays which keymaps are active and which keymaps
are completely blocked due to an opaque keymap on top.
The second group displays which loaded keymaps store their mappings
globally and which ones store their mappings per-target.
2012-02-20 10:52:50 -06:00
Johannes Schickel
a291679445
IPHONE: Slight game screen texture related variable renaming.
2012-02-20 15:37:24 +01:00
Johannes Schickel
46e622c0fe
IPHONE: Slight cleanup.
2012-02-20 15:37:24 +01:00
Johannes Schickel
76be031ed4
IPHONE: Remove some unused variables.
2012-02-20 15:37:23 +01:00
Tarek Soliman
3f6d549b0e
KEYMAPPER: Move F7 and F8 handling to DefaultEventMapper
2012-02-20 06:49:22 -06:00
Tarek Soliman
cfe91c8d44
KEYMAPPER: Move CTRL-F5 handling to DefaultEventMapper
2012-02-20 06:49:22 -06:00
Tarek Soliman
a0ba4eb569
KEYMAPPER: Rewrite the EventMapper API
2012-02-20 06:49:22 -06:00
Tarek Soliman
5c3e48fddf
KEYMAPPER: Create a DefaultEventMapper when Keymapper isn't enabled
...
This allows migration to unconditional mapping
2012-02-20 06:49:22 -06:00
Tarek Soliman
e7ade8ae05
KEYMAPPER: EventMapper must now eat all events
2012-02-20 06:49:21 -06:00
Johannes Schickel
ae992bebe3
IPHONE: More formatting fixes.
2012-02-20 13:48:09 +01:00
Johannes Schickel
d77253fbe5
IPHONE: Add support for unfiltered upscaling.
2012-02-20 02:32:10 +01:00
Johannes Schickel
8102e7e645
IPHONE: Implement cursor palette support.
2012-02-20 01:32:48 +01:00
Johannes Schickel
65cda4cd6b
IPHONE: Fix some mismatching malloc/delete calls.
2012-02-20 00:36:13 +01:00
Johannes Schickel
1b9c4f3845
IPHONE: Remove some dead code.
2012-02-20 00:35:44 +01:00
Johannes Schickel
723a38c699
IPHONE: Rename screen related buffers a bit.
2012-02-20 00:35:14 +01:00
Johannes Schickel
93d80793b4
IPHONE: Implement cursor visibility change again.
2012-02-20 00:29:08 +01:00
Johannes Schickel
438bc50115
IPHONE: Fix cursor hotspots.
2012-02-20 00:25:48 +01:00
Johannes Schickel
68bbe973bd
IPHONE: Always use the mouse texture.
...
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-20 00:08:42 +01:00
Johannes Schickel
87d85a7b20
IPHONE: Use the proper RGBA5551 palette for the mouse cursor.
...
Formerly the overlay cursor was using a RGB565 palette, even though the
texture is really set up as RGBA5551.
2012-02-19 22:19:38 +01:00
Johannes Schickel
ceae3dd191
IPHONE: Rename _palette to _gamePalette.
2012-02-19 22:16:38 +01:00
Johannes Schickel
6a31dadfea
IPHONE: Use include instead of import for all of our headers.
2012-02-19 22:10:08 +01:00
Johannes Schickel
13358c541d
IPHONE: Add include guards.
2012-02-19 21:44:37 +01:00
Johannes Schickel
3d0316ccd2
IPHONE: Formatting fixes.
2012-02-19 21:30:53 +01:00
Johannes Schickel
4244663020
IPHONE: Remove dead code.
2012-02-19 20:33:53 +01:00
Thierry Crozat
7a3df4681b
NULL: Fix compiler errors when using the NullGraphicsManager
...
The errors fixed are inaccessible base class when trying to set the
_graphicsManager and a pure virtual function when trying to create
the NullGraphicsManager instance.
2012-02-19 18:41:49 +00:00
Thierry Crozat
f6b8fec0f1
NULL: Fix compiler error when using NullMutexManager
...
The compiler error fixed (when trying to set the _mutexManager) is:
error: ‘MutexManager’ is an inaccessible base of ‘NullMutexManager’
2012-02-19 18:38:28 +00:00
Johannes Schickel
ab4420b3ca
IPHONE: Take advantage of Common::EVENT_INVALID.
2012-02-19 05:21:17 +01:00
Johannes Schickel
ffaa8612c3
IPHONE: Change F5 (menu) gesture to open up the GMM.
...
Thanks to tsoliman for this patch.
2012-02-19 05:21:10 +01:00
Tarek Soliman
53d6ef1209
MAEMO: Fix building without keymapper enabled
2012-02-17 14:42:39 -06:00
Tarek Soliman
b6e5e4fe1e
MAEMO: Remove pointless copy ctor call
...
Thanks LordHoto
2012-02-15 17:56:09 -06:00
Tarek Soliman
85c8c84804
KEYMAPPER: Add more warning signs
2012-02-15 17:22:41 -06:00
Tarek Soliman
e55914c51b
MAEMO: Register Keymapper Keymap Action default bindings
2012-02-15 17:12:52 -06:00
Tarek Soliman
cce5be67dc
KEYMAPPER: Allow ports to define default Keymap Action bindings
2012-02-15 17:07:52 -06:00
Tarek Soliman
974f5eb7b8
MAEMO: Drop the hardcoded keymap in favor of the keymapper
2012-02-15 17:07:52 -06:00
Tarek Soliman
7ae7e80739
MAEMO: Rename hasHwKeyboard and add hasMenuKey
2012-02-15 16:38:53 -06:00
Tarek Soliman
856744aa6a
MAEMO: Use bitshifting in ModelType
2012-02-15 15:26:51 -06:00
Tarek Soliman
ea325909cf
MAEMO: Fix wrong assert
2012-02-15 12:40:49 -06:00
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Tarek Soliman
921f602ab8
JANITORIAL: Fix whitespace in pointer template arg
2012-02-15 10:07:08 -06:00
Tarek Soliman
dbcd177606
KEYMAPPER: Make some parameters const
2012-02-15 10:07:08 -06:00
Johannes Schickel
37e5b209a7
OPENGL: More formatting fixes.
2012-02-15 02:23:54 +01:00
Johannes Schickel
b6f7d69709
OPENGLSDL: Remove HACK in fullscreen toggle mode.
...
Altering the fullscreen state will automatically force a refresh now.
2012-02-15 02:23:47 +01:00
Johannes Schickel
5b3ebdf43d
OPENGL: Prevent access to a few more members in the SDL OpenGL code.
2012-02-15 02:23:37 +01:00
Johannes Schickel
05af37c08e
OPENGL: Use tabs instead of spaces for indentation.
2012-02-15 02:23:22 +01:00
Johannes Schickel
97760ff101
OPENGLSDL: Don't cast EventType into int for switch.
2012-02-15 02:23:14 +01:00
Johannes Schickel
1f01fb330c
OPENGL: Use C-style casts.
2012-02-15 02:23:08 +01:00
Johannes Schickel
e5d48797d9
OPENGL: Let getGlErrStr return a Common::String.
...
This also makes getGlErrStr use Common::String::format instead of snprintf.
2012-02-15 02:23:01 +01:00
Johannes Schickel
beab93e746
OPENGL: Slight formatting fixes.
2012-02-15 02:22:54 +01:00
Johannes Schickel
864eec8cd2
OPENGL: Make all GLTexture members private.
2012-02-15 02:22:45 +01:00
Johannes Schickel
93435b2e3f
OPENGL: Unvirtualize all GLTexture methods.
2012-02-15 02:22:37 +01:00
Johannes Schickel
56971f11d1
OPENGL: Remove redundant check in adjustMousePosition.
2012-02-15 02:22:30 +01:00
Tarek Soliman
5cf932198e
KEYMAPPER: Fix Action ctor args in most keymaps
2012-02-13 23:24:59 -06:00
Johannes Schickel
57e3388197
SDL: Get rid of unneeded forwards.
2012-02-13 01:25:25 +01:00
Johannes Schickel
d811240a9d
ALL: Enable Keymapper specific OSystem API only when the Keymapper is enabled.
2012-02-13 01:20:02 +01:00
Tarek Soliman
c2640ed33a
MAEMO: Use custom event Click Mode keymap action
2012-02-12 13:28:13 -06:00
Tarek Soliman
d90d4d10a0
MAEMO: Refactor toggle click mode
2012-02-12 13:28:13 -06:00
Tarek Soliman
8c245af35c
MAEMO: Define platform global keymap
2012-02-12 13:28:13 -06:00
Tarek Soliman
705761011d
KEYMAPPER: Allow ports to define their own global keymap
2012-02-12 13:28:13 -06:00
Tarek Soliman
e52f75eaa4
MAEMO: Define HardwareKeySet
2012-02-12 13:28:13 -06:00
Tarek Soliman
52da780fbc
KEYMAPPER: Refactor HardwareKeySet generation
2012-02-12 13:28:13 -06:00
Tarek Soliman
edc5249772
JANITORIAL: Fix template definition whitespace
2012-02-10 21:17:27 -06:00
Tarek Soliman
06b5299461
KEYMAPPER: Fix re-selecting the top keymap
...
Re-selecting the top entry would always populate the actions
from the GUI keymap since it is the active keymap (the remap
dialog itself is GUI)
The top keymap was correct during RemapDialog::open() because
the gui keymap had not been pushed to the stack yet.
2012-02-09 02:49:21 -06:00
Tarek Soliman
38dea529e8
KEYMAPPER: Display active keymap stack in remap dialog popup list
...
This should make it clear what keymaps are on the stack and in
what order.
Also renamed the label of the top "special" entry in the list to
"(Effective)" since it displays the top keymap's action and also
displays reachable mapped actions from other active keymaps.
2012-02-09 02:15:35 -06:00
Tarek Soliman
9de279b2ab
KEYMAPPER: Fix active keymap name displayed in remap dialog
...
This workaround no longer applies and is in fact causing a bug
in the name of active keymap
2012-02-05 19:01:51 -06:00
Tarek Soliman
07f1d33ef7
KEYMAPPER: Fix annoying debug message
2012-02-04 20:47:12 -06:00
Tarek Soliman
38b8e09069
MAEMO: Add detection entry for the Nokia 700 running OS2008HE
...
This allows the Nokia 770 running OS2008HE to be used.
Fixes bug#3483921 "Volume rocker do no emulate keypress as it used"
2012-02-04 12:03:22 -06:00
Alyssa Milburn
4763b2c51b
ANDROID: Add faked input delay.
...
This adds an artificial delay for mouse up events to make engines
like Gob work, similar to the iPhone fix in b3062b5e
.
2012-02-03 12:36:03 +01:00
Tarek Soliman
a488556dcd
KEYMAPPER: Handle EVENT_MAINMENU directly
2012-02-02 19:10:01 -06:00
Tarek Soliman
70d94bdd2c
KEYMAPPER: Allow simple events to be added to an Action
...
This also simplifies the Action code a little bit
2012-02-02 19:05:05 -06:00
Klaus Reimer
7ee77cbd26
WEBOS: Renamed "Touchpad Mode" to "Trackpad Mode" to prevent confusion because one of the target devices is called the "HP Touchpad".
2012-01-28 11:44:31 +01:00
dhewg
51778ed4af
TASKBAR: Fix compilation with mingw-w64
...
mingw-compat.h is not required for newer mingw-w64, all required
symbols are present in the system headers.
2012-01-23 18:41:45 +01:00
Travis Howell
8701e0a382
WINDOWS: Add default save paths for Windows NT4 onwards
2012-01-23 23:18:21 +11:00
David-John Willis
2294b8aa66
GPH: Fix silly copy/paste error in GP2X bundle target.
2012-01-23 12:16:04 +00:00
David-John Willis
7e0a88f69b
GPH: Move all dist files into own folder under dists.
...
* Update vairous GPH bundle targets to suit new layout.
* Also add .in input files so we can automatically update version numbers.
2012-01-22 16:53:32 +00:00
David-John Willis
b429096b36
OPENPANDORA: Move all dist files into own folder under dists.
...
* Update OpenPandora bundle targets to suit new layout.
* Also add .in input files so we can automatically update version numbers.
2012-01-22 16:53:31 +00:00
dhewg
cc98a1acea
WEBOS: Fix whitespace error
...
Random whitespace fix to kick off the OpenPandora toolchain on
buildbot.
2012-01-21 18:47:36 +01:00
Oystein Eftevaag
78baa27e0e
MACOSX: Moved an include a bit to make sure that some defines are there before they are actually used.
2012-01-17 15:19:54 -05:00
Oystein Eftevaag
ba1396954d
MACOSX: Changed CoreAudio deprecation check slightly to allow building with older SDKs
2012-01-14 12:12:10 -05:00
Oystein Eftevaag
85c8bd6e65
Merge pull request #157 from fingolfin/coreaudio
...
MACOSX: Use modern CoreAudio API on modern systems by default, cleanup
2012-01-14 14:00:40 -08:00
Max Horn
ad1c2a45f1
MACOSX: Default to new CoreAudio API on x86, and to old on PowerPC
...
The new API has been present since Mac OS X 10.5 (released four years ago,
in October 2007), and also since iOS 2.0 (thus, the iOS port may be able to
use it, too). Moreover, 10.5 was the last system to support PowerPC.
2012-01-14 19:36:24 +01:00
Oystein Eftevaag
09ce3407b1
OSX: Avoid use of NSString:stringWithCString, for OS X 10.2 and 10.3 compatibility
2012-01-14 11:04:58 -05:00
Tarek Soliman
37d77253cf
KEYMAPPER: Add failsafe code for popping into Keymapper itself
...
Thanks LordHoto
2012-01-07 22:08:57 -06:00
Tarek Soliman
d143872be6
KEYMAPPER: Constantify global keymap name
2012-01-07 21:20:29 -06:00
Tarek Soliman
82e0900678
KEYMAPPER: Rename inherit flag to transparent
...
Less confusing
2012-01-07 21:10:05 -06:00
Johannes Schickel
90178d9b87
OPENGL: Fix mouse cursor scaling.
2012-01-03 04:19:08 +01:00
Johannes Schickel
2af87fd4f0
VKEYBD: Fix cursor palette.
2012-01-03 02:13:40 +01:00
Johannes Schickel
1c2a21c42b
VKEYBD: Slight cleanup.
2012-01-03 02:13:33 +01:00
Johannes Schickel
24d99038e4
VKEYBD: Properly error out parsing if an area is defined again.
...
Formerly the code did never check whether ImageMap::createArea returned a
valid pointer and always just assumed so.
2012-01-03 02:13:26 +01:00
Johannes Schickel
d0ddd299a4
VKEYBD: Slight cleanup in ImageMap code.
2012-01-03 02:13:22 +01:00