aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/op_cmd.cpp
AgeCommit message (Collapse)Author
2011-08-13AGI: Checked V1 instructions till 0x20Eugene Sandulenko
2011-08-13AGI: Further work on v1 opcode differenceEugene Sandulenko
2011-08-13AGI: Updates to V1 instruction table, plus an outcommented experimentJussi Pitkanen
The experiment tries to implement the program control of the V1 interpreter. Maybe it is better to add another method for doing that once the workings of it are more clear.
2011-08-13AGI: Fix warning messages about undefined opcodesJussi Pitkanen
2011-08-13AGI: Rename cmd_what_ever to cmdWhatEverJussi Pitkanen
2011-08-13AGI: Implement V1 SAID test commandsJussi Pitkanen
Yes, V1 has three versions of SAID, for one, two and three arguments. Also add a few corrections to V1 instruction tables.
2011-08-13AGI: Refactor interpreter core (somewhat akin to SCI)Jussi Pitkanen
* Instruction tables are now defined in opcodes.{cpp,h}. * Move opcode handlers from Agi::AgiEngine to Agi * Opcode handlers take as parameter a pointer to AGI state (AgiGame)
2011-08-13AGI: Use a jump table for test commands instead of switch/caseJussi Pitkanen
Preparations for V1 support.
2011-05-25ALL: behaviour -> behaviorMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
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-09-26AGI: Fix bug in cmd_cancel_line()Torbjörn Andersson
We have to update cursor position, not just terminate the input buffer. This makes Ctrl-C work as intended, which fixes one half of bug #3054184 ("SQ1 AGI: keyboard special keys are not functioning properly"). I'm not sure if the second half actually is a bug. svn-id: r52899
2010-07-26AGI: Fix spelling and formattingEugene Sandulenko
svn-id: r51310
2010-07-16Use "true" instead of "1" in if statements to make clang a bit more happier ↵Johannes Schickel
with -Werror. svn-id: r50943
2010-06-21AGI: Turn timerHack and curLogic into AgiEngine members; get rid of some ↵Max Horn
#defines svn-id: r50125
2010-06-21AGI: Change AGI commands/opcodes to member methodsMax Horn
svn-id: r50124
2010-06-18AGI: Change some #defines to enumsMax Horn
svn-id: r50033
2010-06-15AGI: Implemented immediate update for most of gfx to match original.Eugene Sandulenko
This fixes many subtle effects as in many cases there were no special pausing and engine relied only on the slowliness of the machine. svn-id: r49745
2010-06-15AGI: Fix bug #1945716.Eugene Sandulenko
Bug #1945716: "AGI: Fan(Kings Quest 2 1/4) - Sprite not erased". Added a workaround, since it is design flaw of our rendering system. svn-id: r49742
2010-06-15AGI: proper fix for sprite leftover-related bugs. Removed workarounds.Eugene Sandulenko
svn-id: r49741
2010-06-15AGI: improve script-related debug output.Eugene Sandulenko
svn-id: r49740
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-01-03Reduce header dependencies for AGI engine.Eugene Sandulenko
svn-id: r46942
2009-10-20AGI: Turn g_tickTimer & g_mouse into members of class AgiEngine resp. AgiBaseMax Horn
svn-id: r45259
2009-10-19AGI: Remove some global varsMax Horn
svn-id: r45255
2009-08-16Fix bug #2838551: "PSP: AGI games are unbearably slow"Eugene Sandulenko
svn-id: r43452
2009-07-14Partially fix automatic restarting of AGI games (Addresses bug #2798797 ↵Kari Salminen
('AGI: larry 1 doesn't restart after dying') but doesn't fully fix it. There seems to be more to the problem still. Automatic restarting after dying of an STD doesn't take away the STD-condition and Larry continues to die in a loop). svn-id: r42482
2009-06-15Run AGIMOUSE hack as a side effect alwaysEugene Sandulenko
svn-id: r41536
2009-06-06Add guard check to set.key opcode.Eugene Sandulenko
svn-id: r41260
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-06Implement fence.mouse opcodeEugene Sandulenko
svn-id: r41258
2009-06-06Implement hide.mouse and show.mouse opcodesEugene Sandulenko
svn-id: r41257
2009-06-06Implement allow.menu opcodeEugene Sandulenko
svn-id: r41256
2009-06-06Implement hold.key and release.key opcodesEugene Sandulenko
svn-id: r41255
2009-06-06CleanupEugene Sandulenko
svn-id: r41254
2009-06-06Implement cancel.line. Consider obj.status.f implementedEugene Sandulenko
svn-id: r41253
2009-06-06Implement debug commands "room" and "bt"Eugene Sandulenko
svn-id: r41249
2009-06-06Fix bug #1745954: "GR: Intro "jumpy" in parts (Amiga version)"Eugene Sandulenko
svn-id: r41244
2009-06-06Fix bug #2721940: "AGI: Gold Rush! Restart Option differs from original"Eugene Sandulenko
svn-id: r41243
2009-06-06Fix implementation of prevent.input. This fixes SQ2 introEugene Sandulenko
svn-id: r41241
2009-06-06Whitespace fixes and C++ commentsEugene Sandulenko
svn-id: r41239
2009-02-12Fix for bug #2541237 - "AGI: Restart quits ScummVM"Filippos Karapetis
svn-id: r36279
2009-01-07Fix bug #1942471: "AGI: Fan(Get Outta SQ): No Word wrapping"Eugene Sandulenko
svn-id: r35767
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-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-07-10Removed unnecessary #inlcudesChristopher Page
svn-id: r32984
2008-07-09Reimplemented pushEvent() and artificialEventQueue to work with Events ↵Christopher Page
instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM svn-id: r32971
2008-07-07Agi works with the new GMM implementationChristopher Page
svn-id: r32953
2008-06-24Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So ↵Christopher Page
far agi, agos, and cine are now using the new _quit flag. svn-id: r32770