aboutsummaryrefslogtreecommitdiff
path: root/sword2/resman.cpp
AgeCommit message (Collapse)Author
2003-10-04added namespace Sword2Max Horn
svn-id: r10581
2003-10-03use C++ struct naming instead of typedefs -> this fixes (or works around, ↵Max Horn
whatever you prefer to call it) the GCC_PACK problem in Doxygen svn-id: r10569
2003-10-03Some renaming (ironic in the light of Fingolfin's recent namespaceTorbjörn Andersson
suggestion, but I prepared the patch long before reading the mail :-). Also, the remaining parts of the control panel etc. have been moved into a class of their own. This is still work in progress. I'm well aware that some of the classes aren't as well separated as they ought to be, and that using global variables to keep track of the different classes probably isn't pretty. svn-id: r10561
2003-09-30Moved the memory manager functions into an object of its own (and enabledTorbjörn Andersson
debugging levels). This needs further cleanups, but I believe I have reached a stable point where I can commit it without too much anxiety. svn-id: r10502
2003-09-30Changed the resource manager object to use more ScummVM-like naming.Torbjörn Andersson
svn-id: r10499
2003-09-27Removed CopyScreenBuffer() since it was a no-op anyway.Torbjörn Andersson
svn-id: r10427
2003-09-27More cleanup, and I've replaced most - not quite all - of BS2's debugTorbjörn Andersson
message functions with our own. We still need to go through them and assign sensible debug levels to them. svn-id: r10422
2003-09-26Some more reformatting / cleanup, and removal of comments that did nothingTorbjörn Andersson
but say who added what when. (No disrespect intended, but this information means very little to us.) svn-id: r10413
2003-09-24Replaced abs() with ABS and BOOL with bool, plus some minor cleanups.Torbjörn Andersson
svn-id: r10391
2003-09-23Changed the keyboard handling to store "keyboard events", rather than justTorbjörn Andersson
characters. Hopefully this will make things work smoother on the Mac, but I have no way of testing that. svn-id: r10376
2003-09-23whitespace fixesTorbjörn Andersson
svn-id: r10365
2003-09-21fix convertEndian compilation (thanks erik for giving me some work :-); also ↵Max Horn
removed the #ifdef around it, to prevent such 'incidences' in the future svn-id: r10356
2003-09-21ScummVM code formatting conventionsTorbjörn Andersson
svn-id: r10350
2003-09-19cleanupTorbjörn Andersson
svn-id: r10308
2003-09-18moved engine.* to base; this fixes some linking issues when building a ↵Max Horn
barebone ScummVM (or maybe I just want to increase our CVS stats? <g>) svn-id: r10287
2003-09-17added a static method setDefaultDirectory to class File; used this to ↵Max Horn
simplify some code; added a global g_sound pointer in bs2, this cuts down on uses of g_sword2 (of course both should be removed on the long run); some other minor tweaks/fixes svn-id: r10278
2003-09-17cleanupMax Horn
svn-id: r10277
2003-09-14Fingolfin, now I am really disappointed with you that you didn't see this ↵Oliver Kiehl
bug... ;) svn-id: r10252
2003-09-13simplified codeMax Horn
svn-id: r10245
2003-09-13and another endian fixOliver Kiehl
svn-id: r10241
2003-09-13convert run lists in the res managerMax Horn
svn-id: r10233
2003-09-13cleanupMax Horn
svn-id: r10222
2003-09-13improved heuristic, fixes crash when clicking on the fenceMax Horn
svn-id: r10207
2003-09-13<joostp> *Fingolfin does +5 damage to endian bug.Max Horn
svn-id: r10199
2003-09-12cleanupMax Horn
svn-id: r10197
2003-09-12cleanup / fix WALK_GRID_FILE case in convertEndianMax Horn
svn-id: r10196
2003-09-12move convertEndian aroundMax Horn
svn-id: r10195
2003-09-12No need to have convertEndian member of class resManMax Horn
svn-id: r10194
2003-09-12properly fixed parallax layers in BE systemsMax Horn
svn-id: r10193
2003-09-12endian fixesOliver Kiehl
svn-id: r10192
2003-09-09Our ServiceWindows() never returns RDERR_APPCLOSED, and we always behave asTorbjörn Andersson
if we have the focus, so there's no need to check. svn-id: r10130
2003-09-09Added a WaitForFade() function, to replace numerous while-loops scatteredTorbjörn Andersson
througout the code. svn-id: r10127
2003-09-02Re-formatted the code to be a bit more in line with the rest of ScummVM,Torbjörn Andersson
and made a few (untested) endian-fixes. svn-id: r9965
2003-09-01Another attempt at fixing the music1.clu / music2.clu thing.Torbjörn Andersson
svn-id: r9952
2003-08-31Untested (because I don't have any savegames on this computer) support forTorbjörn Andersson
using music1.clu and music2.clu instead of music.clu svn-id: r9943
2003-08-23SetPalette conflicts with an OS symbol on OS XMax Horn
svn-id: r9829
2003-08-23fix a resman method and make saving work using SaveFileManagerJonathan Gray
svn-id: r9828
2003-08-22stop bs2 trying to cache clustersJonathan Gray
svn-id: r9815
2003-08-19Remove a bunch of unneeded cruft - but barely the surface of it. This code ↵James Brown
is depressing and duplicated all over the place... I don't think I can bear to touch this code until it's undergone some MAJOR cleanup :) svn-id: r9782
2003-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-07-30rename bs2 to sword2 to have the same name as the original engine.Oliver Kiehl
besides this way all our engines start with an "s" ;) svn-id: r9301
2003-07-28match prototypeJonathan Gray
svn-id: r9238
2003-07-28rename _DEBUG define to _BS2_DEBUG to stop it conflicting with VCJonathan Gray
svn-id: r9237
2003-07-28replace DWORD usage with uint32Jonathan Gray
svn-id: r9235
2003-07-28rename functions with windows specific namesJonathan Gray
svn-id: r9233
2003-07-28add bs2demo target for broken sword 2 demoJonathan Gray
svn-id: r9229
2003-07-28A few warningsTravis Howell
svn-id: r9224
2003-07-28Compiles on mingw nowTravis Howell
svn-id: r9222
2003-07-28fixed yet more warningsMax Horn
svn-id: r9220
2003-07-28bs2Jonathan Gray
svn-id: r9211