aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/input.cpp
AgeCommit message (Collapse)Author
2007-06-29Introduced ClickArea enum, some related cleanup in runInputScript and ↵Max Horn
checkExecVerbs svn-id: r27778
2007-06-29SCUMM: Handle all triggers for the debugger console in the same spot, to ↵Max Horn
ensure uniform behavior svn-id: r27777
2007-06-29SCUMM: Moved code for handling KBD_ALT combos (well, really only one: Alt-W) ↵Max Horn
in MI2 to processKeyboard; some cleanup svn-id: r27776
2007-06-23More cleanupMax Horn
svn-id: r27678
2007-06-23Cleanup; also fixed Alt-F5 (orig. saveload menu) in COMIMax Horn
svn-id: r27677
2007-06-23Reworked the SCUMM input code even more: Merged various code paths and ↵Max Horn
streamlined stuff; as a consequence, e.g. talkstop works in V0-V2 games, too; but also regressions may turn up. Also don't rely on Common::ASCII_F1 etc. values to compute SCUMM specific key codes svn-id: r27675
2007-06-23Removing WinCE specific code in ScummEngine_v7::processKeyboard -- it made ↵Max Horn
no sense at all. If this breaks something, please contact me so that we can properly fix it together svn-id: r27674
2007-06-23Simplify code: Since processInput() always overwrite the value of lastKeyHit ↵Max Horn
if KEY_ALL_SKIP is seen, we can never encounter KEY_ALL_SKIP at this spot svn-id: r27673
2007-06-23Revised SCUMM's input code. We now fix the keys F5, '.', space, escape for ↵Max Horn
mainmenu, talkstop, pause, cutsceneExit; this simplifies and clarifies the code, and ensures consistent game behavior svn-id: r27672
2007-06-23Changed the way VAR_VERSION_KEY is handledMax Horn
svn-id: r27665
2007-06-23Moved F1 key remapping in COMI to a more appropriate placeMax Horn
svn-id: r27663
2007-06-23Correct typo.Travis Howell
svn-id: r27662
2007-06-23SCUMM: Added three FIXME comments to the _keyDownMap code, and made it use ↵Max Horn
KEYCODE_ constants for clarity svn-id: r27659
2007-06-23Made use of full Common::KeyState in SCUMM (there is still lots of room for ↵Max Horn
improvements, though) svn-id: r27656
2007-06-23Made SCUMM use Common::KeyState, too (but implemented almost no ↵Max Horn
fixes/optimizations based on this) svn-id: r27655
2007-06-22Converted lots of code to use Common::ASCII_* and COMMON::KEYCODE_* ↵Max Horn
constants. This also revealed the evil mixing of keycodes and ascii we do in many places :-/ svn-id: r27616
2007-06-03Modified version of patch #1723779: SCUMM: Improved ctrl+t subtitle cyclingMax Horn
svn-id: r27068
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-30Modified version of patch #1727045 INDY3: IQ Points DialogMax Horn
svn-id: r27012
2007-05-26Fix bug #1709430: "FT: CAPSLOCK + V enables cheating for all fights"Eugene Sandulenko
svn-id: r26948
2007-04-01added the instance of EventManager returned by OSystem::getEventManager as a ↵Gregory Montoir
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-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
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-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-03-06Add F1 - F3 keys for Apple II and Commodore 64 verisons of Maniac Mansion.Travis Howell
svn-id: r26004
2007-02-25Add support for using disks images for Apple II version of Maniac Mansion.Travis Howell
svn-id: r25846
2007-02-10Got rid of GF_DIGI_IMUSE and GF_NEW_CAMERAMax Horn
svn-id: r25454
2007-01-08added arrow keys mapping to match behavior of original interpreter (dialogue ↵Gregory Montoir
choices can still be selected using the mouse wheel) svn-id: r25053
2007-01-07possible fix for bug #1193185Gregory Montoir
svn-id: r25051
2006-12-10Patch #1296058: Showing the original save/load dialog (see also RFE #832460)Max Horn
svn-id: r24832
2006-10-25Missing include file (for ScummEngine_v6 symbol)Bertrand Augereau
svn-id: r24508
2006-10-15Got rid of ScummEngine::_confirmExit, and some other minor cleanupMax Horn
svn-id: r24319
2006-10-08Initial commit of the wince-gcc re-portKostas Nakos
svn-id: r24212
2006-10-07Removed _lastKeyHit, instead pass the key code as a parameter to ↵Max Horn
processKeyboard() svn-id: r24176
2006-10-07Removed 'smushMode' param from processInput and processKeyboard in favor of ↵Max Horn
a new member _smushActive of ScummEngine_v7 svn-id: r24175
2006-10-07Clarified commentMax Horn
svn-id: r24174
2006-10-07Some more processKeyboard splittingMax Horn
svn-id: r24167
2006-10-07Further split processKeyboard code, moving stuff specific to some SCUMM ↵Max Horn
version into the resp. subclass of ScummEngine svn-id: r24166
2006-10-07Moved SCUMM keyboard handling code from processInput() to the new ↵Max Horn
(sub)method processKeyboard svn-id: r24165
2006-10-07Renemaed ScummEngine::processKbd to processInput (as it also deals with the ↵Max Horn
mouse) svn-id: r24164
2006-10-07some HE related cleanupMax Horn
svn-id: r24163
2006-09-17Renamed ScummEngine::res to _res and allocate the ResourceManager on the ↵Max Horn
heap (i.e. _res is a pointer now) svn-id: r23922
2006-08-04There is no need anymore to report EVENT_SCREEN_CHANGED changes to the GUI codeMax Horn
svn-id: r23668
2006-07-14More whitespace changes.Torbjörn Andersson
svn-id: r23496
2006-06-03Update talkspeed config setting, when set by game scriptsTravis Howell
svn-id: r22853
2006-05-16If the options dialog calls it "Subtitle speed", then so should the indicatorTorbjörn Andersson
displayed when pressing the + or - keys. svn-id: r22485
2006-05-13Patch #1091170: ALL, SCUMM: Subtitle speed controlMax Horn
svn-id: r22456
2006-05-02Fix insult fight (MI1) mouse wheel scrolling, hopefully also for the SEGA ↵Max Horn
version (see also bug #1193185) svn-id: r22283
2006-04-29Renamed updateVolumes to updateSoundSettings -- now it also handles ↵Max Horn
subtitles/speech_mute settings. Also changed the ConfigDialog accordingly svn-id: r22233
2006-04-29* Renamed several methods in favor of a somewhat more uniform naming scheme: ↵Max Horn
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* Added ScummEngine_v8::initScummVars()Max Horn
* Moved VAR_LANGUAGE to class ScummEngine_v8 * Minor cleanup svn-id: r22223