Jeck - WResourceManager now tracks filesystem misses for cards (up to MAX_CACHE_OBJECTS) and sfx, so disk use is much reduced.

This commit is contained in:
wagic.jeck
2009-09-03 21:52:41 +00:00
parent 805a78e39d
commit 0689b01536
2 changed files with 56 additions and 31 deletions

View File

@@ -81,6 +81,8 @@ public:
void Release(JQuad * quad);
void Release(JSample * sample);
void ClearMisses();
unsigned int nowTime();
//Our file redirect system.
@@ -101,7 +103,6 @@ public:
//Wrapped from JSoundSystem. TODO: Privatize.
JMusic * ssLoadMusic(const char *fileName);
JSample * ssLoadSample(const char *fileName);
private:
bool RemoveOldestTexture();