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/reveal.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/reveal.cpp')
| -rw-r--r-- | plugins/reveal.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/reveal.cpp b/plugins/reveal.cpp index 739793ae..0787f011 100644 --- a/plugins/reveal.cpp +++ b/plugins/reveal.cpp @@ -58,11 +58,11 @@ enum revealstate revealstate revealed = NOT_REVEALED; -DFhackCExport command_result reveal(DFHack::Core * c, std::vector<std::string> & params); -DFhackCExport command_result unreveal(DFHack::Core * c, std::vector<std::string> & params); -DFhackCExport command_result revtoggle(DFHack::Core * c, std::vector<std::string> & params); -DFhackCExport command_result revflood(DFHack::Core * c, std::vector<std::string> & params); -DFhackCExport command_result nopause(DFHack::Core * c, std::vector<std::string> & params); +command_result reveal(DFHack::Core * c, std::vector<std::string> & params); +command_result unreveal(DFHack::Core * c, std::vector<std::string> & params); +command_result revtoggle(DFHack::Core * c, std::vector<std::string> & params); +command_result revflood(DFHack::Core * c, std::vector<std::string> & params); +command_result nopause(DFHack::Core * c, std::vector<std::string> & params); DFhackCExport const char * plugin_name ( void ) { @@ -124,7 +124,7 @@ command_result nopause (Core * c, std::vector <std::string> & parameters) } -DFhackCExport command_result reveal(DFHack::Core * c, std::vector<std::string> & params) +command_result reveal(DFHack::Core * c, std::vector<std::string> & params) { bool no_hell = true; bool pause = true; @@ -215,7 +215,7 @@ DFhackCExport command_result reveal(DFHack::Core * c, std::vector<std::string> & return CR_OK; } -DFhackCExport command_result unreveal(DFHack::Core * c, std::vector<std::string> & params) +command_result unreveal(DFHack::Core * c, std::vector<std::string> & params) { Console & con = c->con; for(size_t i = 0; i < params.size();i++) @@ -272,7 +272,7 @@ DFhackCExport command_result unreveal(DFHack::Core * c, std::vector<std::string> return CR_OK; } -DFhackCExport command_result revtoggle (DFHack::Core * c, std::vector<std::string> & params) +command_result revtoggle (DFHack::Core * c, std::vector<std::string> & params) { for(size_t i = 0; i < params.size();i++) { @@ -292,7 +292,7 @@ DFhackCExport command_result revtoggle (DFHack::Core * c, std::vector<std::strin } } -DFhackCExport command_result revflood(DFHack::Core * c, std::vector<std::string> & params) +command_result revflood(DFHack::Core * c, std::vector<std::string> & params) { for(size_t i = 0; i < params.size();i++) { |
