aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/resman.cpp
AgeCommit message (Collapse)Author
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