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

Comparing deliantra/server/include/plugin.h (file contents):
Revision 1.2 by root, Tue Feb 7 23:29:55 2006 UTC vs.
Revision 1.7 by root, Sun Jun 11 15:02:15 2006 UTC

84#define EVENT_SHOUT 24 /* A player 'shout' something. */ 84#define EVENT_SHOUT 24 /* A player 'shout' something. */
85#define EVENT_TELL 25 /* A player 'tell' something. */ 85#define EVENT_TELL 25 /* A player 'tell' something. */
86#define EVENT_MUZZLE 26 /* A player was Muzzled (no_shout set). */ 86#define EVENT_MUZZLE 26 /* A player was Muzzled (no_shout set). */
87#define EVENT_KICK 27 /* A player was Kicked by a DM */ 87#define EVENT_KICK 27 /* A player was Kicked by a DM */
88#define EVENT_FREE_OB 29 /* Object destroyed */ 88#define EVENT_FREE_OB 29 /* Object destroyed */
89#define EVENT_MAPLOAD 30 /* Original map has been loaded */
90#define EVENT_MAPOUT 31 /* Map has been swapped out */
91#define EVENT_MAPIN 32 /* Temporary map has been swapped in */
92#define EVENT_MAPCLEAN 33 /* Temporary map will be deleted */
93#define EVENT_PLAYER_LOAD 34 /* Player was just loaded from disk */
94#define EVENT_PLAYER_SAVE 35 /* Player was just saved to disk */
95#define EVENT_EXTCMD 36 /* Low-Level socket command */
89/* should add FREE_MAP, FREE_PLAYER */ 96/* should add FREE_MAP, FREE_PLAYER */
90 97
91#define NR_EVENTS 30 98#define NR_EVENTS 37
92 99
93#include <stdarg.h> 100#include <stdarg.h>
94 101
95#define CFAPI_NONE 0 102#define CFAPI_NONE 0
96#define CFAPI_INT 1 103#define CFAPI_INT 1
104#define CFAPI_PARCH 9 111#define CFAPI_PARCH 9
105#define CFAPI_FUNC 10 112#define CFAPI_FUNC 10
106#define CFAPI_PPLAYER 11 113#define CFAPI_PPLAYER 11
107#define CFAPI_PPARTY 12 114#define CFAPI_PPARTY 12
108#define CFAPI_PREGION 13 115#define CFAPI_PREGION 13
116#define CFAPI_INT16 14
109 117
110typedef void* (*f_plug_api) (int* type, ...); 118typedef void* (*f_plug_api) (int* type, ...);
111typedef int (*f_plug_postinit) (void); 119typedef int (*f_plug_postinit) (void);
112typedef int (*f_plug_init)(const char* iversion, f_plug_api gethooksptr); 120typedef int (*f_plug_init)(const char* iversion, f_plug_api gethooksptr);
113 121

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines