File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ if (BUILD_SUPPORTED)
9393 DFHACK_PLUGIN(autotrade autotrade.cpp)
9494 DFHACK_PLUGIN(burrows burrows.cpp LINK_LIBRARIES lua)
9595 DFHACK_PLUGIN(building-hacks building-hacks.cpp LINK_LIBRARIES lua)
96- # DFHACK_PLUGIN(buildingplan buildingplan-lib.cpp buildingplan.cpp)
96+ DFHACK_PLUGIN(buildingplan buildingplan-lib.cpp buildingplan.cpp)
9797 DFHACK_PLUGIN(catsplosion catsplosion.cpp)
9898 DFHACK_PLUGIN(changeitem changeitem.cpp)
9999 DFHACK_PLUGIN(changelayer changelayer.cpp)
@@ -122,7 +122,7 @@ if (BUILD_SUPPORTED)
122122 DFHACK_PLUGIN(flows flows.cpp)
123123 DFHACK_PLUGIN(follow follow.cpp)
124124 DFHACK_PLUGIN(forceequip forceequip.cpp)
125- # DFHACK_PLUGIN(fortplan buildingplan-lib.cpp fortplan.cpp)
125+ DFHACK_PLUGIN(fortplan buildingplan-lib.cpp fortplan.cpp)
126126 DFHACK_PLUGIN(getplants getplants.cpp)
127127 DFHACK_PLUGIN(hotkeys hotkeys.cpp)
128128 DFHACK_PLUGIN(infiniteSky infiniteSky.cpp)
Original file line number Diff line number Diff line change 11#include " buildingplan-lib.h"
22
33#define PLUGIN_VERSION 0.00
4- static void debug (const string &msg)
4+ void debug (const string &msg)
55{
66 if (!show_debugging)
77 return ;
@@ -10,6 +10,8 @@ static void debug(const string &msg)
1010 out << " DEBUG (" << PLUGIN_VERSION << " ): " << msg << endl;
1111}
1212
13+ void enable_quickfort_fn (pair<const df::building_type, bool >& pair) { pair.second = true ; }
14+
1315/*
1416 * Material Choice Screen
1517 */
Original file line number Diff line number Diff line change @@ -97,12 +97,12 @@ static MaterialInfo &material_info_identity_fn(MaterialInfo &m);
9797
9898static map<df::building_type, bool > planmode_enabled, saved_planmodes;
9999
100- static void enable_quickfort_fn (pair<const df::building_type, bool >& pair);
100+ void enable_quickfort_fn (pair<const df::building_type, bool >& pair);
101101
102- static void debug (const std::string &msg);
102+ void debug (const std::string &msg);
103103static std::string material_to_string_fn (MaterialInfo m);
104104
105- static bool show_debugging = true ;
105+ static bool show_debugging = false ;
106106static bool show_help = false ;
107107
108108struct ItemFilter
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ DFhackCExport command_result plugin_shutdown ( color_ostream &out )
1111 return CR_OK;
1212}
1313
14- static void enable_quickfort_fn (pair<const df::building_type, bool >& pair) { pair.second = true ; }
1514
1615static bool is_planmode_enabled (df::building_type type)
1716{
You can’t perform that action at this time.
0 commit comments