]> Shamusworld >> Repos - architektonas/blobdiff - src/fileio.h
Whitespace changes. :-P
[architektonas] / src / fileio.h
index d4fc9d585efc2fe776bc08470989a782a1852c6e..b61bc33955de06f53aaeb78f239377345ba03994 100644 (file)
@@ -3,8 +3,6 @@
 
 #include <stdio.h>
 #include "structs.h"
-//class Container;
-//class Object;
 
 // 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.
@@ -14,10 +12,17 @@ class FileIO
        public:
                static bool SaveAtnsFile(FILE *, Container *);
                static bool LoadAtnsFile(FILE *, Container *);
+               static void ResetLayerVectors(void);
 
        private:
-               static bool GetObjectFromFile(FILE *, Object *, Object **, int *);
+               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__
-