Commit Graph
254 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
Eugene Sandulenko 32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Filippos Karapetis e49c65a27b SCI: Moved the Hi-res description for LSL6 hi-res in the extras field 2011-10-16 16:50:40 +03:00
Filippos Karapetis 0186bda0ce SCI: Updated the description of LSL6 hires to distinguish it better 2011-10-16 15:59:21 +03:00
Filippos Karapetis fa654e942a SCI: Added handling of cnick-kq and cnick-longbow in the fallback detector 2011-09-10 13:02:15 +03:00
Christoph Mallon e35b4f20c1 GRAPHICS: Simplify the interface of Graphics::loadThumbnail().
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07 15:19:09 +02:00
Christoph Mallon 0e6751372a SCI: Simplify allocation of ResourceManager. 2011-08-07 15:19:08 +02:00
Christoph Mallon f3afb32ee6 SCI: Remove unnecessary cast. 2011-08-07 15:19:08 +02:00
Max Horn dae19afbfb SCI: Let fallback detector set GUIO_NOSPEECH appropriately 2011-06-20 01:28:10 +02:00
Max Horn 2e2676526d SCI: Improve 'extra' strings generated by fallback detector 2011-06-17 14:21:18 +02:00
Max Horn c2bbab4fec SCI: Improve fallback detection for KQ7 2011-06-17 14:21:17 +02:00
Max Horn 055820c94b SCI: Improve fallback detection for GK2 demo 2011-06-17 14:21:17 +02:00
Max Horn cef5506e9f SCI: Change fallback detector to use allFiles hashmap 2011-06-17 14:21:17 +02:00
Max Horn 520b18d2ac SCI: Use ScopedPtr to handle temporary resMan instance on the heap 2011-06-17 10:38:16 +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 7c992d6598 DETECTOR: Merge ADParams into AdvancedMetaEngine 2011-06-14 18:17:01 +02:00
Max Horn b99d76acdb SCI: Switch to alternate AdvancedMetaEngine, avoid ADParams 2011-06-10 22:15:44 +02:00
Max Horn 4827cc914a ENGINES: Change incorrect use of 'target' to 'gameid' 2011-06-10 22:15:40 +02:00
Max Horn 477d6233c3 ENGINES: Change 2nd param of Engine::saveGameState to Common::String 2011-06-02 18:31:59 +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
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Filippos Karapetis 576efc526b SCI: The SCI2.1 SVGA version of MUMG is named "Mixed-Up Mother Goose Deluxe"
svn-id: r55139
2011-01-07 00:19:54 +00:00
Filippos Karapetis 34ae92033c SCI: Moved the "SCI" bit to the extras field, to preserve the original naming of the games
svn-id: r55119
2011-01-04 19:46:18 +00:00
Filippos Karapetis 9fe6540dd9 SCI: Corrected game description for LSL1 (thanks Raziel)
svn-id: r55118
2011-01-04 19:23:05 +00:00
Filippos Karapetis 77a1915377 SCI: Some changes to the naming scheme of some games
- For remakes like KQ1, KQ4 and LSL1, the "SCI remake" bit has been moved to the game
description (as it's part of the description, not the extras)
- The "VGA" bit has been removed from the extras. Only the "EGA" bit remains for EGA
versions, to distinguish them from their VGA counterparts, when they exist

svn-id: r55115
2011-01-04 09:09:56 +00:00
Max Horn a0df86955f ALL: Push down deps on stream.h from .h to .cpp files
svn-id: r54358
2010-11-19 01:37:04 +00:00
Filippos Karapetis 581a090204 SCI3: Removed detection and any possible support of Shivers 2
Shivers 2 doesn't contain SCI scripts. The whole game logic has
been reimplemented from SCI in native code placed in DLL files.
Each room has its own DLL file, and some SCI functions have been
reimplemented/rewritten for this purpose in native code. The
game and demo have all the resources of a SCI game, apart from
the SCI scripts themselves. Thus, they cannot be directly
supported, unless their whole room logic is rewritten from
scratch, which classifies Shivers 2 as "not SCI"

svn-id: r54173
2010-11-09 22:01:12 +00:00
Filippos Karapetis 55f0b88c07 SCI: Fixed the fallback detector again
This is a regression from r54155, as we previously ignored the result of 
addInternalSources() in the fallback detector

svn-id: r54163
2010-11-09 17:07:34 +00:00
Max Horn e27b05ef35 COMMON: Rename String::printf() to String::format()
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.

The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.

svn-id: r54004
2010-11-01 16:02:28 +00:00
Filippos Karapetis dca3c8d8bf SCI: Play time related changes
- Added support for savegame play time
- Removed obsolete variables for calculating the play time (EngineState::gameStartTime and Console::_enterTime)
- Renamed some variables to camelCase

svn-id: r53974
2010-10-31 01:45:24 +00:00
Torbjörn Andersson c91a07229a JANITORIAL: Removed most punctuation at end of warning() and error()
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.

svn-id: r52791
2010-09-18 10:55:16 +00:00
Filippos Karapetis 928bcdbe09 SCI: Some changes to the fallback detector (sync with branch 1.2.0)
Added more graceful handling of the case where SCI32 isn't built in and the
user tries to detect or start a SCI32 game

svn-id: r52789
2010-09-18 09:47:18 +00:00
Martin Kiewitz b7a2fd899e SCI: adding mother goose title
svn-id: r52507
2010-09-03 17:49:22 +00:00
Martin Kiewitz d828b36d76 SCI: changing maximum slots from 0-999 to 0-99
svn-id: r52319
2010-08-24 09:05:54 +00:00
Martin Kiewitz 7b8add291e SCI: multiple changes for mother goose vga
which is sci1 and sci1.1
fixes bug #3051145
- separating this mother goose from ega and sci2.1
- adding workaround when restoring saved games in these games, games try to calculate restored savedgameid instead of looking it up, we patch this code out and also set the global to the current savedgameid
- adding workaround for scripts checking savedgameid to be below 13 (our savedgameids begin at 100 now)
- changing official range for savedgameids from 1000->1999 to 100->199, otherwise mother goose would have required much larger patches and this range should be fine even if we replace savedgame dialogs later

svn-id: r52301
2010-08-23 16:33:19 +00:00
Johannes Schickel dd38e424e7 SCI: Fix leaks in ResourceManager::listResources caller code.
svn-id: r51666
2010-08-02 22:27:26 +00:00
Matthew Hoops 94e8c3a1a8 SCI: Add fallback detection for Mac SCI0 games
svn-id: r51620
2010-08-02 14:38:20 +00:00
Filippos Karapetis 7207290dc3 SCI: Enabled the "Return to Launcher" feature (needs testing)
svn-id: r51577
2010-08-01 13:11:24 +00:00
Martin Kiewitz b873cf2ebf SCI: changes for mother goose sci2.1
changed signature for kSetCursor sci2.1
added workarounds
added separate gameid for mother goose sci2.1

svn-id: r51385
2010-07-27 19:09:57 +00:00
Martin Kiewitz fc1e5c8fae SCI: adding comments about not enabling ScummVM menu saving
svn-id: r51007
2010-07-18 19:19:49 +00:00
Martin Kiewitz fd27041b35 SCI: disabling saving from scummvm menu
svn-id: r50993
2010-07-18 14:21:38 +00:00
Martin Kiewitz f456b7cfa2 SCI: separating qfg1ega and qfg1vga gameids
svn-id: r50881
2010-07-14 11:53:12 +00:00
Martin Kiewitz d52a872724 SCI: changing gameid of lsl6 sci2.1 into "lsl6hires". We need to keep workarounds etc. separate, scripts are not compatible
svn-id: r50829
2010-07-12 19:55:42 +00:00
Max Horn 6ee82a2027 SCI: Introduce SciGameId enum
svn-id: r50273
2010-06-25 16:16:29 +00:00
Max Horn 824dd44ddf SCI: Revise how ResourceManager is instantiated.
This should allow for better error handling. Also, it
means that g_sci->getResMan() returns a valid value much sooner,
allowing me to simplify some code.

Also added a note about potentially replacing Common::FSList usage
by Common::Archive (and FSNode by Archive/ArchiveMember ?). This
might be a way to unify the addAppropriateSources variants again.

svn-id: r49825
2010-06-15 12:15:52 +00:00
Eugene Sandulenko 44a39ffbc6 AdvancedDetector: Add new parameter directoryGlobs.
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.

svn-id: r49788
2010-06-15 10:59:23 +00:00
Filippos Karapetis ba3c43498b - Swapped the return value of gamestate_save (false = failed, true = succeeded)
- Removed some duplicate code inside Console::cmdSaveGame()

svn-id: r49688
2010-06-15 08:39:03 +00:00
Eugene Sandulenko 4d517ed0e9 Extended advancedDetector with depth parameter.
Now AD can search nested directories. By default it is turned off,
but there is new parameter to ADParameters struct. Usually value
of 2 is good enough for all purposes.

svn-id: r49653
2010-06-14 14:50:23 +00:00
Filippos Karapetis 93f33c7dab Resolved a FIXME with getSciLanguage(), by creating a separate setter. Also, some camelCase changes
svn-id: r49568
2010-06-10 11:18:10 +00:00
Filippos Karapetis 9b8e4e8359 Moved all of the game init/run/exit logic inside the SciEngine class
svn-id: r49559
2010-06-10 07:32:05 +00:00