aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/keyboard.cpp
AgeCommit message (Collapse)Author
2016-02-02AGI: Don't use status row for menu mouse triggerMartin Kiewitz
Use hardcoded first line instead In Donald Duck the status line is at line 24, but also hidden
2016-02-02AGI: mouse support for menuMartin Kiewitz
2016-02-01AGI: change how menus are triggered on Non-PCMartin Kiewitz
2016-02-01AGI: Revert revert the keyboard handling changesMartin Kiewitz
It seems the issues on AmigaOS aren't actually caused by the new code. Reverting the revert.
2016-02-01AGI: Keyboard handling changeMartin Kiewitz
It seems the current code causes issues on at least AmigaOS. Changed current code to the way SCI handled it. Needs to get investigated in detail. Added FIXME. Also see engines/sci/event.cpp
2016-02-01AGI: implement predictive dialogMartin Kiewitz
2016-01-31AGI: remove timer hack, implement in game timerMartin Kiewitz
in game timer is now updated, when scripts read in game timer VM variables and during main loop. ScummVM total play time feature is used for it. Game cycle syncing is done at the same time.
2016-01-31AGI: getflag/setflag/etc. cleanupMartin Kiewitz
renamed getflag() to getFlag() renamed setflag() to setFlag() renamed flipflag() to flipFlag() preagi: renamed setFlag for this engine to setWinnieFlag
2016-01-31AGI: VM Var code cleanupMartin Kiewitz
Don't access variables directly, but through method Shouldn't include any functional differences Also changed several hardcoded values to the corresponding enums.
2016-01-31AGI: change key -> direction handlingMartin Kiewitz
After the VM Var 6 <-> ego direction change, this is required Also our original behavior was inaccurate in that part as well.
2016-01-30AGI: fix keyboard input code for keycodesMartin Kiewitz
Reset key, when no valid .ascii was received.
2016-01-29AGI: add hack to make numpad cursor keys workMartin Kiewitz
should probably get fixed at some point in backend
2016-01-29AGI: graphics rewrite + cleanupMartin Kiewitz
- graphics code fully rewritten - Apple IIgs font support - Amiga Topaz support - Word parser rewritten - menu code rewritten - removed forced 2 second delay on all room changes replaced with heuristic to detect situations, where it's required - lots of naming cleanup - new console commands show_map, screenobj, vmvars and vmflags - all sorts of hacks/workarounds removed - added SCI wait mouse cursor - added Apple IIgs mouse cursor - added Atari ST mouse cursor - added Amiga/Apple IIgs transition - added Atari ST transition - user can select another render mode and use Apple IIgs palette + transition for PC versions - inventory screen rewritten - SetSimple command now properly implemented - PreAGI Mickey: Sierra logo now shown - saved games: now saving controller key mapping also saving automatic save data (SetSimple command) - fixed invalid memory access when saving games (31 bytes were saved using Common::String c_ptr() Special Thanks to: - fuzzie for helping out with the Apple IIgs font + valgrind - eriktorbjorn for helping out with valgrind - LordHoto for figuring out the code, that caused invalid memory access in the original code, when saving a game - sev for help out with reversing the Amiga transition currently missing: - mouse support for menu - mouse support for system dialogs - predictive dialog support
2014-02-18AGI: Make GPL headers consistent in themselves.Johannes Schickel
2012-03-25GUI: Move predictive dialog to common guiOleksiy Kurochko
2011-09-26AGI: Marked 4070342 as a workaroundFilippos Karapetis
2011-09-26AGI: Fix for bug #3018770 - "AGI: PQ1: Flickering newspaper"Filippos Karapetis
2011-09-26AGI: Fixed bug #3074570 - "AGI LSL1: TAB stops working after restart"Filippos Karapetis
Applied eriktorbjorn's patch from that bug tracker item (slightly modified), which is what NAGI does, and which fixes restarting in LSL1 and PQ1 (bug #2823762), and other AGI games that do not reset the controller keys when restarting.
2011-08-14AGI: Renamed some #defines to our code conventions and moved them to enumsEugene Sandulenko
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-24AGI: Fix bug #3087825: AGI: Code analysis warningsEugene Sandulenko
2010-10-26AGI: Replace report() macro by debug() / warning()Max Horn
This makes AGI quite a bit less noisy by default. svn-id: r53868
2010-06-15Fix spelling, cleanupMax Horn
svn-id: r49843
2010-06-15AGI: Fix bug #2825273.Eugene Sandulenko
Bug #2825273: "AGI: KQ4: Dwarf sequence". Always allow ESC to work in KQ4. svn-id: r49746
2010-06-15AGI: Fix bug #1875842.Eugene Sandulenko
Bug #1875842: "AGI: Character loses final walking position". Do not reset ADJ_EGO_XY if non-directional keys were pressed. svn-id: r49744
2010-06-15AGI: add more status-related debug output.Eugene Sandulenko
svn-id: r49731
2010-01-03Reduce header dependencies for AGI engine.Eugene Sandulenko
svn-id: r46942
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-20AGI: Make scancodeTable constMax Horn
svn-id: r45261
2009-10-20AGI: Turn g_tickTimer & g_mouse into members of class AgiEngine resp. AgiBaseMax Horn
svn-id: r45259
2009-07-22Move functions from agi.cpp to more appropriate files.Eugene Sandulenko
svn-id: r42662
2009-07-22Fix bug #2823759: "AGI: PQ1 help not showing the first time you press F1"Eugene Sandulenko
svn-id: r42659
2009-06-06Correct implementation for set.key opcode. Fixes #2605104: "AGI: Manhunter, ↵Eugene Sandulenko
F3 hotkey dosent work", removed number of hacks svn-id: r41259
2009-06-06CleanupEugene Sandulenko
svn-id: r41254
2009-06-06Fix bug #2721940: "AGI: Gold Rush! Restart Option differs from original"Eugene Sandulenko
svn-id: r41243
2009-06-06Whitespace fixes and C++ commentsEugene Sandulenko
svn-id: r41239
2009-05-19Start of fixing bug #2537054: "AGI: Using GMM to load causes graphics glitches"Eugene Sandulenko
The engine still crashes when load from GMM occured with a text box on screen. svn-id: r40733
2009-05-11Fix bug #1946262: "LSL1: Age Verification answer input not working"Eugene Sandulenko
svn-id: r40468
2009-02-12Fix for bug #2541237 - "AGI: Restart quits ScummVM"Filippos Karapetis
svn-id: r36279
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-27typoWillem Jan Palenstijn
svn-id: r36109
2009-01-06Added a few more shouldQuit() checks. It's now possible to quit while, forTorbjörn Andersson
instance, Leisure Suit Larry is waiting for you to enter your age. svn-id: r35761
2008-04-29Update AGI timers while waiting for a key to be pressed (e.g. when showing ↵Filippos Karapetis
blocking text windows). Fixes bugs #1935909 and #1943872 svn-id: r31777
2008-04-10Initial attempt at handling non-default AGI game input promptFilippos Karapetis
svn-id: r31477
2008-04-10Allow the predictive dialog to be shown when ego cannot be moved (i.e. when ↵Filippos Karapetis
_game.playerControl is 0), since in those cases it is possible to enter text in the input area. Should fix bugs #1935844 - "PQ1: Predictive Text does not load" and #1936374 - "LSL1: No predictive input at age verification page" svn-id: r31462
2008-01-10Remove disabling of moving using mouse in mines in Amiga's Gold Rush ↵Kari Salminen
introduced in r30375. So bug #1733297 remains although not stricly in its original form (Moving using mouse in the mines bugs still but not identically as when the bug report was given). svn-id: r30377
2008-01-10Disable moving using mouse in mines (Rooms 147-162) and ↵Kari Salminen
'adj.ego.move.to.x.y'-command (Which uses 2 arguments) in Amiga's Gold Rush. This temporary hack fixes bug #1733297 (GR: Actor stuck (Amiga version)). svn-id: r30375
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-07-17Re-enabled the 3 entries that can't have menus (KQ3 ST, KQ3 DOS 1.01, SQ1 ↵Filippos Karapetis
DOS 1.0X). The ESC key will pause the game in those 3 games svn-id: r28129
2007-07-15Enabled menus in some old AGI games (released in 1986) which did not have ↵Filippos Karapetis
menus them originally: KQ1 Amiga and ST and early versions of KQ3 Amiga, SQ1 ST, SQ1 DOS and SQ1 Amiga. The GF_FORCEMENUS flag has been remaned to GF_MENUS. Also, two problematic versions of KQ3, a problematic version of SQ1 and a problematic version of Mixed up Mother Goose have been disabled. Finally, a duplicate detection entry for SQ1 has been removed svn-id: r28095