21973 Commits

Author SHA1 Message Date
Max Horn
4e4358e8c3 Made SCUMM use Common::KeyState, too (but implemented almost no fixes/optimizations based on this)
svn-id: r27655
2007-06-23 10:38:03 +00:00
Max Horn
2bbe67afdf Added more flexible KeyState constructor; updated comment in gui/Key.h
svn-id: r27654
2007-06-23 10:06:39 +00:00
Oystein Eftevaag
40e7a533ee MacOS X bundle changes (copying in engine data files, pred.dic, and updated DS_Store
svn-id: r27652
2007-06-23 09:29:06 +00:00
Oystein Eftevaag
d4aeb680cf Minor formatting fix
svn-id: r27651
2007-06-23 08:58:36 +00:00
Oystein Eftevaag
62a28d0864 Applying patch 1669536: Kyra2: Intro fixes
svn-id: r27650
2007-06-23 08:42:30 +00:00
Travis Howell
5505801533 Minor cleanup.
svn-id: r27649
2007-06-23 08:26:18 +00:00
Travis Howell
d36ca0f7a5 Ooops, adjust Elvira 2 specific offset too.
svn-id: r27648
2007-06-23 07:49:17 +00:00
Travis Howell
ee143c01ed Minor cleanup.
svn-id: r27646
2007-06-23 07:40:25 +00:00
Travis Howell
f311ca82ce Fix alignment issue in setWindowPalete video opcode.
svn-id: r27645
2007-06-23 07:25:50 +00:00
Filippos Karapetis
d8dc693578 Update MSVC8 ScummVM project file for commit #27640
svn-id: r27644
2007-06-23 00:42:26 +00:00
Max Horn
f97cbb8294 Update GUI::Key constructs
svn-id: r27643
2007-06-23 00:05:32 +00:00
Max Horn
05a70fc8e4 Produce 'correct' keycode/ascii values for function keys
svn-id: r27642
2007-06-22 23:43:17 +00:00
Max Horn
d9718b0684 Do not use SCUMMVM_USE_LONG_INT on _MSC_VER anymore (if it *is* needed after all, speak up -- that FIXME has been in there for far too long, however)
svn-id: r27641
2007-06-22 23:27:32 +00:00
Max Horn
e7a58d9369 Moved keyboard stuff to a separate header file
svn-id: r27640
2007-06-22 23:20:50 +00:00
Max Horn
86dffa1dc9 0xD -> Common::KEYCODE_RETURN
svn-id: r27639
2007-06-22 23:14:33 +00:00
Max Horn
8a721de91c AGI: Properly handle backspace key on all systems, not just OS X
svn-id: r27638
2007-06-22 23:12:24 +00:00
Max Horn
a041ef2317 Slightly updated key handling in BS2, Kyra, and Touche
svn-id: r27637
2007-06-22 23:03:12 +00:00
Max Horn
d0ee1b3c8f BS1: Make use of Common::KeySate::reset()
svn-id: r27636
2007-06-22 22:19:17 +00:00
Max Horn
05ca0d86ba Converted BASS to use Common::KeyState
svn-id: r27635
2007-06-22 22:18:56 +00:00
Max Horn
c690cad67f Added constructor & reset() method to Common::KeyState
svn-id: r27634
2007-06-22 22:18:15 +00:00
Filippos Karapetis
b85320fa69 Fix MSVC8 warning
svn-id: r27633
2007-06-22 22:14:35 +00:00
Joost Peters
cd8f5dc521 fix compilation by casting the %, {, }, | and ~ keycode "magic" numbers to Common::KeyCode
svn-id: r27632
2007-06-22 22:06:25 +00:00
Max Horn
1441f0d044 Converted rest of BS1 to use Common::KeyState (removing two more hacks)
svn-id: r27631
2007-06-22 22:00:46 +00:00
Max Horn
8cfb778bfa Adding two missing #includes to fix compilation. *sigh* I am really bad at double checking my commits tonight. Sorry, folks
svn-id: r27630
2007-06-22 21:58:32 +00:00
Filippos Karapetis
f974a3c48e Update MSVC8 lure project file for commits #27604 and #27608
svn-id: r27629
2007-06-22 21:42:00 +00:00
Max Horn
d21b8c43d0 Converted some more code to make use of Common::KEYCODE_ / Common::ASCII_
svn-id: r27628
2007-06-22 21:38:34 +00:00
Max Horn
c9030e4653 Made BS1 track the full KeyState upon KEYDOWN events (this makes it possible to remove to workaround for Mac keyboards)
svn-id: r27627
2007-06-22 21:34:03 +00:00
Max Horn
753eee6d0c Promoted the struct inside Common::Event which captures the keystate to a full-blown independent struct named KeyState (makes it easier for engines to capture the full keystate, instead of only the keycode or only the ascii/unicode value)
svn-id: r27626
2007-06-22 21:32:49 +00:00
Max Horn
2fa0a5c457 Cleaning up after myself (I blame it on, err, uhh... the Vogons?)
svn-id: r27625
2007-06-22 21:16:07 +00:00
Max Horn
54d668ac13 Changed more code to use Common::KEYCODE_ enum
svn-id: r27624
2007-06-22 21:10:57 +00:00
Max Horn
e8a4d396fe Get rid of FOTAQ's own KeyCode enum in favor of Common::KeyCode (attention: the F12 quickload hotkey used to be incorrectly mapped to F6, this change 'fixes' that)
svn-id: r27623
2007-06-22 20:51:37 +00:00
Max Horn
85bf0f6d6b Added Common::KEYCODE_INALID
svn-id: r27622
2007-06-22 20:51:13 +00:00
Max Horn
264008f2b3 Oops, forgot Common:: qualifier
svn-id: r27621
2007-06-22 20:43:30 +00:00
Max Horn
4b50a4ffe2 Potential fix for PSP build problems
svn-id: r27620
2007-06-22 20:40:17 +00:00
Max Horn
8a658e0187 Added 'ASCII_' enum values for certain standard keys, and update comment
svn-id: r27619
2007-06-22 20:33:51 +00:00
Max Horn
17a75e7bd3 Replace tabs by spaces in keycode enum, to ensure proper indention
svn-id: r27618
2007-06-22 20:30:52 +00:00
Torbjörn Andersson
90e1169581 Work around a crash when quitting Simon 2. If this is the proper fix, it should
almost certainly go into the 0.10 branch as well.

svn-id: r27617
2007-06-22 20:20:34 +00:00
Max Horn
2b23374468 Converted lots of code to use Common::ASCII_* and COMMON::KEYCODE_* constants. This also revealed the evil mixing of keycodes and ascii we do in many places :-/
svn-id: r27616
2007-06-22 20:04:44 +00:00
Matthew Hoops
2496c5b554 fix compile (thanks salty-horse!)
svn-id: r27614
2007-06-22 18:57:07 +00:00
Max Horn
55f93678b8 Heavily modified/reduced version of patch #1741454 (EVENTS: ASCII enum)
svn-id: r27612
2007-06-22 17:51:51 +00:00
Max Horn
39405cbb25 Changed default buttons of MessageDialogs and mass add dialog to accept 'return' as hotkey for the default button, instead of 'enter' (resp. even 'nothing' on some systems)
svn-id: r27611
2007-06-22 17:51:17 +00:00
Torbjörn Andersson
73f760becd Don't include sdl_keysym.h. Use our Common::KEYCODE constants instead of SDLK
constants.

svn-id: r27609
2007-06-22 12:42:28 +00:00
Paul Gilbert
47bd4e500b Removed old debug input files no longer being used, and the Lure disassembly folder
svn-id: r27608
2007-06-22 12:40:30 +00:00
Paul Gilbert
5cb367681b Added entries for fights.cpp and sound.cpp
svn-id: r27607
2007-06-22 12:36:49 +00:00
Paul Gilbert
8b3821e9ff Lots of bugfixes - game is now completable
svn-id: r27606
2007-06-22 12:36:04 +00:00
Paul Gilbert
707e62e669 Implemented remaining script methods
svn-id: r27605
2007-06-22 12:31:27 +00:00
Paul Gilbert
5e92ea378f Initial commit
svn-id: r27604
2007-06-22 12:30:18 +00:00
Paul Gilbert
b923618844 Added extra information to some methods, and a new method to show an animation sequence
svn-id: r27603
2007-06-22 12:26:10 +00:00
Paul Gilbert
cabcfdcae1 Added missing scripts and animations for remainder of game, as well as missing fields from room data structures
svn-id: r27601
2007-06-22 12:19:59 +00:00
Torbjörn Andersson
e42da8f24c Use KEYCODE constants.
svn-id: r27600
2007-06-22 09:27:13 +00:00