27127 Commits

Author SHA1 Message Date
Johannes Schickel
e417471177 Committed slightly modified patch #2034983 "Case-insensitivy and directory handling for engines".
svn-id: r34734
2008-10-03 16:57:40 +00:00
Max Horn
4b236a787f SCUMM: Added french Monkey VGA variant, see bug #2129199
svn-id: r34732
2008-10-03 16:14:12 +00:00
Max Horn
84229ee79c Fixed Engine::hasFeature to use proper types (i.e., MetaEngine::MetaEngineFeature instead of int)
svn-id: r34731
2008-10-03 16:07:57 +00:00
Johannes Schickel
b178332e3e Fixed typos (thanks to Raziel^ for spotting them).
svn-id: r34727
2008-10-03 00:16:21 +00:00
Filippos Karapetis
17a51a235f Merged loadHotSpotsMads() and loadHotSpotsM4()
svn-id: r34726
2008-10-02 22:04:34 +00:00
Max Horn
2219ccf911 typo
svn-id: r34725
2008-10-02 18:11:40 +00:00
Max Horn
679b5484c4 Forgot to mention yet another Engine class change: mainMenuDialog -> openMainMenuDialog; and also forgot to commit this related file :/
svn-id: r34722
2008-10-02 17:55:08 +00:00
Max Horn
d269a84e03 Add the current dir to the global SearchSet, i.e. to SearchMan (this should fix the problems on Windows, and maybe other systems, see 'bug' #2137680)
svn-id: r34721
2008-10-02 17:52:29 +00:00
Max Horn
3248906156 Engine class changed:
- Moved initCommonGFX() && GUIErrorMessage() out of class Engine
- got rid of the _autosavePeriod member (this prevented users from
  changing the autosave period during runtime)
- Got rid of an evil 'using GUI::Dialog' statement
- Clarified some Doxygen comments

svn-id: r34720
2008-10-02 17:48:01 +00:00
Max Horn
c77124ff50 Fix for bug #2142743: Assertion on clicking "Theme" in Options
svn-id: r34719
2008-10-02 17:20:21 +00:00
Max Horn
0aa9e6ff4c Ignore String::deleteLastChar when called on an empty string
svn-id: r34718
2008-10-02 17:17:18 +00:00
Max Horn
36b9fb3053 cleanup
svn-id: r34717
2008-10-02 17:08:15 +00:00
Max Horn
c7fde102e3 Renamed FilesystemNode -> FSNode
svn-id: r34716
2008-10-02 16:58:59 +00:00
Travis Howell
31be8a6b3f Correct HE version for Putt-Putt Enters the Race (French/Windows).
svn-id: r34715
2008-10-02 14:41:50 +00:00
Max Horn
d2c0facc6a Fix ThemeBrowser to use FSNodes, not getPath()
svn-id: r34713
2008-09-30 17:09:41 +00:00
Filippos Karapetis
d4cb443af7 Fix crash when starting ITE, a regression from commit #34705
svn-id: r34712
2008-09-30 16:55:10 +00:00
Max Horn
e798561013 AGI: Simplify WagFileParser by not reading data into a memory stream first (this was there to improve performance on systems with slow seeking; those systems should use another approach, see scummvm-devel)
svn-id: r34711
2008-09-30 16:53:04 +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
Max Horn
73b833042e Modified FilePluginProvider to use FSNodes (instead of raw filenames / paths) in its API
svn-id: r34709
2008-09-30 16:34:38 +00:00
Max Horn
1d7de023d9 AGI: Another case where it is better to use FSNodes directly, instead of converting them to path strings
svn-id: r34708
2008-09-30 16:23:35 +00:00
Max Horn
cdc66fc120 Fixing ConfigManager::loadConfigFile
svn-id: r34707
2008-09-30 15:42:19 +00:00
Filippos Karapetis
45284cfad9 Fixed crash when starting IHNM, a regression from commit #34693
svn-id: r34705
2008-09-30 13:19:14 +00:00
Max Horn
7443b599c4 SKY: Fix detector to not (ab)use FSNode::getPath; if you want to open a FSNode, just pass it to File::open
svn-id: r34704
2008-09-30 12:59:29 +00:00
Max Horn
6aa12974bd SAGA: Some code cleanup
svn-id: r34703
2008-09-30 12:58:27 +00:00
Max Horn
ae8c0857b9 AdvancedDetector: Do not (ab)use paths to keep track of files, rather, use FSNodes -- partial (?) fix for bug #2137680
svn-id: r34702
2008-09-30 12:38:44 +00:00
Max Horn
50396dda70 cleanup
svn-id: r34701
2008-09-30 12:37:28 +00:00
Max Horn
9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Vicent Marti
87917e06d9 Fixed functionality of ZipArchive::getAllNames(). Now it expects a possibly non-empty string list and returns the amount of new filenames added to it.
svn-id: r34698
2008-09-30 11:53:37 +00:00
Max Horn
a7005b84ff cleanup
svn-id: r34697
2008-09-30 11:33:43 +00:00
Max Horn
7c0b2cfd27 Added multiple new open() methods to Common::File, which make it possible to use this class as a generic convenience wrapper around all kinds of SeekableReadStream; also renamed the name() method to the less confusing getName()
svn-id: r34696
2008-09-30 09:12:02 +00:00
Max Horn
d4a76c026f SAGA: Forgot to commit saga.h
svn-id: r34695
2008-09-30 09:11:25 +00:00
Max Horn
96faab4271 SCUMM HE: Use FilesystemNode::openForReading() instead of 'new Common::File' (didn't cover all instances, though)
svn-id: r34694
2008-09-30 09:09:39 +00:00
Max Horn
82f7b3e6e4 SAGA: Removed patchesCount from SAGAGameDescription
svn-id: r34693
2008-09-30 09:08:17 +00:00
Max Horn
66c481c70a Order alphabetically
svn-id: r34692
2008-09-30 09:07:03 +00:00
Vicent Marti
d11fa6484a Ported ZipArchive::getAllNames() implementation from GUI branch.
svn-id: r34691
2008-09-29 22:29:07 +00:00
Torbjörn Andersson
8fc8531f70 Since no one has come up with any better suggestion... this should fix #2123258
("COMI: Crash after video (SAN) play"). The eos() function won't return true
until we've tried to read *past* the end of the stream.

svn-id: r34689
2008-09-29 20:40:58 +00:00
Gregory Montoir
579b4b55c8 restrict _heXmapNum to HE versions, should fix #2135822
svn-id: r34688
2008-09-29 20:08:26 +00:00
Gregory Montoir
cb4caae8eb add constructor to SearchSet::Node for proper init of structure members with gcc 3.4.x (see tracker items #2120595, #2106292)
svn-id: r34686
2008-09-29 19:09:56 +00:00
Max Horn
1776c75566 Don't use File::name() needlessly (i.e. if you still know which file you just opened :)
svn-id: r34685
2008-09-29 11:07:39 +00:00
Max Horn
ad621e2623 Added const qualifiers
svn-id: r34684
2008-09-29 11:03:10 +00:00
Max Horn
392f9ee7fa SCUMM HE: Fixed leak in Win32ResExtractor::extractResource_, use _filename instead of File::name
svn-id: r34683
2008-09-29 11:02:11 +00:00
Max Horn
18536552e0 Added const qualifiers
svn-id: r34682
2008-09-29 11:01:25 +00:00
Max Horn
a177ebe156 Don't subclass ArjFile from Common::File (there seems to be no good reason for it). BTW, this code is an abomination and should be replaced by an Archive/SearchSet approach
svn-id: r34681
2008-09-29 10:49:36 +00:00
Max Horn
a4292055f7 File::open no longer falls back to searching the current dir (if this causes any regressions, please report them; don't work around them, don't revert this change, without discussing it first)
svn-id: r34680
2008-09-29 10:32:06 +00:00
Max Horn
00ca130f19 Add priority parameter to the SearchMan API
svn-id: r34679
2008-09-29 10:30:31 +00:00
Max Horn
1b90127ad9 Added FIXME to GP2x port
svn-id: r34678
2008-09-29 10:29:01 +00:00
Eugene Sandulenko
c7dd0bc853 Use better "silence" without clicks when speech is disabled.
svn-id: r34676
2008-09-28 22:19:11 +00:00
Eugene Sandulenko
294b953843 - Renamed withVoices to _subtitlesDisabled as it reflect the true meaning.
- Allowed to disable subtitles from options dialogs including RTL.

svn-id: r34675
2008-09-28 22:07:16 +00:00
Eugene Sandulenko
a2ddc7ffa2 Fix bug #2043489: DRASCULA: Cannot disable speech
svn-id: r34674
2008-09-28 21:53:14 +00:00
Eugene Sandulenko
160817fdf5 Add Italian C64 Zak
svn-id: r34672
2008-09-28 21:07:41 +00:00