aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/op_cmd.cpp
AgeCommit message (Collapse)Author
2013-04-27AGI: Null terminate string. CID 1003888Eugene Sandulenko
2013-04-18AGI: Silence another clang varMax Horn
Reading an array without using the resulting value has no effect. In any case, this code still looks like it may be broken, so somebody who knows more about AGI should perhaps investigate this closer.
2013-01-09AGI: Silence C++11 narrowing warning.Johannes Schickel
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2011-12-12AGI: Add FIXME to cmdCallV1Max Horn
2011-11-03AGI: Commented out if statements that always evaluate to trueFilippos Karapetis
2011-09-26AGI: Fixed several incorrect substitutions of "game" with "_game"Filippos Karapetis
2011-09-26AGI: Rewrote cmdVersion() to use Common::StringFilippos Karapetis
This simplifies the code and avoids heap corruption because of the long version string
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-09-26AGI: Fix bug #3080041 - "AGI Mother Goose: White bar in intro"Filippos Karapetis
2011-09-25AGI: Fixed typo in restart dialogFilippos Karapetis
2011-08-14Checked V1 instructions till 0x42Eugene Sandulenko
2011-08-14AGI: Renamed some #defines to our code conventions and moved them to enumsEugene Sandulenko
2011-08-13AGI: Checked V1 instructions till 0x2cEugene Sandulenko
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