diff --git a/mapeditor.cpp b/mapeditor.cpp index 7fdbced1..244b3086 100644 --- a/mapeditor.cpp +++ b/mapeditor.cpp @@ -375,14 +375,15 @@ EX } #if HDR struct hstream; +struct fhstream; #endif EX namespace mapstream { #if CAP_EDIT - std::map cellids; - vector cellbyid; - vector relspin; + EX std::map cellids; + EX vector cellbyid; + EX vector relspin; void load_drawing_tool(fhstream& hs) { using namespace mapeditor; @@ -605,6 +606,8 @@ EX namespace mapstream { if(vernum >= 0xA810) f.read(mine_adjacency_rule); } + + EX hookset hooks_savemap, hooks_loadmap; #if CAP_EDIT void save_only_map(fhstream& f) { @@ -684,6 +687,8 @@ EX namespace mapstream { if(multi::players > 1) for(int i=0; i