aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/input.cpp
AgeCommit message (Collapse)Author
2010-07-17DEBUGGER: Simplify how our console debugger works / is usedMax Horn
* Remove _isAttached member var and isAttached method * Engines now always call the onFrame method; whether it does something is decided by the debugger class resp. its subclasses * Make detach() protected instead of private, so that subclasses can invoke it * Remove _detach_now member var (call detach() instead). * Rename _frame_countdown to _frameCountdown and properly document it. * Add more doxygen comments * Cleanup svn-id: r50963
2010-06-13When closing inventory, do not force input back to game-mode if commands ↵Nicola Mettifogo
need otherwise. svn-id: r49623
2010-05-24Fix warningEugene Sandulenko
svn-id: r49192
2010-05-22Cleanup (removed more Parallaction::getGameType() calls).Nicola Mettifogo
svn-id: r49147
2010-05-22Do not make the character walk towards the zone clicked upon by the user if ↵Nicola Mettifogo
it is marked for self-use. See patch 3003626. svn-id: r49137
2010-05-22Make sure hitZone always gets absolute game coordinates. Based on the patch ↵Nicola Mettifogo
3004658 by fuzzie. svn-id: r49135
2010-04-02Fix bug #2979193 - NIPPON: Crash at character introduction (regression). By ↵Travis Howell
restoring the kEngineBlockInput engine flag. svn-id: r48464
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2009-04-28Added in-game menu for BRA. Load/save is not supported yet.Nicola Mettifogo
svn-id: r40176
2009-03-23Merged GetData, HearData, SpeakData, PathData, ExamineData, MergeData into ↵Nicola Mettifogo
TypeData struct. This simplifies life a bit especially in the parsers. svn-id: r39645
2009-03-23Fully implemented scrolling.Nicola Mettifogo
svn-id: r39622
2009-03-16Added mouse cursor to BRA Amiga. To be perfected.Nicola Mettifogo
svn-id: r39434
2009-03-15Set mouse buffers in Amiga version of BRA, so selecting inventory object no ↵Travis Howell
longer crashes. svn-id: r39414
2009-03-15Added missing initializations.Nicola Mettifogo
svn-id: r39407
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-02-26Removed null*Ptr dummy objects, using SharedPtr's reset method to null ↵Nicola Mettifogo
pointers instead. svn-id: r38897
2009-02-26Cleanup of CommandExec and ProgramExec, and pushed down dependencies from ↵Nicola Mettifogo
exec.h. svn-id: r38892
2009-02-24Added preliminary code for following walker support in BRA.Nicola Mettifogo
svn-id: r38837
2009-02-24Changed interface to walk code, to better handle the differences between ↵Nicola Mettifogo
games. Moreover: * merged PathBuilder_BR into PathWalker_BR * implemented checkTrap routine for BRA svn-id: r38836
2009-02-23Cleanup.Nicola Mettifogo
svn-id: r38817
2009-01-04Made sure each event is processed only once. This wasn't always the case ↵Nicola Mettifogo
when _inputMode changed as a result of a game action. This also caused the comment mode to be apparently skipped. svn-id: r35725
2008-12-25Pushing down some header deps (on common/system.h, mostly)Max Horn
svn-id: r35542
2008-12-07Missing break statement caused many broken warning messages.Nicola Mettifogo
svn-id: r35271
2008-12-06Fixed positioning of overlayed graphics (dialogues, inventory, labels) in ↵Nicola Mettifogo
all locations. These items are now all handled in screen coordinates which are translated automatically by the renderer. svn-id: r35255
2008-12-06Implemented horizontal scrolling for BRA, by using a back buffer. Dialogues ↵Nicola Mettifogo
in scrollable locations are a bit messed up for the moment. svn-id: r35253
2008-11-08* removed the obsolete _quit flagNicola Mettifogo
* refactored most cleanup code for locations and game svn-id: r34939
2008-09-02Merging more of the GSoC 2008 RTL branch: PARALLACTIONNicola Mettifogo
svn-id: r34268
2008-08-31Fixed leak with Input class, introduced in commit 34206.Nicola Mettifogo
svn-id: r34224
2008-08-30Moved mouse cursor loading/handling to Input class.Nicola Mettifogo
svn-id: r34206
2008-08-21Removed unused code and structures, and a bit of cleanup.Nicola Mettifogo
svn-id: r34080
2008-08-04Merged revisions ↵Christopher Page
33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33624
2008-07-28Enforcing use of nullZonePtr only for nulling out pointers, as it is useless ↵Nicola Mettifogo
for comparisons. svn-id: r33384
2008-07-28Pick up/drop/open/close actions are now available in game.Nicola Mettifogo
svn-id: r33371
2008-07-25* Merged old input management flags into a single mouse status variable.Nicola Mettifogo
* Mouse is now displayed when it is needed, and hidden when it is not ;) svn-id: r33270
2008-07-24* Moved end intro and end game sequences code to gui.Nicola Mettifogo
* Rewrote all gui code to be run inside the main loop * Added code to avoid crashes when a scene with no standard background is drawn svn-id: r33260
2008-07-24Can't test a SharedPtr for nullity!Nicola Mettifogo
svn-id: r33258
2008-07-23Removed the historical waitUntilLeftClick function and adapted code to use ↵Nicola Mettifogo
the more general readInput and waitForButtonEvent. svn-id: r33226
2008-07-23Removed useless event management code and made readInput() more general.Nicola Mettifogo
svn-id: r33225
2008-07-23More decoupling of inventory code.Nicola Mettifogo
svn-id: r33224
2008-07-23Fixed mouse cursor when closing inventory.Nicola Mettifogo
svn-id: r33220
2008-07-23More merging of input code.Nicola Mettifogo
svn-id: r33219
2008-07-22Merged inventory input code from different files.Nicola Mettifogo
svn-id: r33198
2008-07-22Removed unneeded input code.Nicola Mettifogo
svn-id: r33189
2008-07-22Changed comment display code so that input polling is integrated into the ↵Nicola Mettifogo
main loop, instead of being performed in a blocking way from a separate routine. svn-id: r33188
2008-07-21Merged revisions ↵Christopher Page
33052-33053,33056-33058,33061-33064,33068,33070,33072,33075,33078-33079,33083,33086-33087,33089,33094-33096,33098-33099,33104,33108-33109,33114-33117,33120,33135-33146,33160,33162,33165,33167-33169 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33183
2008-07-21Some refactoring for tracking of floating labels.Nicola Mettifogo
svn-id: r33165
2008-07-21Massive refactoring of dialogue code, which is now implemented as a finite ↵Nicola Mettifogo
state machine. Related code in other files has been updated has well. svn-id: r33162
2008-07-16Quit and RTL code is more modular now. EVENT_RTL no longer sets ↵Christopher Page
_shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed svn-id: r33082
2008-07-14Merged revisions ↵Christopher Page
32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33051
2008-07-11Moved program and command execution code out of the engine, into their own ↵Nicola Mettifogo
brand new classes. svn-id: r33003