Commit Graph
117 Commits
Author SHA1 Message Date
Strangerke bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Tarek Soliman 636789441a SCUMM: Fix detection of talkie Monkey Island
Thanks md5 for the idea to fix the null pointer
Thanks clone2727 for feedback on this and other implementations
2011-10-24 16:28:36 -05:00
Strangerke cfa42fee80 LAUNCHER: Add GUIO_NOASPECT to SCUMM engine 2011-10-23 21:45:02 +02:00
Eugene Sandulenko 77c65648b1 AD: Swtich GUI options to a char array.
This eliminates nasty limitation of caping number of flags to 31.
Current code has limitation of 255 flags, though.

Only SCUMM engine is converted, rest do not even compile.
Detection of fan talkie MI is broken as it has to be implemented
differently.
2011-10-23 17:53:13 +01:00
Johannes Schickel 833c692fc9 SCUMM: Make some variables const and one furthermore static. 2011-10-06 02:52:27 +02:00
Tarek Soliman fcef333b99 SCUMM: code formatting
Thanks clone2727
2011-10-05 09:58:57 -05:00
Filippos Karapetis 2a2e0377f3 SCUMM: Code formatting 2011-10-05 13:02:01 +03:00
Tarek Soliman fb180cba85 SCUMM: enable speech gui option when speech file found in unknown game
This commit only affects monkey and monkey2 except FMTOWNS
because FMTOWNS has *.sou files that don't have speech
2011-10-04 23:45:09 -05:00
Johannes Schickel 6fe7b020a8 SCUMM: Made some static data const. 2011-09-08 20:13:13 +02:00
Eugene Sandulenko 0dafa7f80f ALL: Reduce audio/ header dependency 2011-08-06 11:30:42 +01:00
Matthew Hoops c36642651e SCUMM: Remove BluesBirthday dependency on the binary
The game scripts detected Yellow or Red variants based on what binary was present. That could potentially cause problems with a Mac dump in case someone dumped into MacBinary format.
2011-08-03 00:15:27 -04:00
Matthew Hoops 58356843ee SCUMM: Fix Blue's Birthday Macintosh 2011-07-02 14:54:45 -04:00
Max Horn 88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn 879c3c7817 DETECTOR: Pass allFiles to AdvancedMetaEngine::fallbackDetect()
Also reorder the parameters of composeFileHashMap, placing the "return value"
first.
2011-06-14 18:52:11 +02:00
Max Horn 593b929047 DETECTOR: Separate code for handling obsolete gameids from advanced detector
This includes a renaming of ADObsoleteGameID to Engine::ObsoleteGameID,
and AdvancedDetector::findGameID now is Engines::findGameID.

Doxygen comments were added or improved
2011-06-14 18:52:07 +02:00
Max Horn 0aa6aca420 SCUMM: Switch some code to use String::format 2011-05-25 13:01:05 +02:00
Thierry Crozat 3c59e37035 ENGINES: Unify engine names
This unifies the engine names in MetaEngine::getName() and the
credits. In particular drop "Engine" or "engine" from the names when
it was present and use expanded names in credits when the
MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-16 00:11:32 +01:00
Max Horn 9ec64a66fe SCUMM: Turned ResTypeData into a Common::Array<Resource>, subsuming its _resource member 2011-05-13 14:48:01 +02:00
Max Horn c02420df43 SCUMM: Add a Resource class, refactor res code around it 2011-05-13 11:47:13 +02:00
Max Horn 45e65d7ea0 SCUMM: Refactor how resource (types) are srepresented
Previously, we had a couple of arrays of size N (where N = number of
resource types), one for each attribute of a resource type (such as as
the number of resources of that type.

Now, we have one array of size N, whose elements are a record
aggregating all the attributes of each resource type.
2011-05-13 11:47:08 +02:00
Max Horn b37463fe59 SCUMM: Move class ResourceManager to its own header 2011-05-13 11:47:08 +02:00
Max Horn f05de5228f SCUMM: Print SCUMM & HE version when starting a game in deug mode 2011-05-13 11:47:07 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn 59e77ed667 ALL: Mark printf and various other symbols as forbidden
Right now, a few places in the frontend code still use printf and
consorts. We mark the affected files with a FIXME for now, and
add a dedicated exception for each. To be fixed!

Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always
enforce a compiler error
2011-05-02 16:31:31 +02:00
Matthew Hoops 83cd8268ad SCUMM: Fix v60he games 2011-05-01 17:12:56 -04:00
Max Horn cd2fcaf4ca COMMON: Remove kInvalidPathError 2011-04-18 18:22:03 +02:00
Max Horn 827561911a SCUMM: Move _heV7DiskOffsets from ScummEngine to ScummEngine_v70he 2011-04-05 15:18:09 +02:00
Max Horn f19b27388c SCUMM: Split ScummEngine::generateFilename, move HE specifics to class ScummEngine_v60he 2011-04-05 15:18:09 +02:00
Max Horn fb53303847 SCUMM: Rename InfoStuff to SaveStateMetaInfos 2011-04-05 15:18:08 +02:00
Travis Howell 2187411977 SCUMM: Fix bug #3167036 - BluesBirthday: Crash in the demo.
svn-id: r55589
2011-01-28 12:35:20 +00:00
Max Horn 54e0390752 SCUMM: Replace Common::File uses by SeekableReadStream and SearchMan
svn-id: r54434
2010-11-23 22:25:10 +00:00
Max Horn 4d3a07b494 COMMON: Rename and tweak MD5 functions
* names now comply to our naming conventions
* the function computeStreamMD5AsString which computes the MD5
  as a hex string now returns it as a Common::String
* add doxygen comments

svn-id: r54121
2010-11-07 17:16:59 +00:00
Johannes Schickel 447ca7ea69 SCUMM: Switch to the new SaveStateDescriptor::setPlayTime.
svn-id: r53923
2010-10-29 16:41:49 +00:00
Eugene Sandulenko 503cfd304b SCUMM: Fix bug #3049323
Bug #3049323: "SCUMM: Detects games in wrong places".
I must admit: A seriously stupid bug.

svn-id: r52370
2010-08-25 07:40:13 +00:00
Johannes Schickel 0c3cbcbfc5 Prevent SCUMM from adding gui options based on user flags into the config file (regression from r50706).
svn-id: r50710
2010-07-05 21:18:25 +00:00
Johannes Schickel 1443a2721c Fix update of GUI options, which only differ in the language setting.
svn-id: r50706
2010-07-05 20:10:56 +00:00
Eugene Sandulenko 25ca058fa8 Add support for Chinese The DIG.
svn-id: r50375
2010-06-27 13:06:22 +00:00
Max Horn 33347e12bd SCUMM: Add a debug message to detectGames() to help find filesizes of detection files
svn-id: r50150
2010-06-22 16:09:50 +00:00
Max Horn bbad3f333a Patch #1956501: "GUI/LAUNCHER: Midi device selection"
svn-id: r50128
2010-06-21 21:36:36 +00:00
Max Horn 604f855889 SCUMM: Fix composeFileHashMap
svn-id: r49850
2010-06-15 12:36:04 +00:00
Eugene Sandulenko b6940caaaa SCUMM: Added directory globs for in-depth search.
The code was compied from AdvancedDetector. Currently it is
set up to detect Mac indy3/loom which contains it data in
Rooms 1, Roooms 2 and Rooms 3 directories.

svn-id: r49798
2010-06-15 11:04:35 +00:00
Eugene Sandulenko 01bc5dda94 GUI: Implemented Languages as GUI options.
SCUMM and AdvancedDetector support this feature.

svn-id: r49786
2010-06-15 10:57:28 +00:00
Eugene Sandulenko 67bc711580 GUI: Implement MIDI drivers as GUI options.
Proper version of patch #2988641: "GSoC: Select drivers in GUI
based on output types". So far only SCUMM engine supports this
feature.

svn-id: r49783
2010-06-15 10:56:12 +00:00
Eugene Sandulenko ca161920a4 SCUMM: Fix bug #1438631.
Bug #1438631: "SCUMM: Detecting mac version of indy3/loom broken"
fixed by implementing recursive directory lookup similar to what
was done for AdvancedDetector, since SCUMM engine does not use it.

svn-id: r49656
2010-06-14 14:51:46 +00:00
Eugene Sandulenko 4eba9581b7 Extended patch #2971742: SCUMM: autodetection for diskimage contents.
I added NES bundle handling to the patch.

svn-id: r48991
2010-05-09 20:58:41 +00:00
Travis Howell 753a73be29 Fix bug #2960022 - PUTTPUTT 1: No Load/Save possible.
svn-id: r48499
2010-04-04 09:36:10 +00:00
Max Horn cac0ac66e2 COMMON: Get rid of Common::StringList
svn-id: r48287
2010-03-18 15:54:40 +00:00
Torbjörn Andersson c5be030077 Silenced some more cppcheck warnings.
svn-id: r47785
2010-01-31 23:28:12 +00:00
Travis Howell f81735fffc Fix regression in Let's Explore the Jungle with Buzzy.
svn-id: r47619
2010-01-28 00:15:53 +00:00
Eugene Sandulenko d10fc79836 Add support for Chinese translated games.
svn-id: r46805
2009-12-31 18:52:42 +00:00