22 #ifndef DGDS_RESOURCE_H 23 #define DGDS_RESOURCE_H 25 #include "common/file.h" 26 #include "common/hashmap.h" 27 #include "common/platform.h" 28 #include "common/stream.h" 34 typedef uint32 DGDS_ID;
35 typedef uint32 DGDS_EX;
36 #define DGDS_TYPENAME_MAX 4 47 #define MAX_VOLUMES 10 58 const ResourceList &getResources()
const {
return _resources; }
62 ResourceList _resources;
71 bool isSection(DGDS_ID section)
const;
90 bool isContainer()
const {
return _container; }
91 DGDS_ID getId()
const {
return _id; }
92 const char *getIdStr()
const {
return _idStr; }
93 uint32 getSize()
const {
return _size; }
100 char _idStr[DGDS_TYPENAME_MAX + 1];
106 bool isPacked()
const;
113 #endif // DGDS_RESOURCE_H
Definition: resource.h:38
Definition: resource.h:65
Definition: decompress.h:67
Definition: resource.h:49