aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/op_cmd.cpp
AgeCommit message (Collapse)Author
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
2008-04-29Fix for original game bug #1942476 - "AGI: Fan(Get Outta SQ) - Score is lost ↵Filippos Karapetis
on restart" svn-id: r31776
2008-04-11Show current text prompt when the accept_input opcode is called. This, ↵Filippos Karapetis
together with commit #31477 fix bugs #1875076 - "AGI GR: Input prompt not changing in outhouse" and #1939632 - "SQ2: Text prompt glitch" svn-id: r31485
2008-04-10Initial attempt at handling non-default AGI game input promptFilippos Karapetis
svn-id: r31477
2008-04-09Fixed an off-by one error in the AGI set_menu opcode. Fixes bug #1935896 - ↵Filippos Karapetis
"AGI: Fan(Beyond Titanic 2) - Assertion" svn-id: r31457
2008-04-08Added a sanity check for original game script bugs in Agent06. Fixes bugs ↵Filippos Karapetis
#1935842 - "AGI: Fan(Agent06) - Graphic errors" and #1935838 - "AGI: Fan(Agent06) - Crash on Quit" svn-id: r31449
2008-01-25Fully fix bug #1660424 (KQ4: Zombie bug). The bug also affected room 18 in ↵Kari Salminen
addition to the room 16 that was already taken care of in revision 30482. svn-id: r30631
2008-01-22Fixed typo in comment.Kari Salminen
svn-id: r30614
2008-01-21Implements 2 arguments version of the adj.ego.move.to.x.y-command. Should ↵Kari Salminen
fix bug #1733297 (GR: Actor stuck (Amiga version)). Savegames when using adj.ego.move.to.x.y-command may be broken at the moment. svn-id: r30602
2008-01-14Workaround for bug #1660424 (KQ4: Zombie bug) which is a script bug present ↵Kari Salminen
in the original game. svn-id: r30482
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
2008-01-07Add partial implementation of obj.status.v-command (Based on observations of ↵Kari Salminen
the command's output in the Amiga version of Gold Rush!). svn-id: r30321
2008-01-05Implement a workaround to hide.mouse-command for Amiga's Gold Rush. Fixes ↵Kari Salminen
walking with mouse in room 192 (The hanging scene i.e. the copy protection failure scene). svn-id: r30259