]> Shamusworld >> Repos - architektonas/blobdiff - src/fileio.h
Fix to prevent hit testing of objects on invisible layers.
[architektonas] / src / fileio.h
index 5994e27eba32482fc7e2b2286900e724a48efe2e..b61bc33955de06f53aaeb78f239377345ba03994 100644 (file)
@@ -2,8 +2,7 @@
 #define __FILEIO_H__
 
 #include <stdio.h>
-
-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,7 +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__
-