86 Commits

Author SHA1 Message Date
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
Max Horn
cbb378de1f Some cleanup to the pred.dic AGI code
svn-id: r27386
2007-06-13 13:26:46 +00:00
Kostas Nakos
a0cd025a16 implement predictive dictionary using ascii based operations, replacing the 10ary tree
svn-id: r27383
2007-06-13 12:48:14 +00:00
Kostas Nakos
f935b6981b permit only one instance of predictive dialog, add handling of keypad keys
svn-id: r27047
2007-06-02 08:15:06 +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
Filippos Karapetis
d4d04a150d Added a game ID field for all Sierra AGI games. Removed many types which are now obsolete from the game features field
svn-id: r26764
2007-05-06 14:36:02 +00:00
Filippos Karapetis
3fccd9c06f AGI: Changed a nasty workaround regarding views to only apply to a specific view in the KQ4 introduction. This fixes several bugs and crashes in AGI V3 games and closes KQ4 bugs #1660486, #1660169, #1660192, #1660162 and #1660354
svn-id: r26743
2007-05-04 08:55:28 +00:00
Filippos Karapetis
aa8fa78f62 Patch #1705791: Patch for #1648396 - AGI : SQ2 / 2.0F / IBM / priority line
Modify a workaround made for SQ1 to work on SQ1 only, not all AGI games. This fixes bug #1648396 with SQ2, a bug with LSL1 (Sarien bug #925074) and possibly others

svn-id: r26589
2007-04-24 15:43:16 +00:00
Eugene Sandulenko
55152e4055 Fix for loading savegames from the command line.
svn-id: r26567
2007-04-22 16:06:00 +00:00
Eugene Sandulenko
b0ae4bf1a3 Patch #1704914: "Fix for #1671426: MH2 : Doesn't recognize Enter for actions"
svn-id: r26562
2007-04-21 21:47:14 +00:00