Commit Graph

95 Commits

Author SHA1 Message Date
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
Filippos Karapetis
51554b6f20 Some updates to preagi's sound system and code cleanup
svn-id: r28844
2007-09-03 09:39:15 +00:00
Matthew Hoops
5a5e994e4f make Mickey use the SaveFileManager for saving/loading
svn-id: r28843
2007-09-03 01:55:56 +00:00
Filippos Karapetis
39de6091e2 Implemented clearRow for preagi games. Mickey save games should work now. Some code cleanup
svn-id: r28838
2007-09-03 00:47:51 +00:00
Filippos Karapetis
314d7c1736 Implemented clearScreen() for preagi games
svn-id: r28837
2007-09-02 23:25:39 +00:00
Filippos Karapetis
2dd4f61b5e Text in Mickey is shown correctly now. Also, removed an obsolete function declaration of PutPixel()
svn-id: r28835
2007-09-02 22:47:53 +00:00
Filippos Karapetis
7909ce3986 Removed rand() and substituted it with Common::RandomSource
svn-id: r28825
2007-09-02 15:19:20 +00:00
Matthew Hoops
957e421bfa fix more warnings
svn-id: r28822
2007-09-02 13:50:26 +00:00
Matthew Hoops
f3ae0182e0 fix a warning and some code formatting
svn-id: r28820
2007-09-02 13:44:23 +00:00
Filippos Karapetis
afac94340a Some more updates to preagi string drawing function
svn-id: r28813
2007-09-02 02:25:13 +00:00
Filippos Karapetis
2182d758d0 Initial implementation of preagi string drawing functions. They still need work, though
svn-id: r28812
2007-09-02 01:45:59 +00:00
Filippos Karapetis
1a85c98598 Implemented the rnd() function. Some cleanup to remove unneeded functionality
svn-id: r28810
2007-09-01 23:30:37 +00:00
Filippos Karapetis
9db1525e50 Added WIP logic code for Mickey's Space Adventure
svn-id: r28800
2007-09-01 18:46:55 +00:00
Eugene Sandulenko
554cff0384 GIve some files more logical names
svn-id: r28791
2007-09-01 17:28:15 +00:00
Eugene Sandulenko
7f08865ec5 An early WIP of PreAGI (TrollVM) support
svn-id: r28787
2007-09-01 14:58:46 +00:00
Kari Salminen
c987d6aaf0 Added rudimentary classes for different AGI sound resources (IIgsMidi, IIgsSample, PCjrSound). Made existing code to at least work with PCjrSound.
svn-id: r28630
2007-08-15 22:00:31 +00:00
Kari Salminen
fe9bb43622 Removed use of USE_IIGS_SOUND (#define).
svn-id: r28626
2007-08-15 16:40:45 +00:00
Kari Salminen
e888aa1217 Shuffled around AgiGameID's declaration and an include to get stuff hopefully working now with GCC too.
svn-id: r28616
2007-08-14 13:36:03 +00:00
Torbjörn Andersson
3447c0e264 Tell the user if saving a game fails. (I haven't tested the saveGameSimple()
function, since I don't know when it's used.) This should fix bug #1767237
("AGI: Saving games to non existing path").

svn-id: r28441
2007-08-04 06:18:28 +00:00
Filippos Karapetis
a5e6b75edb Re-enabled the 3 entries that can't have menus (KQ3 ST, KQ3 DOS 1.01, SQ1 DOS 1.0X). The ESC key will pause the game in those 3 games
svn-id: r28129
2007-07-17 20:17:28 +00:00
Filippos Karapetis
6376321e5a Enabled menus in some old AGI games (released in 1986) which did not have menus them originally: KQ1 Amiga and ST and early versions of KQ3 Amiga, SQ1 ST, SQ1 DOS and SQ1 Amiga. The GF_FORCEMENUS flag has been remaned to GF_MENUS. Also, two problematic versions of KQ3, a problematic version of SQ1 and a problematic version of Mixed up Mother Goose have been disabled. Finally, a duplicate detection entry for SQ1 has been removed
svn-id: r28095
2007-07-15 06:24:39 +00:00
Kari Salminen
969df42d01 Make AGI's button drawing use AgiButtonStyle. Doesn't use Amiga-style yet. It's next.
svn-id: r28014
2007-07-10 18:08:35 +00:00
Kari Salminen
b2cae8fe15 Oops. AgiButtonStyle::getColor's color parameters were bool rather than int. Fixed.
svn-id: r28011
2007-07-10 17:04:09 +00:00
Kari Salminen
be23a6e188 Change AgiTextColor's default color to black text on white background.
svn-id: r28010
2007-07-10 15:45:30 +00:00
Kari Salminen
80cdd532bc Add AgiButtonStyle and create correct style according to render mode (Supports PC and Amiga styles).
svn-id: r28009
2007-07-10 15:28:43 +00:00
Filippos Karapetis
e10a6e6515 Fix for bug #1746661: "KQ3: Lockup when pressing ESC (Amiga version)"
svn-id: r27989
2007-07-09 12:03:53 +00:00
Kari Salminen
2ff0ffadb8 Oops. An extra comma in the enum list's end. Removed.
svn-id: r27775
2007-06-29 18:41:06 +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
Kari Salminen
ae74b06756 Add an additional AGI screen for 256 color data (For use with AGI256 and AGI256-2).
svn-id: r27564
2007-06-20 22:54:51 +00:00