summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-18 17:15:52 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-18 17:15:52 +0300
commitc7a122c9d12d4ba6c08aed06291ebebf6bcdd1ed (patch)
tree14df91219b35d83feab98360d978de73f3a946af /src/commands.h
parentdd828df46a661fbd0a24fbe540a4a585360be005 (diff)
downloadManaVerse-c7a122c9d12d4ba6c08aed06291ebebf6bcdd1ed.tar.gz
ManaVerse-c7a122c9d12d4ba6c08aed06291ebebf6bcdd1ed.tar.bz2
ManaVerse-c7a122c9d12d4ba6c08aed06291ebebf6bcdd1ed.tar.xz
ManaVerse-c7a122c9d12d4ba6c08aed06291ebebf6bcdd1ed.zip
move some other code from popupmenu to commands.
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h
index bd0b8107d..f990ab69a 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -116,6 +116,10 @@ namespace Commands
decHandler(testsdlfont);
decHandler(enableHighlight);
decHandler(disableHighlight);
+ decHandler(dontRemoveName);
+ decHandler(removeName);
+ decHandler(disableAway);
+ decHandler(enableAway);
void replaceVars(std::string &str);
} // namespace Commands
@@ -196,6 +200,10 @@ enum
COMMAND_TESTSDLFONT,
COMMAND_ENABLEHIGHLIGHT,
COMMAND_DISABLEHIGHLIGHT,
+ COMMAND_DONTREMOVENAME,
+ COMMAND_REMOVENAME,
+ COMMAND_DISABLEAWAY,
+ COMMAND_ENABLEAWAY,
COMMAND_HACK,
END_COMMANDS,
};
@@ -276,6 +284,10 @@ static const CommandInfo commands[] =
{"testsdlfont", &Commands::testsdlfont},
{"enablehighlight", &Commands::enableHighlight},
{"disablehighlight", &Commands::disableHighlight},
+ {"", &Commands::dontRemoveName},
+ {"", &Commands::removeName},
+ {"disableaway", &Commands::disableAway},
+ {"enableaway", &Commands::enableAway},
{"hack", &Commands::hack}
};