Commit Graph
200 Commits
Author SHA1 Message Date
Max Horn 558a28f69d Removing WinCE specific code in ScummEngine_v7::processKeyboard -- it made no sense at all. If this breaks something, please contact me so that we can properly fix it together
svn-id: r27674
2007-06-23 16:07:38 +00:00
Max Horn f18132f5b8 Simplify code: Since processInput() always overwrite the value of lastKeyHit if KEY_ALL_SKIP is seen, we can never encounter KEY_ALL_SKIP at this spot
svn-id: r27673
2007-06-23 16:05:38 +00:00
Max Horn 4297ccc964 Revised SCUMM's input code. We now fix the keys F5, '.', space, escape for mainmenu, talkstop, pause, cutsceneExit; this simplifies and clarifies the code, and ensures consistent game behavior
svn-id: r27672
2007-06-23 16:02:50 +00:00
Max Horn dcae6d14a4 Changed the way VAR_VERSION_KEY is handled
svn-id: r27665
2007-06-23 14:16:04 +00:00
Max Horn 518cedec9d Moved F1 key remapping in COMI to a more appropriate place
svn-id: r27663
2007-06-23 12:31:42 +00:00
Travis Howell 0a21b0c1f1 Correct typo.
svn-id: r27662
2007-06-23 12:24:49 +00:00
Max Horn 302da0b855 SCUMM: Added three FIXME comments to the _keyDownMap code, and made it use KEYCODE_ constants for clarity
svn-id: r27659
2007-06-23 11:53:24 +00:00
Max Horn 3ce5f8abf3 Made use of full Common::KeyState in SCUMM (there is still lots of room for improvements, though)
svn-id: r27656
2007-06-23 10:46:32 +00:00
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 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
Max Horn cd6f145577 Modified version of patch #1723779: SCUMM: Improved ctrl+t subtitle cycling
svn-id: r27068
2007-06-03 17:32:42 +00:00
Max Horn 218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn c9bee38839 Modified version of patch #1727045 INDY3: IQ Points Dialog
svn-id: r27012
2007-05-30 16:40:11 +00:00
Eugene Sandulenko ac45c5b33d Fix bug #1709430: "FT: CAPSLOCK + V enables cheating for all fights"
svn-id: r26948
2007-05-26 18:12:12 +00:00
Gregory Montoir 5aca9dce8c added the instance of EventManager returned by OSystem::getEventManager as a member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it.
svn-id: r26357
2007-04-01 17:36:13 +00:00
Max Horn ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Max Horn 15d9bc42ea Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
svn-id: r26156
2007-03-17 00:53:21 +00:00
Travis Howell 4730229dff Add F1 - F3 keys for Apple II and Commodore 64 verisons of Maniac Mansion.
svn-id: r26004
2007-03-06 09:21:41 +00:00
Travis Howell 19d2310b71 Add support for using disks images for Apple II version of Maniac Mansion.
svn-id: r25846
2007-02-25 07:23:52 +00:00
Max Horn 6899e72be9 Got rid of GF_DIGI_IMUSE and GF_NEW_CAMERA
svn-id: r25454
2007-02-10 02:05:59 +00:00
Gregory Montoir 8863ad6279 added arrow keys mapping to match behavior of original interpreter (dialogue choices can still be selected using the mouse wheel)
svn-id: r25053
2007-01-08 12:32:26 +00:00
Gregory Montoir 216bcae211 possible fix for bug #1193185
svn-id: r25051
2007-01-07 23:18:18 +00:00
Max Horn 8a32720213 Patch #1296058: Showing the original save/load dialog (see also RFE #832460)
svn-id: r24832
2006-12-10 14:28:37 +00:00
Bertrand Augereau 4047798196 Missing include file (for ScummEngine_v6 symbol)
svn-id: r24508
2006-10-25 20:07:32 +00:00
Max Horn 84874caf06 Got rid of ScummEngine::_confirmExit, and some other minor cleanup
svn-id: r24319
2006-10-15 00:50:22 +00:00
Kostas Nakos 4524b49872 Initial commit of the wince-gcc re-port
svn-id: r24212
2006-10-08 18:15:18 +00:00
Max Horn 9cba143699 Removed _lastKeyHit, instead pass the key code as a parameter to processKeyboard()
svn-id: r24176
2006-10-07 17:49:05 +00:00
Max Horn ff6731e00a Removed 'smushMode' param from processInput and processKeyboard in favor of a new member _smushActive of ScummEngine_v7
svn-id: r24175
2006-10-07 17:42:32 +00:00
Max Horn 71bea97de7 Clarified comment
svn-id: r24174
2006-10-07 15:46:38 +00:00
Max Horn 5f0874ef63 Some more processKeyboard splitting
svn-id: r24167
2006-10-07 13:31:27 +00:00
Max Horn f3e410a2ac Further split processKeyboard code, moving stuff specific to some SCUMM version into the resp. subclass of ScummEngine
svn-id: r24166
2006-10-07 13:11:51 +00:00
Max Horn c3fb1fbcd4 Moved SCUMM keyboard handling code from processInput() to the new (sub)method processKeyboard
svn-id: r24165
2006-10-07 12:33:22 +00:00
Max Horn f13e4baaf9 Renemaed ScummEngine::processKbd to processInput (as it also deals with the mouse)
svn-id: r24164
2006-10-07 12:19:28 +00:00
Max Horn ef30cdf78b some HE related cleanup
svn-id: r24163
2006-10-07 11:54:50 +00:00
Max Horn 51017cf1b2 Renamed ScummEngine::res to _res and allocate the ResourceManager on the heap (i.e. _res is a pointer now)
svn-id: r23922
2006-09-17 20:36:48 +00:00
Max Horn 40835e42b9 There is no need anymore to report EVENT_SCREEN_CHANGED changes to the GUI code
svn-id: r23668
2006-08-04 18:01:43 +00:00
Torbjörn Andersson 6358547a43 More whitespace changes.
svn-id: r23496
2006-07-14 13:33:58 +00:00
Travis Howell 93a91f9c6d Update talkspeed config setting, when set by game scripts
svn-id: r22853
2006-06-03 03:51:17 +00:00
Torbjörn Andersson 076f489107 If the options dialog calls it "Subtitle speed", then so should the indicator
displayed when pressing the + or - keys.

svn-id: r22485
2006-05-16 07:41:48 +00:00
Max Horn 0d6362ea48 Patch #1091170: ALL, SCUMM: Subtitle speed control
svn-id: r22456
2006-05-13 17:30:04 +00:00
Max Horn 111ab60a87 Fix insult fight (MI1) mouse wheel scrolling, hopefully also for the SEGA version (see also bug #1193185)
svn-id: r22283
2006-05-02 23:10:25 +00:00
Max Horn eaca27a33b Renamed updateVolumes to updateSoundSettings -- now it also handles subtitles/speech_mute settings. Also changed the ConfigDialog accordingly
svn-id: r22233
2006-04-29 23:09:40 +00:00
Max Horn c4df5037dc * Renamed several methods in favor of a somewhat more uniform naming scheme: setupFOO for stuff that inits static data (i.e. will be called only once, or after loading savegames), vs. resetFOO / updateFOO methods which are called frequently and (re)set dynamic data.
* Doing this, split scummInit into setupScumm and resetScumm methods
* Moved some init code to new methods (huuuuge init methods are hard to read, and hard to customize using subclassing)
* Renmaed various setup???Palette methods to set???Palette
* Some minor cleanup / tweaks

svn-id: r22227
2006-04-29 16:24:39 +00:00
Max Horn 39e9853d91 * Added ScummEngine_v8::initScummVars()
* Moved VAR_LANGUAGE to class ScummEngine_v8
* Minor cleanup

svn-id: r22223
2006-04-29 13:56:36 +00:00
Johannes Schickel 3f76984a41 Let scumm engine handle EVENT_SCREEN_CHANGED and let the gui know. (Needed for disabling overlay scaling)
svn-id: r22026
2006-04-19 06:23:49 +00:00
Max Horn 74edd90aba Fix for bug #1471383: Instead of overloading ConfigManager::set, we now have new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch)
svn-id: r21951
2006-04-16 19:23:14 +00:00
Max Horn 81e8a2860e Moved iMUSE code to the new directory engines/scumm/imuse/
svn-id: r20801
2006-02-20 20:57:26 +00:00
Max Horn e389bcf497 Replaced _gameId, _version, _heversion, _features, _midi, _platform with a simple ScummGameSettings instance: _game
svn-id: r20795
2006-02-20 16:51:30 +00:00
Eugene Sandulenko 10c7835cfc Moved all he-specific source files to engines/scumm/he/ subdirectory
svn-id: r20696
2006-02-15 00:57:50 +00:00
Max Horn 26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00