Atrinik Server 2.5
include/commands.h
Go to the documentation of this file.
00001 /************************************************************************
00002 *            Atrinik, a Multiplayer Online Role Playing Game            *
00003 *                                                                       *
00004 *    Copyright (C) 2009-2011 Alex Tokar and Atrinik Development Team    *
00005 *                                                                       *
00006 * Fork from Daimonin (Massive Multiplayer Online Role Playing Game)     *
00007 * and Crossfire (Multiplayer game for X-windows).                       *
00008 *                                                                       *
00009 * This program is free software; you can redistribute it and/or modify  *
00010 * it under the terms of the GNU General Public License as published by  *
00011 * the Free Software Foundation; either version 2 of the License, or     *
00012 * (at your option) any later version.                                   *
00013 *                                                                       *
00014 * This program is distributed in the hope that it will be useful,       *
00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00017 * GNU General Public License for more details.                          *
00018 *                                                                       *
00019 * You should have received a copy of the GNU General Public License     *
00020 * along with this program; if not, write to the Free Software           *
00021 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.             *
00022 *                                                                       *
00023 * The author can be reached at admin@atrinik.org                        *
00024 ************************************************************************/
00025 
00030 #ifndef COMMANDS_H
00031 #define COMMANDS_H
00032 
00033 typedef int (*CommFunc)(object *op, char *params);
00034 
00036 typedef struct
00037 {
00039     char *name;
00040 
00042     CommFunc func;
00043 
00045     float time;
00046 
00048     int flags;
00049 } CommArray_s;
00050 
00051 extern CommArray_s Commands[], WizCommands[], CommunicationCommands[];
00052 extern const int CommandsSize, WizCommandsSize, CommunicationCommandSize;
00053 
00059 
00064 #define EMOTE_NOD       1
00065 #define EMOTE_DANCE     2
00066 #define EMOTE_KISS      3
00067 #define EMOTE_BOUNCE    4
00068 #define EMOTE_SMILE     5
00069 #define EMOTE_CACKLE    6
00070 #define EMOTE_LAUGH     7
00071 #define EMOTE_GIGGLE    8
00072 #define EMOTE_SHAKE     9
00073 #define EMOTE_PUKE      10
00074 #define EMOTE_GROWL     11
00075 #define EMOTE_SCREAM    12
00076 #define EMOTE_SIGH      13
00077 #define EMOTE_SULK      14
00078 #define EMOTE_HUG       15
00079 #define EMOTE_CRY       16
00080 #define EMOTE_POKE      17
00081 #define EMOTE_ACCUSE    18
00082 #define EMOTE_GRIN      19
00083 #define EMOTE_BOW       20
00084 #define EMOTE_CLAP      21
00085 #define EMOTE_BLUSH     22
00086 #define EMOTE_BURP      23
00087 #define EMOTE_CHUCKLE   24
00088 #define EMOTE_COUGH     25
00089 #define EMOTE_FLIP      26
00090 #define EMOTE_FROWN     27
00091 #define EMOTE_GASP      28
00092 #define EMOTE_GLARE     29
00093 #define EMOTE_GROAN     30
00094 #define EMOTE_HICCUP    31
00095 #define EMOTE_LICK      32
00096 #define EMOTE_POUT      33
00097 #define EMOTE_SHIVER    34
00098 #define EMOTE_SHRUG     35
00099 #define EMOTE_SLAP      36
00100 #define EMOTE_SMIRK     37
00101 #define EMOTE_SNAP      38
00102 #define EMOTE_SNEEZE    39
00103 #define EMOTE_SNICKER   40
00104 #define EMOTE_SNIFF     41
00105 #define EMOTE_SNORE     42
00106 #define EMOTE_SPIT      43
00107 #define EMOTE_STRUT     44
00108 #define EMOTE_THANK     45
00109 #define EMOTE_TWIDDLE   46
00110 #define EMOTE_WAVE      47
00111 #define EMOTE_WHISTLE   48
00112 #define EMOTE_WINK      49
00113 #define EMOTE_YAWN      50
00114 #define EMOTE_BEG       51
00115 #define EMOTE_BLEED     52
00116 #define EMOTE_CRINGE    53
00117 #define EMOTE_THINK     54
00118 #define EMOTE_ME        55
00119 #define EMOTE_STARE     56
00120 #define EMOTE_SNEER     57
00121 #define EMOTE_WINCE     58
00122 #define EMOTE_FACEPALM  59
00123 #define EMOTE_MY        60
00124 
00126 #endif