Commit Graph

207 Commits

Author SHA1 Message Date
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
c5f41b29fa Stop abusing game flag.
svn-id: r41247
2009-06-06 17:42:37 +00:00
Eugene Sandulenko
5a07ba9c57 Disable save/load when original did not allow
svn-id: r41246
2009-06-06 17:42:12 +00:00
Eugene Sandulenko
b26ae991f8 Store and compare MD5s in the saves
svn-id: r41245
2009-06-06 17:41:50 +00:00
Max Horn
fb79b18571 Changed SaveFileManager methods to take Common::String params (instead of char pointers)
svn-id: r41000
2009-05-29 14:38:22 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +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
3b92b0f583 Add detection for newly discovered AGI demo
svn-id: r40417
2009-05-10 11:43:17 +00:00
Jordi Vilalta Prat
047f116515 Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
svn-id: r39132
2009-03-05 12:04:58 +00:00
Matthew Hoops
9a89280527 Add detection of another version of the Black Cauldron. (See bug #2628354).
svn-id: r38936
2009-02-27 22:14:18 +00:00
Matthew Hoops
ddbad0197b Add detection for the Space Quest 3.5 fan game.
svn-id: r38450
2009-02-17 21:55:53 +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
Kari Salminen
634deef683 Add detection entry for Gold Rush! 3.0 (Bought from The Software Farm, reported by Muyfa666 on the forums and in the bug report #2565036).
svn-id: r36246
2009-02-07 19:47:26 +00:00
Max Horn
28cf213605 Moved AdvancedDetector from common/ to engines/
svn-id: r36132
2009-01-29 22:13:01 +00:00
Filippos Karapetis
c27c9c37b7 Protect save slot 0 from being overwritten and/or deleted by the GMM save/load menus
svn-id: r36112
2009-01-27 20:24:08 +00:00
Matthew Hoops
9bef5d0e72 consistency fix and add a new line
svn-id: r35831
2009-01-12 01:29:29 +00:00
Eugene Sandulenko
a266feeb5a Fix regression when gameids were los for some fanmade games
svn-id: r35827
2009-01-11 13:17:05 +00:00
Filippos Karapetis
c8f16d8716 Fixed slight regression
svn-id: r35791
2009-01-08 22:41:25 +00:00
Kari Salminen
c7e29bb788 Give more detailed info on recently added KQ4 detection entry (It's KQ4 v2.0, released on 1988-07-27 and it uses PC AGI 3.002.086).
svn-id: r35787
2009-01-08 16:38:42 +00:00
Eugene Sandulenko
7ec80cd963 Fix bug #2455850: "LSL: missing Polish MD5" and add Polish LSL1 demo along the way.
svn-id: r35782
2009-01-08 00:24:19 +00:00
Kari Salminen
2f7ef3132d Add detection entry for King's Quest IV AGI (PC 5.25", 2.0) as provided by UsualNoise on ScummVM forums.
svn-id: r35770
2009-01-07 18:50:42 +00:00
Eugene Sandulenko
027a010275 Fix bug #2484801: "PQ1/DOS/Englisv2.0G - One version is detected as MAC Version"
svn-id: r35769
2009-01-07 18:13:56 +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
Eugene Sandulenko
3ba025edd5 Considerably shortened the detection table with use of macros.
svn-id: r35702
2009-01-03 14:07:17 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +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
Filippos Karapetis
f5729a4a8b - The GMM save dialog is now working for all engines which support the appropriate features
- Added a new method to the MetaEngine class, getMaximumSaveSlot(), and implemented it in all engines for which the listSavefiles() method is implemented (it goes together with the listSavefiles method). It is used to fill the unused save slots in the save/load dialogs of each engine, so that the user can create new save games in empty slots
- Unified the save/load dialog list numbering in the GMM load/save screens and in the load screen of the main menu (before a game is started)

svn-id: r34963
2008-11-09 16:13:34 +00:00
Max Horn
142a8d5a51 Simplified AdvancedMetaEngine::fallbackDetect usage
svn-id: r34909
2008-11-06 13:59:39 +00:00
Max Horn
fe2935ad4b Got rid of the unused 'filename' attribute in SaveStateDescriptor
svn-id: r34905
2008-11-05 15:41:12 +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
Filippos Karapetis
b7a219ebc6 Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, as discussed in patch #2122869
svn-id: r34854
2008-10-26 16:42:08 +00:00
Max Horn
c7fde102e3 Renamed FilesystemNode -> FSNode
svn-id: r34716
2008-10-02 16:58:59 +00:00
Max Horn
e5dbb3f901 AGI: Got rid of yet another unwarranted use of FSNode::getPath
svn-id: r34710
2008-09-30 16:38:46 +00:00
Johannes Schickel
0a35842954 Committed my patch #2105593 "Launcher/MetaEngine: Finnished removeSaveState".
svn-id: r34495
2008-09-11 19:47:45 +00:00
Max Horn
531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Christopher Page
ec8dac5540 Added a MetaEngineFeature for RTL support, the RTL button is disabled in the GMM if the engine doesn't support it
svn-id: r33921
2008-08-16 02:53:16 +00:00
Christopher Page
9d3cdcb2da Defined some MetaEngineFeatures for the engines, the launcher uses these features to allow/disallow loading and deleting saves
svn-id: r33909
2008-08-15 18:15:14 +00:00
Christopher Page
1fe2700dab Added support for Savestates to be loaded from the launcher
svn-id: r33461
2008-07-30 21:48:45 +00:00
Christopher Page
4394371ab7 Added --list-saves support for AGI
svn-id: r33351
2008-07-28 04:50:27 +00:00
Max Horn
fefad79249 No need to specify CaseSensitiveString_Hash explicitly anymore
svn-id: r32663
2008-06-11 06:00:56 +00:00
Jordi Vilalta Prat
38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +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
Eugene Sandulenko
3334dbbd9a Add another verions of fanmade game Kings Quest 2 1/4 mentioned in
bugreport #1947051: "AGI: Kings Quest 2 1/4 - Unknown version"

svn-id: r31629
2008-04-20 20:06:18 +00:00
Max Horn
29f1e6de38 Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
svn-id: r31413
2008-04-05 22:29:08 +00:00
Kari Salminen
bd8df7afee Add detection entry for Serguei's Destiny II Demo v1.3.1 (March 22nd 2008).
svn-id: r31346
2008-04-01 00:23:39 +00:00
Max Horn
05dd6cee3a Got rid of EncapsulatedADGameDesc
svn-id: r31130
2008-03-15 15:25:49 +00:00
Max Horn
6547ef6e12 Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
svn-id: r31121
2008-03-14 17:31:04 +00:00
Max Horn
8a9a14002e Advanced Detector: Changed fallback detector from a callback function pointer to an overrideable method of AdvancedMetaEngine
svn-id: r31119
2008-03-14 13:59:31 +00:00
Kari Salminen
6740541e03 Fix for bug #1883989 (AGI: Jolimie freezes). Game's detection entry had its parameters in wrong order and game feature flags were interpreted as the AGI version number and vice versa... whoops.
svn-id: r30857
2008-02-13 01:33:40 +00:00
Kari Salminen
66418e4283 Tiny fix to autodetected game's naming (Removes an extra space).
svn-id: r30854
2008-02-12 15:31:09 +00:00
Kari Salminen
98f8e93102 Added better AGIPAL autodetect to the AGI's fallback detector (Now checks files 'pal.100' - 'pal.109' rather than just the file 'pal.101').
svn-id: r30852
2008-02-12 15:20:47 +00:00
Jordi Vilalta Prat
c103290e2b Initial support for plugin types
svn-id: r30825
2008-02-08 00:02:23 +00:00
Max Horn
8a73356a2d Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
svn-id: r30780
2008-02-03 18:56:47 +00:00
Torbjörn Andersson
e51bf80218 Changed "COMPATIBLITY" to "COMPATIBILITY".
svn-id: r30754
2008-02-03 10:15:36 +00:00
Max Horn
34b35348be Moved AdvancedMetaEngine to namespace Common
svn-id: r30736
2008-02-02 11:52:04 +00:00
Max Horn
dc979b03cf New MetaEngine class (work in progress to replace the current Engine plugin API with a more object oriented approach)
svn-id: r30726
2008-02-02 00:54:52 +00:00
Kari Salminen
04dda32485 Combined two cases that did the exact same thing (In a switch-clause).
svn-id: r30702
2008-01-29 21:18:33 +00:00
Kari Salminen
3423fc8971 Added detection for fanmade AGI game Enclosure v1.03.
svn-id: r30630
2008-01-24 10:15:01 +00:00
Kari Salminen
e9f3b27c03 Add detection data for a finished fanmade AGI game Naturette IV (2007-10-05).
svn-id: r30324
2008-01-07 18:29:33 +00:00
Kari Salminen
e75207d9d7 Made AGIPAL-loading more lenient with errors. Added AGIPAL-flag to Naturette 3. These together fix Naturette 3's intro (No more long shakings).
svn-id: r30193
2008-01-03 09:43:50 +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
Max Horn
87fadf6b45 cleanup
svn-id: r29795
2007-12-09 15:24:06 +00:00
Eugene Sandulenko
c640d1c604 Patch #1825276: "DETECTION: advanced detector engine simplification"
svn-id: r29386
2007-11-03 21:06:58 +00:00
Matthew Hoops
5788598f10 allow Winnie Apple II to start up, however room images are slightly distorted and the intro is not shown; other cleanup
svn-id: r29090
2007-09-24 19:37:57 +00:00
Eugene Sandulenko
38d8105e4e Add support for Russian versions of AGI games
svn-id: r29056
2007-09-23 16:43:43 +00:00
Matthew Hoops
352566ee64 allow Winnie C64 to start, although there are problems with the images (probably wrong offset) and logo.pic/intro.pic are not working, so the intro is skipped
svn-id: r29037
2007-09-23 02:15:48 +00:00
Eugene Sandulenko
04feab1689 Switch Troll's Tale to booter image
svn-id: r29028
2007-09-22 20:19:55 +00:00
Matthew Hoops
f371e98f98 allow Winnie Amiga to show the intro
svn-id: r29023
2007-09-22 17:56:23 +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
Max Horn
c3d3aebe87 Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break compilation on some ports)
svn-id: r28944
2007-09-18 20:02:04 +00:00
Eugene Sandulenko
13a73a70b6 WIP for Troll's Tale
svn-id: r28939
2007-09-18 16:20:44 +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
Eugene Sandulenko
41e72bfaaf Fix fallback detector
svn-id: r28808
2007-09-01 21:22:26 +00:00
Eugene Sandulenko
7f08865ec5 An early WIP of PreAGI (TrollVM) support
svn-id: r28787
2007-09-01 14:58:46 +00:00
David Corrales
6856535010 Merged fsnode with trunk: r27971:28460
svn-id: r28462
2007-08-05 19:34:20 +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
Filippos Karapetis
ec742cb4fd Cleaned up comments
svn-id: r28034
2007-07-11 16:52:56 +00:00
Filippos Karapetis
1b17f2d6a7 Enable menus for Space Quest 1 (PC) 1.1A
svn-id: r28033
2007-07-11 16:49:44 +00:00
Filippos Karapetis
61d4dda19a Fix for SQ1 Amiga (v 1.2 1986): menus are forced in this version too, like with KQ3 Amiga
svn-id: r28025
2007-07-11 12:28:07 +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
David Corrales
cacd7a28fd Merged the FSNode branch with trunk r27031:27680
svn-id: r27681
2007-06-23 18:51:33 +00:00
Kari Salminen
9f1ec5cb7a Add AGI256 and AGI256-2 game feature flags to games that use them.
svn-id: r27562
2007-06-20 22:39:14 +00:00
Eugene Sandulenko
4d4cd489f5 Patch #1735773: "WAG file parsing patch to AGI's fallback detector".
Slightly modified, split into separate files.

svn-id: r27401
2007-06-14 12:06:12 +00:00
Eugene Sandulenko
6e5b70f5e9 Patch #1733764: "Fallback detection patch". GSoC student.
svn-id: r27375
2007-06-12 12:22:25 +00:00
Eugene Sandulenko
7151050fc0 oops. MAX -> MIN to prevent memory overwrite.
svn-id: r27137
2007-06-06 13:35:41 +00:00
Eugene Sandulenko
99d2736c9d Fix potential memory overwrite
svn-id: r27132
2007-06-06 13:25:48 +00:00
David Corrales
3b96c7fad5 Renamed methods in the FilesystemNode class to match the AbstractFSNode implementations.
Also exposed the new methods (exists, isReadable and isWritable) in FilesystemNode.

svn-id: r27113
2007-06-05 21:02:35 +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
Eugene Sandulenko
d37e8b62b6 Removing debug leftovers
svn-id: r26962
2007-05-27 08:22:04 +00:00
Matthew Hoops
a26a36dad6 typo (interpretator => interpreter)
svn-id: r26945
2007-05-26 17:01:32 +00:00
Eugene Sandulenko
dcf368c3a4 Add fallback detector to AGI engine.
svn-id: r26939
2007-05-26 15:16:21 +00:00
Eugene Sandulenko
6a3848a299 Make new Schiller previews names more consistent.
svn-id: r26807
2007-05-12 14:52:25 +00:00
Filippos Karapetis
069e84b33b Added MD5 from bug report "#1717129 - Schiller Preview No.2"
svn-id: r26803
2007-05-12 11:52:29 +00:00
Max Horn
750d0072ce Fixed warnings, cleanup
svn-id: r26799
2007-05-10 07:48:54 +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
21e5311650 Handle the escape key properly in KQ4. Fixes bug #1660158
svn-id: r26677
2007-04-29 14:06:46 +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