home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Server/py: Add (mostly dummy) WORLD_ACTIVE command.
[plomrogue]
/
src
/
client
/
command_db.h
diff --git
a/src/client/command_db.h
b/src/client/command_db.h
index bed89c433c10e467762b587d3befa52ba4fd0fde..ff56984807e219e4c413079d4991e7b51d03ed66 100644
(file)
--- a/
src/client/command_db.h
+++ b/
src/client/command_db.h
@@
-1,4
+1,8
@@
/* src/client/command_db.h
/* src/client/command_db.h
+ *
+ * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+ * or any later version. For details on its copyright, license, and warranties,
+ * see the file NOTICE in the root directory of the PlomRogue source package.
*
* The Command DB collects the commands available to the user by internal name,
* description and, optionally, components of a message to send to the server
*
* The Command DB collects the commands available to the user by internal name,
* description and, optionally, components of a message to send to the server
@@
-17,7
+21,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 * 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 arg; /* defines server message suffix by
player_control() convention
*/
+ char arg; /* defines server message suffix by
try_server_commands() rules
*/
};
struct CommandDB
};
struct CommandDB
@@
-33,7
+37,7
@@
struct CommandDB
*/
extern struct Command * get_command(char * dsc_short);
*/
extern struct Command * get_command(char * dsc_short);
-/* Read
s
in CommandDB config file. */
+/* Read in CommandDB config file. */
extern void init_command_db();
/* Free all memory allocated with init_command_db. */
extern void init_command_db();
/* Free all memory allocated with init_command_db. */