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.4 by root, Mon Mar 6 22:59:26 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 */
89/* should add FREE_MAP, FREE_PLAYER */ 92/* should add FREE_MAP, FREE_PLAYER */
90 93
91#define NR_EVENTS 30 94#define NR_EVENTS 33
92 95
93#include <stdarg.h> 96#include <stdarg.h>
94 97
95#define CFAPI_NONE 0 98#define CFAPI_NONE 0
96#define CFAPI_INT 1 99#define CFAPI_INT 1
104#define CFAPI_PARCH 9 107#define CFAPI_PARCH 9
105#define CFAPI_FUNC 10 108#define CFAPI_FUNC 10
106#define CFAPI_PPLAYER 11 109#define CFAPI_PPLAYER 11
107#define CFAPI_PPARTY 12 110#define CFAPI_PPARTY 12
108#define CFAPI_PREGION 13 111#define CFAPI_PREGION 13
112#define CFAPI_INT16 14
109 113
110typedef void* (*f_plug_api) (int* type, ...); 114typedef void* (*f_plug_api) (int* type, ...);
111typedef int (*f_plug_postinit) (void); 115typedef int (*f_plug_postinit) (void);
112typedef int (*f_plug_init)(const char* iversion, f_plug_api gethooksptr); 116typedef int (*f_plug_init)(const char* iversion, f_plug_api gethooksptr);
113 117

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines