diff options
| author | Quietust | 2012-02-13 22:54:08 -0600 |
|---|---|---|
| committer | Quietust | 2012-02-13 22:54:08 -0600 |
| commit | 091bf62aa8dc4f27ab48e2072be65e9b6741e304 (patch) | |
| tree | 27da5ac1686f292dc0a172b3edcbe722b076f249 /plugins/initflags.cpp | |
| parent | 2fd2e3dce2318789f68d2da30a94b344cf0c1bc2 (diff) | |
| download | dfhack-091bf62aa8dc4f27ab48e2072be65e9b6741e304.tar.gz dfhack-091bf62aa8dc4f27ab48e2072be65e9b6741e304.tar.bz2 dfhack-091bf62aa8dc4f27ab48e2072be65e9b6741e304.tar.xz | |
DFhackCExport is only needed on the plugin_* functions
Diffstat (limited to 'plugins/initflags.cpp')
| -rw-r--r-- | plugins/initflags.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/initflags.cpp b/plugins/initflags.cpp index fd54b488..900855e4 100644 --- a/plugins/initflags.cpp +++ b/plugins/initflags.cpp @@ -14,8 +14,8 @@ using namespace df::enums; using df::global::d_init; -DFhackCExport command_result twaterlvl(Core * c, vector <string> & parameters); -DFhackCExport command_result tidlers(Core * c, vector <string> & parameters); +command_result twaterlvl(Core * c, vector <string> & parameters); +command_result tidlers(Core * c, vector <string> & parameters); DFhackCExport const char * plugin_name ( void ) { @@ -40,7 +40,7 @@ DFhackCExport command_result plugin_shutdown ( Core * c ) return CR_OK; } -DFhackCExport command_result twaterlvl(Core * c, vector <string> & parameters) +command_result twaterlvl(Core * c, vector <string> & parameters) { // HOTKEY COMMAND: CORE ALREADY SUSPENDED d_init->flags1.toggle(d_init_flags1::SHOW_FLOW_AMOUNTS); @@ -48,7 +48,7 @@ DFhackCExport command_result twaterlvl(Core * c, vector <string> & parameters) return CR_OK; } -DFhackCExport command_result tidlers(Core * c, vector <string> & parameters) +command_result tidlers(Core * c, vector <string> & parameters) { // HOTKEY COMMAND: CORE ALREADY SUSPENDED d_init->idlers = ENUM_NEXT_ITEM(d_init_idlers, d_init->idlers); |
