27646 Commits

Author SHA1 Message Date
Travis Howell
85174e8504 Add game path with a depth of level 4, to prevent regressions when loading files in HE arcade games again.
svn-id: r34842
2008-10-22 23:30:21 +00:00
Max Horn
a2d961a827 Made constructor of SearchManager singleton private
svn-id: r34841
2008-10-22 22:31:09 +00:00
Kari Salminen
5252f07305 Remove unnecessary function overloadings for loadBg16 and loadBg256.
svn-id: r34840
2008-10-22 20:45:25 +00:00
Kari Salminen
4d4042df36 Shut up MSVC and add FIXMEs to Sword's listSaves and ThemeEngine's loadThemeXML.
svn-id: r34839
2008-10-22 20:29:17 +00:00
Kari Salminen
b9709b5793 Make incrustMask and incrustSprite only draw to the current background in Operation Stealth.
svn-id: r34838
2008-10-22 19:56:38 +00:00
Johannes Schickel
7d331b7341 Committed updated version of my patch #2184529 "SearchSet: Get rid of SharedPtr usage".
svn-id: r34837
2008-10-22 17:44:12 +00:00
Max Horn
f881b95ddd Removed File::addDefaultDirectoryRecursive, tweaked SearchMan API slightly
svn-id: r34836
2008-10-22 17:08:17 +00:00
Vicent Marti
2630e964c9 Fixed: Broken english in System.h documentation.
svn-id: r34835
2008-10-21 18:13:35 +00:00
Vicent Marti
66cc100702 Fixed: Naming of STX files in Scummmodern theme.
svn-id: r34834
2008-10-21 18:03:47 +00:00
Johannes Schickel
649c18d565 Fix for bug #1960518 "ALL: --list-saves ignores custom paths".
svn-id: r34832
2008-10-21 16:01:06 +00:00
Johannes Schickel
cd38ddc542 Cleanup.
svn-id: r34831
2008-10-21 11:42:08 +00:00
Johannes Schickel
a5a73ff9d6 Formatting.
svn-id: r34830
2008-10-20 21:55:20 +00:00
Torbjörn Andersson
07220529dc Fix - at least partially - the list of savegames for the launcher's load dialog.
But I suspect there are still bugs lurking in that code. I really dislike how
Broken Sword 1 handles savegames...

svn-id: r34829
2008-10-20 21:47:46 +00:00
Torbjörn Andersson
871375d4b5 I believe this fixes bug #2162345 ("BS1: Can't overwrite savegame"), but I'd
really appreciate it if someone would test it further, in case I missed
something. (Broken Sword 1 stores the names of the savegames in a separate file,
and that has to be in sync with the individual savegame files. In my experience,
that sort of thing can really attract bugs...)

svn-id: r34828
2008-10-20 04:39:10 +00:00
Max Horn
f1a0d7dfb2 Code formatting fixes
svn-id: r34827
2008-10-19 21:06:26 +00:00
Kari Salminen
c501ef1450 Cleanup (Removed an extra 'return 0').
svn-id: r34826
2008-10-19 08:52:04 +00:00
Vicent Marti
98ae461556 Fixed: Assert when parsing a corrupted Theme archive (now discarding the theme silently as non-valid).
svn-id: r34825
2008-10-18 23:58:26 +00:00
Max Horn
2f92b31235 Simplify DXAPlayer::decodeZlib, and use common/zlib.h instead of system's zlib.h
svn-id: r34824
2008-10-18 22:56:43 +00:00
Benjamin Haisch
53163a4284 Implemented visual effects 1, 3, 4, 5, 6, 7 and 16
svn-id: r34823
2008-10-18 21:28:05 +00:00
Torbjörn Andersson
6e177e64df Fixed warning.
svn-id: r34822
2008-10-18 13:06:27 +00:00
Lars Persson
3595d0c09b Add game.cpp to makefile
svn-id: r34821
2008-10-18 12:37:50 +00:00
Lars Persson
167614f6f8 Need a differentiating zlib.h filename for SymbianOS.
svn-id: r34820
2008-10-18 12:20:46 +00:00
Vicent Marti
a67c16c6f2 Rewrote XMLParser error() function for the 5th time.
Bugfix: Ambiguous error message when parsing an unexpected header.

svn-id: r34819
2008-10-18 10:11:35 +00:00
Vicent Marti
1cc3ae04cd Fixed: Default theme had several XML headers.
svn-id: r34818
2008-10-18 10:06:33 +00:00
Vicent Marti
df8af387fb Changed XML Parser to require standards-compilant XML header.
Updated STX version to 0.3

svn-id: r34817
2008-10-18 09:14:43 +00:00
Vicent Marti
6e8adf4ea6 Fixed: Invisible debugger console text in Classic theme.
svn-id: r34816
2008-10-18 01:44:12 +00:00
Vicent Marti
46b036ab6a ImageManager: Added support for generic archives (zips and folders).
Theme Font Loading: Added support for generic archives.
ThemeEngine: Removed dependency on Common::File and File::AddDefaultPath for image and font loading.

svn-id: r34815
2008-10-18 01:27:33 +00:00
Vicent Marti
3644910f0d Fixed: "GUI: Crash in Debugger" (ID: 2169419)
svn-id: r34814
2008-10-18 00:29:23 +00:00
Max Horn
36311eefb4 OSYSTEM: Pushed out some port specific code from common/system.cpp to the respective ports
svn-id: r34812
2008-10-16 17:18:15 +00:00
Vicent Marti
0cd4939110 Changed XMLParser comment syntax to conform to XML standards (<!-- * -->)
Changed STX version string to 0.2.

svn-id: r34807
2008-10-15 13:34:18 +00:00
Vicent Marti
9ad49cf983 Fixed: Game version selection menu (Bugs 2167730 and 2164305).
svn-id: r34806
2008-10-15 11:22:22 +00:00
Vicent Marti
cf81446338 Fixed: Freddi 1/2 ingame menu crash (BUG 2167027).
Was: Crash when refreshing the screen with no open dialogs.

svn-id: r34805
2008-10-14 23:42:54 +00:00
Max Horn
61b04725a1 Another tweak to HE: Use SearchMan.openFile instead of a raw FSNode
svn-id: r34804
2008-10-14 19:39:33 +00:00
Vicent Marti
cda3086782 Greatly improved XML Parser error messages.
svn-id: r34803
2008-10-14 19:00:21 +00:00
Vicent Marti
1c374dcf35 Added "Mass Add" dialog.
svn-id: r34802
2008-10-14 17:53:52 +00:00
Vicent Marti
820a45d851 Fixed: Parser crash when adding an XML layout with an unhandled type.
svn-id: r34801
2008-10-14 17:29:48 +00:00
Vicent Marti
b3625cae2f Crash ScummVM when a widget definition cannot be found in the XML file and show a descriptive error.
svn-id: r34800
2008-10-14 17:22:25 +00:00
Kari Salminen
c949eb2dac Patch #2131406: AGI: Fix Crash with Apple][ Instruments.
Applied the patch as it is, thanks clone2727.
Now Apple IIGS AGI games don't crash anymore if the
instruments (They're in *.SYS16) or the instrument
samples (They're in SIERRASTANDARD) aren't found.

svn-id: r34798
2008-10-13 19:17:51 +00:00
Torbjörn Andersson
c2066b9c20 Fixed crash after using cutscene subtitles. (Now I *know* no one has used that
feature before. :-)

svn-id: r34796
2008-10-13 18:41:12 +00:00
Johannes Schickel
ffdbb474c4 Removed SearchManager::addArchive, since SearchManager::add offers the same functionallity.
svn-id: r34795
2008-10-13 15:07:37 +00:00
Max Horn
0c28575a72 OSYSTEM: Removed unused getExtraThemeConfig() method (TODO: Implement a new system which allows ports to add/remove stuff from the options dialogs)
svn-id: r34794
2008-10-13 12:38:58 +00:00
Max Horn
4686615edf Fix for bug #2162342: FREDDI1: Game does not start
svn-id: r34793
2008-10-13 10:26:26 +00:00
Vicent Marti
70091a6484 Fixed: Ingame debug console in all games.
svn-id: r34792
2008-10-13 10:04:42 +00:00
Florian Kagerer
e25265425d - fix installer file support for Kyra 2 and 3
- fix bug in pc98 audio driver

svn-id: r34791
2008-10-13 06:29:14 +00:00
Torbjörn Andersson
dc75da4348 Use the save file manager's listSavefiles() function to find out if any savegames
exist at all. (The old method was to potentially try and open a hundred files,
though it would stop after finding the first one.)

svn-id: r34790
2008-10-13 04:24:18 +00:00
Max Horn
4a56e0d9c1 Merged ThemeEngine::themeEval() and ThemeEngine::evaluator() methods into a single getEvaluator() method
svn-id: r34789
2008-10-12 22:25:35 +00:00
Max Horn
566a7b94d2 Removing dead code
svn-id: r34788
2008-10-12 22:23:35 +00:00
Torbjörn Andersson
4cd3adb690 Increased maximum subtitle line length for SimSaw. That code really should be
made more robust some day, but until now I don't think anyone actually used it.

svn-id: r34787
2008-10-12 22:14:30 +00:00
Max Horn
19b6289688 Don't call Common::List::size() if you don't have to (it's an expensive operation, which has to iterate the whole List, while empty() works in constant time)
svn-id: r34786
2008-10-12 22:06:31 +00:00
Max Horn
95474b048a COMMON: Added a new ObjectPool class, with matching operator new/delete overloads
svn-id: r34785
2008-10-12 22:05:26 +00:00