aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/resman.cpp
AgeCommit message (Collapse)Author
2008-12-03Changed readLine_OLD() to readLine_NEW(). I guess both this and the previousTorbjörn Andersson
readLine() change could be more robust, but at least it should be no worse than it was before. svn-id: r35226
2008-10-02Engine class changed:Max Horn
- 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-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-09-03Renamed SeekableReadStream::readLine to SeekableReadStream::readLine_OLD; ↵Max Horn
added a new alternate SeekableReadStream::readLine() instead svn-id: r34315
2008-08-04Merged revisions ↵Christopher Page
33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33624
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-07-13SWORD2 works with the new GMM implementationChristopher Page
svn-id: r33044
2008-05-07Changed all delete [] usages to delete[].Johannes Schickel
svn-id: r31927
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-31Re-added Revolution Software copyright to BS2 engineMax Horn
svn-id: r27030
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-03-01Removed obsolete 'if' (resp. replaced it by an assert)Max Horn
svn-id: r25918
2007-03-01Got rid of another use of File::incRef/decRefMax Horn
svn-id: r25917
2007-02-17Removed some dead code, updated a warning messageMax Horn
svn-id: r25662
2007-01-27Stop movie lead-in/out when restarting the game (as I already claimed in aTorbjörn Andersson
comment that I was doing) to *really* fix bug #1645480. This time for sure... svn-id: r25231
2007-01-26Added separate function for playing cutscene lead-in/out sounds, and made sureTorbjörn Andersson
that these are stopped whenever the engine is going to do a mass killing of game resources, e.g. when restoring or restarting the game. Should fix bug #1645480. (This was a regression added during the rewrite to support DXA.) svn-id: r25204
2006-07-08Slightly more verbose debug message.Torbjörn Andersson
svn-id: r23428
2006-05-24Only check if the files on "CD 0" are present. The others are requested withTorbjörn Andersson
"insert CD" messages. (Of course, that isn't supported, or even well tested, but the idea is sound.) This makes it possible to run the BS2 demo again. Incidentally, this is how I *meant* for it to work when I added that check - I even wrote so in the comment above that section of the code - so how on earth did I manage to screw it up like that? svn-id: r22594
2006-05-18Initialise _resList to avoid crash (from freeing an invalid pointer) if theTorbjörn Andersson
data files are missing. svn-id: r22520
2006-04-26Do not call static class methods as if they were instance methodsMax Horn
svn-id: r22172
2006-04-26If the resource manager fails to initialize itself properly, instead ofTorbjörn Andersson
printing a fatal error, use the new GUIErrorMessage function and return to the launcher. Also, verify that all files that should be present on "CD 0" (i.e. on the hard disk) are present at startup, at least. (Any other missing CLU file is already requested with an "Insert CD" message.) svn-id: r22168
2006-04-16Do not override the 'directory' param when dumping BS2 resourcesMax Horn
svn-id: r21935
2006-04-01Guard against too many entries in resource.inf, since there has been a TODOTorbjörn Andersson
comment about that (removed in the previous commit) since roughly forever. svn-id: r21536
2006-04-01Simplified the loading of resource.infTorbjörn Andersson
svn-id: r21533
2006-03-08Fixed tons of format string warnings for debug/error calls (including ↵Max Horn
several errors where the format string didn't match the number of arguments to the call) svn-id: r21141
2006-02-17Removed includes from sword2.h so that (hopefully) there will eventually beTorbjörn Andersson
less dependencies. svn-id: r20741
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582