Commit Graph

123 Commits

Author SHA1 Message Date
Max Horn
a6b57dc3a9 - Added GCC_PRINTF attribute to several funcs where it makes sense
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings

svn-id: r42009
2009-07-01 20:51:04 +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
d6a4dbeb1d Implement fence.mouse opcode
svn-id: r41258
2009-06-06 17:47:29 +00:00
Eugene Sandulenko
c393144b19 Implement hold.key and release.key opcodes
svn-id: r41255
2009-06-06 17:46:19 +00:00
Eugene Sandulenko
1a321a2064 Cleanup
svn-id: r41254
2009-06-06 17:45:52 +00:00
Eugene Sandulenko
72d25455e0 Implement scummvm.ini flag features for AGI engine
svn-id: r41252
2009-06-06 17:44:46 +00:00
Eugene Sandulenko
45764de138 Cleanup
svn-id: r41251
2009-06-06 17:44:24 +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
ed797c0709 Implement debug commands "room" and "bt"
svn-id: r41249
2009-06-06 17:43:26 +00:00
Eugene Sandulenko
c5f41b29fa Stop abusing game flag.
svn-id: r41247
2009-06-06 17:42:37 +00:00
Eugene Sandulenko
b26ae991f8 Store and compare MD5s in the saves
svn-id: r41245
2009-06-06 17:41:50 +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
a7049e5b3d Fix implementation of prevent.input. This fixes SQ2 intro
svn-id: r41241
2009-06-06 17:40:09 +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
7ed8d7f573 Proper fix for bug #2537054: "AGI: Using GMM to load causes graphics glitches".
Save/load via GMM is not allowed in certain situations now.

svn-id: r40773
2009-05-21 21:51:50 +00:00
Eugene Sandulenko
40dd214789 Start of fixing bug #2537054: "AGI: Using GMM to load causes graphics glitches"
The engine still crashes when load from GMM occured with a text box on screen.

svn-id: r40733
2009-05-19 21:09:43 +00:00
Max Horn
3fcbda829a Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
svn-id: r39002
2009-03-01 04:30:55 +00:00
Travis Howell
7fc7234312 Fix startup of the Amiga versions of Manhunter NY/SF, which seem to require the older platform value of 20.
svn-id: r38341
2009-02-16 04:45:29 +00:00
Filippos Karapetis
0015657caa Fix for bug #2541237 - "AGI: Restart quits ScummVM"
svn-id: r36279
2009-02-12 15:13:52 +00:00
Eugene Sandulenko
c31a0f7089 Fix bug #1942471: "AGI: Fan(Get Outta SQ): No Word wrapping"
svn-id: r35767
2009-01-07 13:27:58 +00:00
Filippos Karapetis
2b59700d2a AGI save games now contain thumbnails and creation date/time (visible from the GMM save/load screens)
svn-id: r34989
2008-11-10 19:02:47 +00:00
Max Horn
40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
61aadb378d Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
svn-id: r34896
2008-11-04 16:11:40 +00:00
Christopher Page
c9e0422722 Added Autosave support for AGI
svn-id: r33772
2008-08-10 22:53:43 +00:00
Christopher Page
0bffc3cb7b Sound settings for AGI are now configurable through the GMM
svn-id: r32936
2008-07-07 05:51:39 +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
Filippos Karapetis
0de56ea1f9 Fix for original game bug #1942476 - "AGI: Fan(Get Outta SQ) - Score is lost on restart"
svn-id: r31776
2008-04-29 16:24:54 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Kari Salminen
b8a455db9b Define and use enumerations for AGI Mouse protocol 1.0's button states.
svn-id: r30620
2008-01-23 00:06:10 +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
931b4abe5e Confirmed that the Amiga version of Space Quest II v2.0F using Amiga AGI 2.202 uses value 5 for v20 (i.e. the computer type variable). Thanks to Raziel for the info!
svn-id: r30533
2008-01-17 11:36:54 +00:00
Kari Salminen
d6e2e1431c Confirmed that Amiga version of King's Quest III (v1.01 1986-11-08) using Amiga AGI 2.090 uses value 5 for v20 (i.e. the computer type variable). Thanks to Raziel for the info!
svn-id: r30516
2008-01-16 15:19:33 +00:00
Kari Salminen
0ddfc0a64e Fix for the Space Trek sprite duplication bug (#1659209). Makes commands position and position.v use coordinate clipping for Space Trek.
svn-id: r30190
2008-01-03 08:41:40 +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
Max Horn
a47446600a get rid of unused globals
svn-id: r29916
2007-12-20 14:26:03 +00:00
Max Horn
402a3dbbe3 cleanup
svn-id: r29617
2007-11-23 10:51:16 +00:00
Max Horn
207ecdb332 Change the AGI image stack to use Common::Stack
svn-id: r29608
2007-11-22 10:32:36 +00:00
Eugene Sandulenko
c640d1c604 Patch #1825276: "DETECTION: advanced detector engine simplification"
svn-id: r29386
2007-11-03 21:06:58 +00:00
Filippos Karapetis
39da7deefb Fix for bug #1751483 - "AGI: The -x command-line option appears to be broken"
svn-id: r29346
2007-10-31 21:28:33 +00:00
Eugene Sandulenko
38d8105e4e Add support for Russian versions of AGI games
svn-id: r29056
2007-09-23 16:43:43 +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
Eugene Sandulenko
13a73a70b6 WIP for Troll's Tale
svn-id: r28939
2007-09-18 16:20:44 +00:00
Matthew Hoops
f4414ac084 remove the rest of the PreAGI loader
svn-id: r28895
2007-09-11 21:39:16 +00:00
Matthew Hoops
c1c7b5f563 PreAGI does not need an AGI resource loader, as it only needs to load pictures and doesn't use directories. So, this allows Winnie to decode pictures without using the loader
svn-id: r28893
2007-09-11 20:09:39 +00:00
Matthew Hoops
898043d967 Winnie now enters the main loop and allows for movement (via the menu)
svn-id: r28867
2007-09-06 20:51:40 +00:00
Matthew Hoops
cea837ef7d WIP Winnie the Pooh code (PreAGI). Shows only the intro currently
svn-id: r28865
2007-09-06 10:48:00 +00:00
Filippos Karapetis
5a97b3d9be Some updates for Mickey:
- Click to move functionality (improvement over the original game). It's now possible to navigate around using the mouse as well, together with the menu commands. The mouse cursor changes when the player hovers it at the picture's edges, towards a direction where Mickey is able to move to (north, south, east or west)
- waitAnyKey has been moved into Mickey's code (because of the animation part)
- Implemented the circle flag for AGI picture decoding

svn-id: r28853
2007-09-05 15:43:56 +00:00