4 // (C) 1997-2007 Christopher J. Madsen
5 // (C) 2019 James Hammons
7 // GUEmap is licensed under either version 2 of the GPL, or (at your option)
8 // any later version. See LICENSE file for details.
10 // File constants and interface of the FileReader class
23 // Codes for GUEmap files:
24 //--------------------------------------------------------------------
33 // Record specific codes:
34 //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
44 //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
47 fcPagePosition = 0024,
49 //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
53 fcRoomPosition = 0034,
57 //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
82 FileReader(FILE * archive);
86 void str(std::string &);
88 void findRecord(uint8_t type);
89 uint8_t peekNextRecord();
90 void skipField(uint8_t fieldCode);
95 bool ReadFile(MapDoc *, const char *);
96 bool WriteFile(MapDoc *, const char *);