Commit Graph
86814 Commits
Author SHA1 Message Date
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
Torbjörn Andersson 2db2fbfc51 Use KEYCODE constants.
svn-id: r27599
2007-06-22 07:52:53 +00:00
Torbjörn Andersson 4305483ad0 Use KEYCODE constants.
svn-id: r27598
2007-06-22 07:49:02 +00:00
Torbjörn Andersson 245c997260 Use KEYCODE constants.
svn-id: r27597
2007-06-22 07:34:07 +00:00
Torbjörn Andersson 6f655ddbe5 Use KEYCODE constants.
svn-id: r27596
2007-06-21 20:04:10 +00:00
Torbjörn Andersson b61738b270 Use KEYCODE constants. (Except for '~' which doesn't seem to have one.)
svn-id: r27595
2007-06-21 19:55:22 +00:00
Torbjörn Andersson db8e5332fc Use the KEYCODE constants.
svn-id: r27593
2007-06-21 19:33:05 +00:00
Max Horn bd9ba26109 Modified version of patch #1740493 (EVENTS: Event Key Codes)
svn-id: r27592
2007-06-21 18:35:15 +00:00
Torbjörn Andersson 8e2fd2ee73 Fixed freeing of invalid pointer, which would cause Operation Stealth to crash.
I don't know if the loadSet() / loadSetAbs() functions are every used in Future
Wars. If so, we should commit this to the branch as well.

svn-id: r27590
2007-06-21 17:24:27 +00:00
Travis Howell c42dada465 Revert debug output.
svn-id: r27583
2007-06-21 07:34:54 +00:00
Travis Howell b4041c450f Add font table for Spanish version of Elvira 2.
svn-id: r27582
2007-06-21 07:34:06 +00:00
Travis Howell 00829f15c8 Minor cleanup.
svn-id: r27580
2007-06-21 06:37:00 +00:00
Travis Howell d2e7058b59 Fix regressions, due to zoneNum changes.
svn-id: r27579
2007-06-21 05:26:47 +00:00
Travis Howell 64cafa0270 Fix regressions, due to buffer changes and cleanup.
svn-id: r27578
2007-06-21 05:10:42 +00:00
Travis Howell 89b2cf75e2 Use frameBuffer directly, in order to drop extra buffer (frontBuffer) and cleanup code.
svn-id: r27577
2007-06-21 03:14:20 +00:00
Travis Howell 3f5eb0f976 Add Italian DOS version of Elvira 2.
svn-id: r27573
2007-06-21 01:47:00 +00:00
Kari Salminen c8bbb6140f Add AGI256-2 support (On top of already present AGI256 support).
AGI256-2 means handling 256 color views/sprites (AGI256 means handling 256 color picture resources).
The code can now handle both 16 color and 256 color views/sprites in the same game.
FIXME: Background in AGI256-2 demo may be incorrect.

svn-id: r27572
2007-06-20 23:56:08 +00:00
Kari Salminen 0ebf986a1f Make putPixelsA-function use correct mask (0x0f normally for 16 colors, 0xff for 256 colors in AGI256 mode).
svn-id: r27571
2007-06-20 23:42:38 +00:00
Kari Salminen dbac0054c1 Make drawing & blitting always use the correct screen
(Always 16 color screen for vector stuff, 256 color screen for everything else in AGI256 mode).

svn-id: r27570
2007-06-20 23:36:59 +00:00
Kari Salminen d5822afe9e Add AGI256 picture resource loading using AGI command unknown170. Uses parts of patch #1728713.
svn-id: r27569
2007-06-20 23:18:24 +00:00
Kari Salminen 582fa4cdf0 Add AGI256 picture resource decoding support to PictureMgr::decodePicture.
svn-id: r27568
2007-06-20 23:12:38 +00:00
Kari Salminen ae74b06756 Add an additional AGI screen for 256 color data (For use with AGI256 and AGI256-2).
svn-id: r27564
2007-06-20 22:54:51 +00:00
Kari Salminen 9f1ec5cb7a Add AGI256 and AGI256-2 game feature flags to games that use them.
svn-id: r27562
2007-06-20 22:39:14 +00:00
Kari Salminen 8b4b8a95a0 svn-id: r27561 2007-06-20 22:16:18 +00:00
Max Horn 129955ab55 Fix for bug #1740241 (PSP: revision 27553 doesn't build)
svn-id: r27559
2007-06-20 19:11:36 +00:00
Matthew Hoops 218a2da5d4 typo - (returh => return) -- jvprat
svn-id: r27558
2007-06-20 17:52:24 +00:00