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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines