Jeck - Please review: this makes minor changes to a lot of files, and major changes to the WCache flatten() function.
* Removed all calls to Release(JQuad*). * Updated flatten(). Prior flatten was buggy beyond belief. * Done some extensive testing, but if this causes more trouble than it fixes, we'll have to revert. It's too close to release time.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
class WResource{
|
||||
public:
|
||||
friend class WResourceManager;
|
||||
friend struct WCacheSort;
|
||||
template<class cacheItem,class cacheActual> friend class WCache;
|
||||
|
||||
WResource();
|
||||
@@ -64,8 +65,7 @@ public:
|
||||
|
||||
void Refresh();
|
||||
unsigned long size();
|
||||
bool isGood();
|
||||
bool isLocked();
|
||||
bool isGood();
|
||||
bool Attempt(string filename, int submode, int & error);
|
||||
bool compare(JTexture * t) {return (t == texture);};
|
||||
JTexture * Actual(); //Return this texture as is. Does not make a new one.
|
||||
|
||||
Reference in New Issue
Block a user