Plans: Make it possible to give plans a name.

(cherry picked from commit d9b553f130a6eda36e2eea217785f829d3d8624e)
This commit is contained in:
keldorkatarn
2018-04-10 15:29:22 +02:00
committed by Jonathan G Rennison
parent 2f2937356b
commit 98da7019d6
10 changed files with 79 additions and 5 deletions

View File

@@ -203,6 +203,7 @@ CommandProc CmdAddPlanLine;
CommandProc CmdRemovePlan;
CommandProc CmdRemovePlanLine;
CommandProc CmdChangePlanVisibility;
CommandProc CmdRenamePlan;
#define DEF_CMD(proc, flags, type) {proc, #proc, (CommandFlags)flags, type}
@@ -366,6 +367,7 @@ static const Command _command_proc_table[] = {
DEF_CMD(CmdRemovePlan, CMD_NO_TEST, CMDT_OTHER_MANAGEMENT ), // CMD_REMOVE_PLAN
DEF_CMD(CmdRemovePlanLine, CMD_NO_TEST, CMDT_OTHER_MANAGEMENT ), // CMD_REMOVE_PLAN_LINE
DEF_CMD(CmdChangePlanVisibility, CMD_NO_TEST, CMDT_OTHER_MANAGEMENT ), // CMD_CHANGE_PLAN_VISIBILITY
DEF_CMD(CmdRenamePlan, CMD_NO_TEST, CMDT_OTHER_MANAGEMENT ), // CMD_RENAME_PLAN
};
/*!