diff options
| author | Petr Mrázek | 2012-02-21 18:19:17 +0100 |
|---|---|---|
| committer | Petr Mrázek | 2012-02-21 18:19:17 +0100 |
| commit | 2cd2ee9b0cc10b79f264c3a9a4597f59835fd419 (patch) | |
| tree | 7d95cbe0b7abd5d42990a15ed8b8d801a08a48ad /plugins/fixveins.cpp | |
| parent | 0b9e849096c95d68c6235c266560a2fb58908151 (diff) | |
| download | dfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.gz dfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.bz2 dfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.xz | |
New plugin interface
Diffstat (limited to 'plugins/fixveins.cpp')
| -rw-r--r-- | plugins/fixveins.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/fixveins.cpp b/plugins/fixveins.cpp index bb136f14..3d8d5cae 100644 --- a/plugins/fixveins.cpp +++ b/plugins/fixveins.cpp @@ -97,14 +97,10 @@ command_result df_fixveins (Core * c, vector <string> & parameters) return CR_OK; } -DFhackCExport const char * plugin_name ( void ) -{ - return "fixveins"; -} +DFHACK_PLUGIN("fixveins"); DFhackCExport command_result plugin_init ( Core * c, std::vector <PluginCommand> &commands) { - commands.clear(); commands.push_back(PluginCommand("fixveins", "Remove invalid references to mineral inclusions and restore missing ones.", df_fixveins)); |
