Commit Graph

4932 Commits

Author SHA1 Message Date
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
Johannes Schickel
c98a123f4c VKEYBD: Some formatting fixes. 2012-01-03 02:13:19 +01:00
Strangerke
e2ded73d92 MISC: This is year 2012 2012-01-01 11:49:41 +01:00
Tarek Soliman
b89bc000d9 KEYMAPPER: Remap dialog shows buttons before labels 2011-12-30 15:52:40 -06:00
Tarek Soliman
16d529cdc3 KEYMAPPER: Use single column in remap dialog
This is to allow for long labels like in the eob keymap
2011-12-30 15:52:40 -06:00
Tarek Soliman
0e0eddbab3 KEYMAPPER: Fix clear button behavior in remap dialog
This is a regression from 1b11139dc5
2011-12-30 13:13:41 -06:00
Tarek Soliman
366a942a3a KEYMAPPER: Simplify calling getKeymap 2011-12-30 13:03:39 -06:00
Filippos Karapetis
a473934abd COMMON: Perform some keymapper-related changes to the KeyState struct
The == operator in KeyState should not be checking for sticky modifier
keys. This allows the keymapper's defined actions to function correctly
in desktop platforms, when sticky modifier keys such as caps lock and
num lock are turned on. Also, added some sanity checks to hasFlags()
and enums for sticky and non-sticky keys
2011-12-30 13:59:55 +02:00
Filippos Karapetis
d55ce36268 KEYMAPPER: Use hasFlags() in findHardwareKey() 2011-12-30 01:15:06 +02:00
Filippos Karapetis
1d3ff35373 KEYMAPPER: Disable the (accidentally reenabled automatic mapper again 2011-12-30 00:12:45 +02:00
Filippos Karapetis
410c9e0b30 KEYMAPPER: Fix broken implementation of findHardwareKey()
This fixes the keymapper dialog (at least on desktop platforms), but the
keymapper itself is still not working (tested with LoL)
2011-12-30 00:09:10 +02:00
Johannes Schickel
772aecf5f8 OPENGLSDL: Simplify the code a bit. 2011-12-15 21:53:09 +01:00
Johannes Schickel
c91b6d7d35 OPENGLSDL: Fix video mode initialization for 640x400 games with AR enabled.
Formerly they always used a height of 240 * scaleFactor, which would for
exmaple make the games requesting a 1x scaler use a height of 240 if AR
is enabled.

This was a regression from b8dcd9a25e.
2011-12-15 21:48:14 +01:00
Filippos Karapetis
5eb592a1c9 WIN32: Fix build by adapting to the latest Archive changes 2011-12-13 22:47:46 +02:00
Alyssa Milburn
c780b58e88 ANDROID: Fix assert in JavaInputStream (thanks clone2727). 2011-12-13 18:44:58 +01:00
Alyssa Milburn
6c790ea6a7 ANDROID: Fix compilation by adapting to latest Archive changes (thanks LordHoto). 2011-12-13 18:37:33 +01:00
Johannes Schickel
d085f4f4e2 WIN32: (Hopefully) fix compilation by adapting to latest Archive changes. 2011-12-13 18:29:40 +01:00
Tarek Soliman
1b11139dc5 KEYMAPPER: Switch to using addClearButton() 2011-12-13 08:37:19 -06:00
Filippos Karapetis
d6ee5988d2 Merge pull request #137 from fingolfin/various-cleanup
Various cleanup
2011-12-13 03:12:43 -08:00
Tarek Soliman
feb04d2164 KEYMAPPER: Add Common::KeyActionEntry for making simple keymap tables 2011-12-12 20:18:40 -06:00
Max Horn
9095de4674 MACOSX: Optionally allow building against "new" (10.5+) CoreAudio API
This silences a bunch of deprecation warnings when compiling on any current
system. Moreover, the new API is available on the iPhone, so perhaps this
is interesting for the iPhone port, too.

On the long run, ScummVM will have to switch to the new API, as Apple
will eventually drop the old one.
2011-12-12 16:46:50 +01:00
Max Horn
fe79ce5038 AUDIO: Add endian FIXME to timdity code 2011-12-12 16:27:41 +01:00
Tarek Soliman
4b315b1f15 MAEMO: Remove i386 from Architecture field of debian/control
It confuses the maemo.org autobuilder which tries to build x86 builds with ARMisms in them
2011-12-04 21:23:04 -06:00
CeRiAl
cc81dfed17 WINCE: Update port specific README 2011-12-05 01:44:34 +01:00
CeRiAl
19228af107 WINCE: Update port specific README 2011-12-05 00:40:58 +01:00
Tarek Soliman
29b1f9f517 MAEMO: Add fields to debian/control 2011-12-03 13:34:05 -06:00
Tarek Soliman
fda6e1534b MAEMO: Fix zoom key capture on N900 (fixes bug#3443037)
This was semi-intentionally skipped in the intial port revival
because the focus was on N810 at the time.

This is mostly copied from the old 1.2.1 port and then cleaned up.
2011-11-29 14:39:15 -06:00
Tarek Soliman
29c0386f2c MAEMO: Add basic graphics manager 2011-11-29 13:38:17 -06:00
Tarek Soliman
dabea2b515 MAMEO: Add GMM keybinding for N900 (fix bug #3443043)
The keybinding is Ctrl-Shift-m.
Ctrl-m is more desirable but is toggling mouse capture.
2011-11-29 11:25:58 -06:00
Christoph Mallon
6a9ab747f9 PS2: Remove the unused method OSystem_PS2::grabRawScreen().
This was removed from OSystem in b51f2f3212.
2011-11-27 13:11:58 +01:00
Christoph Mallon
89ccde3948 DS: Remove the unused method OSystem_DS::grabRawScreen().
This was removed from OSystem in b51f2f3212.
2011-11-27 13:09:47 +01:00
Christoph Mallon
a78b2d777d JANITORIAL: Remove extra semicolons. 2011-11-27 12:54:22 +01:00
Tarek Soliman
c451bd4340 MAEMO: Make setupIcon do nothing
It seems N900 is hit by SDL_WM_SetIcon bug (window cannot receive input)
http://bugzilla.libsdl.org/show_bug.cgi?id=586

This fix is based on the old 1.2.1 Maemo port code
2011-11-24 23:06:21 -06:00
Christoph Mallon
e578cb8976 ALL: Remove unnecessary forward declarations. 2011-11-21 15:59:19 +01:00
Johannes Schickel
8f58ddefc6 ALL: Remove more m4/mads leftovers.
Some project files (iPhone) and backend files (Symbian) still reference m4.dat,
but I know not enough on how to remove that without breaking something.
2011-11-20 04:34:22 +01:00
Eugene Sandulenko
5420ad7619 Merge pull request #114 from tsoliman/keymapper2
KEYMAPPER: Keymapper improvements 2
2011-11-17 14:22:48 -08:00
Alyssa Milburn
5647637ea2 COMMON: Move <new> include into scummsys.h.
The header contains forbidden symbols on some platforms, and the
simplest solution seems to be to include it here. This also includes
it from all the portdefs.h files, except the Symbian one. Probably
the FIXME and the #if can be removed once it's known to work.
2011-11-17 12:46:44 +01:00
Willem Jan Palenstijn
f17b9bc5cb COMMON: Remove outdated fixme 2011-11-17 10:29:11 +01:00
Johannes Schickel
61795739f8 COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
Tarek Soliman
7a225191b0 MAEMO: Update debian/changelog to version 1.5.0~git 2011-11-15 15:00:13 -06:00
Tarek Soliman
09697a9c31 MAEMO: Update debian/changelog with 1.4 release 2011-11-15 15:00:13 -06:00
Tarek Soliman
b708d6de79 Revert "KEYMAPPER: Make global keymap that is always active"
This reverts commit ac85d134b3.
2011-11-02 10:16:16 -05:00
Tarek Soliman
57bc9a21cc KEYMAPPER: Improved clear button
It uses the fancy new kImageEraser now
2011-10-28 22:53:30 -05:00
Tarek Soliman
07f1c2032a KEYMAPPER: Add tooltip text for clear buttons 2011-10-28 22:51:53 -05:00
Tarek Soliman
b8ef739d14 KEYMAPPER: Only skip the top GUI keymap when populating the active keymap
This is because the top GUI keymap is for the keymapper dialog itself.
If all GUI keymaps are skipped then when inside a game with the GMM displayed
and the keymapper dialog invoked, the game keymap is displayed even though it
is not the active one.
2011-10-27 10:46:23 -05:00
Tarek Soliman
a5082ffa5d KEYMAPPER: Skip GUI keymap when displaying active keymap in keymapper dialog
This fixes a problem where opening the keymapper dialog would cause the current game
keymap to be displayed as the active keymap but then changing the keymap selection
back to it would cause the GUI keymap to be displayed as the active one. The GUI keymap
was indeed at the top of the stack but that's not the desired effect.

Also move the pushing and popping of the keymap to Dialog::Open/Close
Also constantify the GUI keymap name
2011-10-27 10:46:22 -05:00