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.2 by elmex, Sun Aug 13 17:16:02 2006 UTC

1/* 1/*
2 * static char *rcsid_commands_h = 2 * static char *rcsid_commands_h =
3 * "$Id: commands.h,v 1.1 2006/02/03 07:12:47 root Exp $"; 3 * "$Id: commands.h,v 1.2 2006/08/13 17:16:02 elmex Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
46#ifndef COMMANDS_H 46#ifndef COMMANDS_H
47#define COMMANDS_H 47#define COMMANDS_H
48 48
49typedef int (*CommFunc)(object *op, char *params); 49typedef int (*CommFunc)(object *op, char *params);
50 50
51typedef struct { /* global list's structure */ 51struct CommArray_s { /* global list's structure */
52 const char *name; 52 const char *name;
53 CommFunc func; 53 CommFunc func;
54 float time; /* How long it takes to execute this command */ 54 float time; /* How long it takes to execute this command */
55} CommArray_s; 55};
56 56
57 57
58extern CommArray_s Commands[],NewServerCommands [],SocketCommands[], 58extern CommArray_s Commands[],NewServerCommands [],SocketCommands[],
59 WizCommands [], CommunicationCommands[]; 59 WizCommands [], CommunicationCommands[];
60 60

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines