22 #ifndef TOLTECS_RESOURCE_H 23 #define TOLTECS_RESOURCE_H 25 #include "common/file.h" 26 #include "common/hashmap.h" 27 #include "common/hash-str.h" 29 #include "engines/engine.h" 33 const uint kMaxCacheItems = 1024;
34 const uint kMaxCacheSize = 8 * 1024 * 1024;
42 void openArchive(
const char *filename);
45 uint32 openResource(uint resIndex);
49 uint32 getResourceSize(uint resIndex);
51 void dump(uint resIndex);
Definition: animation.h:28
Definition: resource.h:58
Definition: resource.h:37
Definition: resource.h:63
int64 size() const override