diff options
Diffstat (limited to 'engines/pink/file.h')
-rw-r--r-- | engines/pink/file.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/engines/pink/file.h b/engines/pink/file.h index 469885f566..094a332dd3 100644 --- a/engines/pink/file.h +++ b/engines/pink/file.h @@ -28,23 +28,23 @@ namespace Pink { struct ObjectDescription { - void load(Common::File &file); + void load(Common::File &file); - char name[16]; - uint32 objectsOffset; - uint32 objectsCount; - uint32 resourcesOffset; - uint32 resourcesCount; + char name[16]; + uint32 objectsOffset; + uint32 objectsCount; + uint32 resourcesOffset; + uint32 resourcesCount; }; struct ResourceDescription { - void load(Common::File &file); + void load(Common::File &file); - char name[16]; - uint32 offset; - uint32 size; - bool inBro; // in original it is short. - // Don't know what's better to use.(Perhaps no difference because of padding) + char name[16]; + uint32 offset; + uint32 size; + bool inBro; // in original it is short. + // Don't know what's better to use.(Perhaps no difference because of padding) }; class PinkEngine; @@ -52,30 +52,30 @@ class Object; class OrbFile : public Common::File { public: - OrbFile(); - virtual ~OrbFile(); - virtual bool open(const Common::String &name); + OrbFile(); + virtual ~OrbFile(); + virtual bool open(const Common::String &name); - void loadGame(PinkEngine *game); - void loadObject(Object *obj, const Common::String &name); - void loadObject(Object *obj, ObjectDescription *objDesc); + void loadGame(PinkEngine *game); + void loadObject(Object *obj, const Common::String &name); + void loadObject(Object *obj, ObjectDescription *objDesc); - ObjectDescription *getObjDesc(const char *name); - ResourceDescription *getResDescTable(ObjectDescription *objDesc); + ObjectDescription *getObjDesc(const char *name); + ResourceDescription *getResDescTable(ObjectDescription *objDesc); - uint32 getTimestamp(); + uint32 getTimestamp(); private: - void seekToObject(const char *name); + void seekToObject(const char *name); ObjectDescription *_table; - uint32 _timestamp; - uint32 _tableOffset; - uint32 _tableSize; + uint32 _timestamp; + uint32 _tableOffset; + uint32 _tableSize; }; class BroFile : public Common::File { public: - virtual bool open(const Common::String &name, uint32 orbTimestamp); + virtual bool open(const Common::String &name, uint32 orbTimestamp); }; } // End of namespace Pink |