X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/move_up?a=blobdiff_plain;f=src%2Fclient%2Fcommand_db.h;h=9ed55d9f0700dab80cf2a9f66bf561607561a83d;hb=8226d2e4e1aaaeb3b843b4eb9a178d71cc7896e1;hp=769670baecacb39eae3e14357f288602849f35c4;hpb=dd9d65ee727ac7e95801da0f8b5bae7009811802;p=plomrogue diff --git a/src/client/command_db.h b/src/client/command_db.h index 769670b..9ed55d9 100644 --- a/src/client/command_db.h +++ b/src/client/command_db.h @@ -15,7 +15,6 @@ struct Command { char * dsc_short; /* short string name of command to be used internally */ char * dsc_long; /* long string description of command for the user */ - uint8_t id; /* unique identifier of command */ }; struct CommandDB @@ -26,12 +25,6 @@ struct CommandDB -/* Is "id" the ID of command whose dsc_short is "shortdsc"? Answer in binary. */ -extern uint8_t is_command_id_shortdsc(uint8_t id, char * shortdsc); - -/* Give short description of command ("dsc_short"), get its ID. */ -extern uint8_t get_command_id(char * dsc_short); - /* Give short description of command ("dsc_short"), get long description. */ extern char * get_command_longdsc(char * dsc_short);