Commit Graph
131 Commits
Author SHA1 Message Date
Johannes Schickel fdcb6a6b1a SCUMM: Cleanup querySaveMetaInfos implementation.
This results in less code and also less I/O operations (including seeking).
2013-11-27 19:29:21 +01:00
Johannes Schickel 3318c4e4ac SCUMM: Slight cleanup in detection.cpp. 2013-11-27 19:03:23 +01:00
Matthew Hoops 0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Matthew Hoops 2a9d98003e SCUMM: Restrict the Mac m68k v5 driver to MI2/Indy4
Shouldn't be used with MI1
2012-09-20 11:58:04 -04:00
Matthew Hoops fc6ab89b50 SCUMM: Add support for Indy4 Mac 68k sound 2012-09-20 11:48:00 -04:00
Alyssa Milburn 92bcb1801a SCUMM: Replace detector printf usage with logMessage. 2012-08-15 09:48:50 +02:00
Johannes Schickel e242b91db0 SCUMM: Slight cleanup in querySaveMetaInfos. 2012-07-03 18:39:49 +02:00
Matthew Hoops 0e5ae35e34 SCUMM: Create proper engine for heversion 101
Regression from 3968f31948
2012-06-09 20:00:45 -04:00
Matthew Hoops 2aeb883123 SCUMM: Show an error dialog when trying to run puttzoo ios lite
The lite version contains the full game and we will not support it due to potential piracy.
2012-06-05 13:17:04 -04:00
Matthew Hoops d54e53d462 SCUMM: Add support for Spy Fox iOS 2012-05-28 14:29:44 -04:00
Ben Castricum bdb12a9c65 SCUMM: Fix bug #3493317 by removing assert() in detection algorithm.
Bug #3493317 ("SCUMM: Detecting Loom PCE without 16bpp support crashes")
is caused by an assert() in detection algorithm. In case an MD5 is found
the md5table, but the variant from the md5table is not found in
detection_tables.h this assert triggers. However since certain variants
can be left out compile-time this situation can occur. By ignoring
instead of assert()-ing the entry ScummVM will no longer abort but
continue the detection process.
2012-04-28 11:10:53 +02:00
Tarek Soliman a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Ben Castricum 5db023646a SCUMM: Use regular detection algorithms for FMTOWNS demos. 2012-01-26 18:06:10 +01:00
Ben Castricum 23a5bc61af SCUMM: Don't hide scumm detector debug message for certain cases 2012-01-01 17:14:29 +01:00
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