… | |
… | |
229 | |
229 | |
230 | void get (uint32 &i) const { i = get_sint64 (); } |
230 | void get (uint32 &i) const { i = get_sint64 (); } |
231 | void get (sint64 &i) const { i = get_sint64 (); } |
231 | void get (sint64 &i) const { i = get_sint64 (); } |
232 | |
232 | |
233 | void get (region_ptr &r) const; |
233 | void get (region_ptr &r) const; |
234 | void get (materialtype_t *&m) const; |
234 | void get (materialtype_t *&mt) const; |
235 | |
235 | |
236 | MTH void parse_warn (const_utf8_string msg) const; |
236 | MTH void parse_warn (const_utf8_string msg) const; |
237 | MTH bool parse_error (const_utf8_string type = 0, const_utf8_string name = 0, bool skip = true) const; |
237 | MTH bool parse_error (const_utf8_string type = 0, const_utf8_string name = 0, bool skip = true) const; |
238 | |
238 | |
239 | struct delayed_ref { |
239 | struct delayed_ref { |
… | |
… | |
244 | std::vector<delayed_ref> delrefs; |
244 | std::vector<delayed_ref> delrefs; |
245 | |
245 | |
246 | void delayed_deref (attachable *op, object_ptr &ptr, const_utf8_string ref); |
246 | void delayed_deref (attachable *op, object_ptr &ptr, const_utf8_string ref); |
247 | MTH void resolve_delayed_derefs (bool deref = true); |
247 | MTH void resolve_delayed_derefs (bool deref = true); |
248 | private: |
248 | private: |
|
|
249 | void init (const_utf8_string path); |
249 | void new_from_path (const_utf8_string path); |
250 | void init_from_file (const_utf8_string path); |
250 | }; |
251 | }; |
251 | |
252 | |
252 | #endif |
253 | #endif |
253 | |
254 | |