Commit Graph
68 Commits
Author SHA1 Message Date
Johannes Schickel 6aac905dfd AGI: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01:00
Filippos Karapetis 5fadff59f9 AGI: Fix bug #3600733 - "AGI FANMADE: function slowing down game"
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-11 17:09:59 +03:00
Matthew Hoops 0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
D G Turner f722542cee AGI: Replace usage of 'goto'. 2011-12-10 20:12:35 +00:00
Filippos Karapetis 056c3992eb AGI: Commented out if statements that always evaluate to true 2011-11-03 22:36:34 +02:00
Filippos Karapetis 81fdf2c103 AGI: Fixed bug #3074570 - "AGI LSL1: TAB stops working after restart"
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-26 00:56:10 +03:00
Filippos Karapetis 0e4b35a8e8 AGI: Switched to Common::String in the save/load code 2011-09-25 21:25:25 +03:00
Filippos Karapetis c8777b774f AGI: Rewrite getSavegameFilename() so that it doesn't try to return a pointer to a local variable 2011-09-25 19:33:01 +03:00
Eugene Sandulenko 273e37f726 AGI: Renamed some #defines to our code conventions and moved them to enums 2011-08-14 18:48:59 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn 7c2323bdc3 AGI: Replace report() macro by debug() / warning()
This makes AGI quite a bit less noisy by default.

svn-id: r53868
2010-10-26 22:33:49 +00:00
Eugene Sandulenko 349b89adce AGI: Fix bug #3034370
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-25 07:39:50 +00:00
Eugene Sandulenko 30d8dda867 AGI: Reset controllers on game restart
svn-id: r52368
2010-08-25 07:39:31 +00:00
Johannes Schickel e75eee21e3 Use "true" instead of "1" in if statements to make clang a bit more happier with -Werror.
svn-id: r50943
2010-07-16 21:50:12 +00:00
Torbjörn Andersson 41990883bf Don't go into "menu input mode" unless the game currently allows the menus to
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-20 09:51:11 +00:00
Max Horn da28fde4c6 AGI: Change some #defines to enums
svn-id: r50033
2010-06-18 22:07:32 +00:00
Eugene Sandulenko c7e9b620ee AGI: properly setup Sound var.
svn-id: r49752
2010-06-15 10:35:10 +00:00
Eugene Sandulenko 71917dc52d AGI: Implement FR #1881179.
FR #1881179: "AGI detecting agi mouse". Always run ScummVM in
AGIMOUSE compatibility mode, thus no detection for it is
needed.

svn-id: r49748
2010-06-15 10:33:26 +00:00
Max Horn 50435d6bae AGI: Turn g_tickTimer & g_mouse into members of class AgiEngine resp. AgiBase
svn-id: r45259
2009-10-20 11:13:00 +00:00
Kari Salminen 2bd1f51d92 Possible fix for #2828330 (AGI: KQ1: Fast text box). If doesn't break 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-08-18 21:37:31 +00:00
Eugene Sandulenko 0932497cca Fix bug #2798797: "AGI: larry 1 doesn't restart after dying"
svn-id: r42663
2009-07-22 16:26:53 +00:00
Eugene Sandulenko 8bcdd8d7f6 Run AGIMOUSE hack as a side effect always
svn-id: r41536
2009-06-15 07:06:52 +00:00
Filippos Karapetis e572af84aa Removed unused variable
svn-id: r41279
2009-06-06 18:02:16 +00:00
Eugene Sandulenko ea3373708c Correct implementation for set.key opcode. Fixes #2605104: "AGI: Manhunter, F3 hotkey dosent work", removed number of hacks
svn-id: r41259
2009-06-06 17:48:09 +00:00
Eugene Sandulenko 1a321a2064 Cleanup
svn-id: r41254
2009-06-06 17:45:52 +00:00
Eugene Sandulenko 2eb7e914e8 Fix bug #2026605: "SQ2: Have to wait after dying to do anything."
svn-id: r41250
2009-06-06 17:43:51 +00:00
Eugene Sandulenko 531b96bbbe Remove duplicated amiga busy cursor
svn-id: r41248
2009-06-06 17:43:04 +00:00
Eugene Sandulenko a5d762c029 Fix bug #1745954: "GR: Intro "jumpy" in parts (Amiga version)"
svn-id: r41244
2009-06-06 17:41:29 +00:00
Eugene Sandulenko 26d8b2bb72 Fix bug #2721940: "AGI: Gold Rush! Restart Option differs from original"
svn-id: r41243
2009-06-06 17:40:56 +00:00
Eugene Sandulenko 194ab100c7 Fix bug #2434187: "SQ2: message not displayed, or vanishes too quickly"
svn-id: r41240
2009-06-06 17:39:42 +00:00
Eugene Sandulenko 93d62da652 Whitespace fixes and C++ comments
svn-id: r41239
2009-06-06 17:39:13 +00:00
Eugene Sandulenko c585366ce9 Decrease number of free memory pages to realistic value
svn-id: r41238
2009-06-06 17:37:51 +00:00
Johannes Schickel b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Filippos Karapetis 0015657caa Fix for bug #2541237 - "AGI: Restart quits ScummVM"
svn-id: r36279
2009-02-12 15:13:52 +00:00
Filippos Karapetis b2a085b26d Fix for bug #2538123 - "AGI: loading from launcher disables hotkeys"
svn-id: r36266
2009-02-11 15:36:13 +00:00
Max Horn 9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Filippos Karapetis dd8e875b00 Commented out currently broken code, adding a FIXME
svn-id: r34297
2008-09-03 09:58:28 +00:00
Christopher Page c9e0422722 Added Autosave support for AGI
svn-id: r33772
2008-08-10 22:53:43 +00:00
Christopher Page 30b1a62e81 Removed unnecessary #inlcudes
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page e808cdf7a0 Reimplemented pushEvent() and artificialEventQueue to work with Events 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-09 02:27:05 +00:00
Christopher Page 61d25a912e Agi works with the new GMM implementation
svn-id: r32953
2008-07-07 23:24:12 +00:00
Christopher Page f878820bbe Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
svn-id: r32770
2008-06-24 21:15:30 +00:00
Kari Salminen 8d1dd18bda Implements 2 arguments version of the adj.ego.move.to.x.y-command. Should 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-21 21:09:42 +00:00
Kari Salminen a493647076 Indentation
svn-id: r30478
2008-01-13 23:43:17 +00:00
Kari Salminen 5e7cc8b2d9 Add GF_OLDAMIGAV20 game flag for correctly setting computer type (v20 i.e. vComputer) for particular old Amiga AGI games (Space Quest I v1.2 at the moment).
svn-id: r30164
2008-01-02 19:10:01 +00:00
Kari Salminen 6dfaaf3018 Set AGI's computer type variable (v20 i.e. vComputer) according to the used platform. Now using different values for IBM-PC, Atari ST, Amiga and Apple IIGS platforms.
svn-id: r30153
2008-01-02 16:36:47 +00:00
Kari Salminen 9db76278ef Set amount of free memory (v8 i.e. vFreePages) to maximum value (Also when loading a saved game!). Fixes Gold Rush's help screen and bible passage showing.
svn-id: r30136
2008-01-02 00:35:32 +00:00
Nicola Mettifogo 258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Kari Salminen 3a03470caa Set AGI monitor type variable (vMonitor/v26) according to render mode.
svn-id: r27774
2007-06-29 15:58:48 +00:00
Max Horn 218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00