ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/commands.h
(Generate patch)

Comparing deliantra/server/include/commands.h (file contents):
Revision 1.1 by root, Fri Feb 3 07:12:47 2006 UTC vs.
Revision 1.4 by root, Sat Sep 16 22:06:17 2006 UTC

1/*
2 * static char *rcsid_commands_h =
3 * "$Id: commands.h,v 1.1 2006/02/03 07:12:47 root Exp $";
4 */
5
6/* 1/*
7 CrossFire, A Multiplayer game for X-windows 2 CrossFire, A Multiplayer game for X-windows
8 3
9 Copyright (C) 1994 Mark Wedel 4 Copyright (C) 1994 Mark Wedel
10 Copyright (C) 1992 Frank Tore Johansen 5 Copyright (C) 1992 Frank Tore Johansen
46#ifndef COMMANDS_H 41#ifndef COMMANDS_H
47#define COMMANDS_H 42#define COMMANDS_H
48 43
49typedef int (*CommFunc)(object *op, char *params); 44typedef int (*CommFunc)(object *op, char *params);
50 45
51typedef struct { /* global list's structure */ 46struct CommArray_s { /* global list's structure */
52 const char *name; 47 const char *name;
53 CommFunc func; 48 CommFunc func;
54 float time; /* How long it takes to execute this command */ 49 float time; /* How long it takes to execute this command */
55} CommArray_s; 50};
56 51
57 52
58extern CommArray_s Commands[],NewServerCommands [],SocketCommands[], 53extern CommArray_s Commands[],NewServerCommands [],SocketCommands[],
59 WizCommands [], CommunicationCommands[]; 54 WizCommands [], CommunicationCommands[];
60 55
61extern const int CommandsSize,NewServerCommandSize, 56extern const int CommandsSize,NewServerCommandSize,
62 SocketCommandsSize, WizCommandsSize, CommunicationCommandSize; 57 SocketCommandsSize, WizCommandsSize, CommunicationCommandSize;
63 58
64#define EMOTE_NOD 1 59#define EMOTE_NOD 1
65#define EMOTE_DANCE 2 60#define EMOTE_DANCE 2
66#define EMOTE_KISS 3 61#define EMOTE_KISS 3
67#define EMOTE_BOUNCE 4 62#define EMOTE_BOUNCE 4

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines