Crossfire Server, Branch 1.12  R12190
Data Structures | Defines | Typedefs | Variables
commands.h File Reference

Defines and structures related to commands the player can send. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  command_array_struct
 Represents one command. More...

Defines

#define EMOTE_ACCUSE   18
#define EMOTE_BEG   51
#define EMOTE_BLEED   52
#define EMOTE_BLUSH   22
#define EMOTE_BOUNCE   4
#define EMOTE_BOW   20
#define EMOTE_BURP   23
#define EMOTE_CACKLE   6
#define EMOTE_CHUCKLE   24
#define EMOTE_CLAP   21
#define EMOTE_COUGH   25
#define EMOTE_CRINGE   53
#define EMOTE_CRY   16
#define EMOTE_DANCE   2
#define EMOTE_FLIP   26
#define EMOTE_FROWN   27
#define EMOTE_GASP   28
#define EMOTE_GIGGLE   8
#define EMOTE_GLARE   29
#define EMOTE_GRIN   19
#define EMOTE_GROAN   30
#define EMOTE_GROWL   11
#define EMOTE_HICCUP   31
#define EMOTE_HUG   15
#define EMOTE_KISS   3
#define EMOTE_LAUGH   7
#define EMOTE_LICK   32
#define EMOTE_NOD   1
#define EMOTE_POKE   17
#define EMOTE_POUT   33
#define EMOTE_PUKE   10
#define EMOTE_SCREAM   12
#define EMOTE_SHAKE   9
#define EMOTE_SHIVER   34
#define EMOTE_SHRUG   35
#define EMOTE_SIGH   13
#define EMOTE_SLAP   36
#define EMOTE_SMILE   5
#define EMOTE_SMIRK   37
#define EMOTE_SNAP   38
#define EMOTE_SNEEZE   39
#define EMOTE_SNICKER   40
#define EMOTE_SNIFF   41
#define EMOTE_SNORE   42
#define EMOTE_SPIT   43
#define EMOTE_STRUT   44
#define EMOTE_SULK   14
#define EMOTE_THANK   45
#define EMOTE_THINK   54
#define EMOTE_TWIDDLE   46
#define EMOTE_WAVE   47
#define EMOTE_WHISTLE   48
#define EMOTE_WINK   49
#define EMOTE_YAWN   50

Typedefs

typedef int(* command_function )(object *op, char *params)
 One command function.

Variables

command_array_struct Commands []
 Normal game commands.
const int CommandsSize
 Length of Commands array.
command_array_struct CommunicationCommands []
 Chat/shout related commands.
const int CommunicationCommandSize
 Length of the CommunicationCommands array.
command_array_struct WizCommands []
 Wizard commands.
const int WizCommandsSize
 Length of WizCommands array.

Detailed Description

Defines and structures related to commands the player can send.

Definition in file commands.h.


Typedef Documentation

typedef int(* command_function)(object *op, char *params)

One command function.

Definition at line 55 of file commands.h.


Variable Documentation

Normal game commands.

Definition at line 49 of file commands.c.

Referenced by execute_newserver_command(), and show_commands().

const int CommandsSize

Length of Commands array.

Definition at line 137 of file commands.c.

Referenced by execute_newserver_command(), init_commands(), and show_commands().

Chat/shout related commands.

Definition at line 140 of file commands.c.

Referenced by execute_newserver_command(), and show_commands().

Length of the CommunicationCommands array.

Definition at line 208 of file commands.c.

Referenced by execute_newserver_command(), and show_commands().

Wizard commands.

Definition at line 211 of file commands.c.

Referenced by execute_newserver_command(), and show_commands().

const int WizCommandsSize

Length of WizCommands array.

Definition at line 272 of file commands.c.

Referenced by execute_newserver_command(), and show_commands().