X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fclient%2Fcommand_db.h;h=a3fbd6cf224da7c007bfcdb31a0cb2376a638ddb;hb=37fb9ef76174a83e27dd27a3250f4be5542e7452;hp=0f2ef77678ff9e39fa2eb52c1087c6b99a5d352d;hpb=c53b1488c5a53e8b12cb3a631763f98010420690;p=plomrogue diff --git a/src/client/command_db.h b/src/client/command_db.h index 0f2ef77..a3fbd6c 100644 --- a/src/client/command_db.h +++ b/src/client/command_db.h @@ -16,7 +16,7 @@ struct Command { char * dsc_short; /* short name of command to be used internally */ char * dsc_long; /* long description of command to be shown to the user */ - char * server_msg; /* optionally start string of message to send to server */ + char * server_msg; /* optionally start string of message to send to server*/ char arg; /* defines server message suffix by player_control() convention */ }; @@ -29,7 +29,7 @@ struct CommandDB /* Return Command struct for command described by its "dsc_short" member. */ -extern struct Command * get_command_data(char * dsc_short); +extern struct Command * get_command(char * dsc_short); /* Reads CommandDB from CommandDB file, line by line, until first empty line. */ extern void init_command_db();