aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/cycle.cpp
AgeCommit message (Collapse)Author
2013-05-11AGI: Fix bug #3600733 - "AGI FANMADE: function slowing down game"Filippos Karapetis
We now only test for events in testKeypressed() without updating the game cycle at all (NAGI doesn't update the game cycle either). This fixes the slowdowns in some animations where have.key() is issued, like Manannan's lightnings in the intro of KQ3 and the bullets in the intro of PQ1
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2011-12-10AGI: Replace usage of 'goto'.D G Turner
2011-11-03AGI: Commented out if statements that always evaluate to trueFilippos 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-09-25AGI: Switched to Common::String in the save/load codeFilippos Karapetis
2011-09-25AGI: Rewrite getSavegameFilename() so that it doesn't try to return a ↵Filippos Karapetis
pointer to a local variable
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
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-08-25AGI: Fix bug #3034370Eugene Sandulenko
Bug #3034370: "Manhunter: New York keyboard unresponsive". Actually the keyboard was made responsive after June implementation of set.key, still the game speed was increasing. Fixed that too. svn-id: r52369
2010-08-25AGI: Reset controllers on game restartEugene Sandulenko
svn-id: r52368
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-20Don't go into "menu input mode" unless the game currently allows the menus toTorbjörn Andersson
be displayed. I hope this is the correct fix to keep Police Quest 1 from hanging if you press Escape while reading the newspaper in the briefing room. svn-id: r50072
2010-06-18AGI: Change some #defines to enumsMax Horn
svn-id: r50033
2010-06-15AGI: properly setup Sound var.Eugene Sandulenko
svn-id: r49752
2010-06-15AGI: Implement FR #1881179.Eugene Sandulenko
FR #1881179: "AGI detecting agi mouse". Always run ScummVM in AGIMOUSE compatibility mode, thus no detection for it is needed. svn-id: r49748
2009-10-20AGI: Turn g_tickTimer & g_mouse into members of class AgiEngine resp. AgiBaseMax Horn
svn-id: r45259
2009-08-18Possible fix for #2828330 (AGI: KQ1: Fast text box). If doesn't break ↵Kari Salminen
anything else then should go to the branch-1-0-0 too, but haven't had the time to do much testing yet - thus committing to the trunk first. svn-id: r43523
2009-07-22Fix bug #2798797: "AGI: larry 1 doesn't restart after dying"Eugene Sandulenko
svn-id: r42663
2009-06-15Run AGIMOUSE hack as a side effect alwaysEugene Sandulenko
svn-id: r41536
2009-06-06Removed unused variableFilippos Karapetis
svn-id: r41279
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 #2026605: "SQ2: Have to wait after dying to do anything."Eugene Sandulenko
svn-id: r41250
2009-06-06Remove duplicated amiga busy cursorEugene Sandulenko
svn-id: r41248
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 bug #2434187: "SQ2: message not displayed, or vanishes too quickly"Eugene Sandulenko
svn-id: r41240
2009-06-06Whitespace fixes and C++ commentsEugene Sandulenko
svn-id: r41239
2009-06-06Decrease number of free memory pages to realistic valueEugene Sandulenko
svn-id: r41238
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-02-12Fix for bug #2541237 - "AGI: Restart quits ScummVM"Filippos Karapetis
svn-id: r36279
2009-02-11Fix for bug #2538123 - "AGI: loading from launcher disables hotkeys"Filippos Karapetis
svn-id: r36266
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-09-03Commented out currently broken code, adding a FIXMEFilippos Karapetis
svn-id: r34297
2008-08-10Added Autosave support for AGIChristopher Page
svn-id: r33772
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-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-13IndentationKari Salminen
svn-id: r30478
2008-01-02Add GF_OLDAMIGAV20 game flag for correctly setting computer type (v20 i.e. ↵Kari Salminen
vComputer) for particular old Amiga AGI games (Space Quest I v1.2 at the moment). svn-id: r30164
2008-01-02Set AGI's computer type variable (v20 i.e. vComputer) according to the used ↵Kari Salminen
platform. Now using different values for IBM-PC, Atari ST, Amiga and Apple IIGS platforms. svn-id: r30153
2008-01-02Set amount of free memory (v8 i.e. vFreePages) to maximum value (Also when ↵Kari Salminen
loading a saved game!). Fixes Gold Rush's help screen and bible passage showing. svn-id: r30136
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-29Set AGI monitor type variable (vMonitor/v26) according to render mode.Kari Salminen
svn-id: r27774
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-07Fixed some commentsFilippos Karapetis
svn-id: r26771