X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ffileio.h;h=84755a0ac5391d77e30698b48aa8ccfe91437865;hb=c20f82651fdc4dd26172bcb71a85e6eb29eacd43;hp=5994e27eba32482fc7e2b2286900e724a48efe2e;hpb=baf67656b97e3d61e9223e66ebe4f554e364cd4a;p=architektonas diff --git a/src/fileio.h b/src/fileio.h index 5994e27..84755a0 100644 --- a/src/fileio.h +++ b/src/fileio.h @@ -2,8 +2,7 @@ #define __FILEIO_H__ #include - -class Container; +#include "structs.h" // NB: The methods in this class are all static, so there's no need to // instantiate an object of this type to use its functions. @@ -13,6 +12,17 @@ class FileIO public: static bool SaveAtnsFile(FILE *, Container *); static bool LoadAtnsFile(FILE *, Container *); + static void ResetLayerVectors(void); + + private: + static bool LoadVersion1_0(FILE *, Container *); + static bool LoadVersion1_1(FILE *, Container *); + static bool LoadVersion1_2(FILE *, Container *); +// static bool GetObjectFromFile(FILE *, Object *, Object **, int *); + static Object * GetObjectFromFile(FILE *, bool extended = false, bool ext2 = false); + static bool WriteObjectToFile(FILE *, Object *); + + static int objectFileType; }; #endif // __FILEIO_H__