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.13 by root, Sat Aug 26 08:44:06 2006 UTC vs.
Revision 1.14 by root, Tue Aug 29 05:03:55 2006 UTC

42/* This one does not exist under Win32. */ 42/* This one does not exist under Win32. */
43/*****************************************************************************/ 43/*****************************************************************************/
44#ifndef WIN32 44#ifndef WIN32
45#include <dirent.h> 45#include <dirent.h>
46#endif 46#endif
47
48/*****************************************************************************/
49/* Event ID codes. I sorted them to present local events first, but it is */
50/* just a 'cosmetic' thing. */
51/*****************************************************************************/
52/*****************************************************************************/
53/* Local events. Those are always linked to a specific object. */
54/*****************************************************************************/
55// how about making this an enum
56#define EVENT_NONE 0 /* No event. This exists only to reserve the "0". */
57#define EVENT_APPLY 1 /* Object applied-unapplied. */
58#define EVENT_ATTACK 2 /* Monster attacked or Scripted Weapon used. */
59/*NOT GENERATED*/#define EVENT_DEATH 3
60#define EVENT_DROP 4 /* Object dropped on the floor. */
61#define EVENT_PICKUP 5 /* Object picked up. */
62#define EVENT_SAY 6 /* Someone speaks. */
63#define EVENT_STOP 7 /* Thrown object stopped. */
64#define EVENT_TIME 8 /* Triggered each time the object can react/move. */
65#define EVENT_THROW 9 /* Object is thrown. */
66#define EVENT_TRIGGER 10 /* Button pushed, lever pulled, etc. */
67#define EVENT_CLOSE 11 /* Container closed. */
68#define EVENT_TIMER 12 /* Timer connected triggered it. */
69#define EVENT_MOVE 28 /* Monster move */
70/*****************************************************************************/
71/* Global events. Those are never linked to a specific object. */
72/*****************************************************************************/
73#define EVENT_CLOCK 14 /* Global time event. */
74#define EVENT_CRASH 15 /* Triggered when the server crashes. Not recursive*/
75#define EVENT_SHOUT 24 /* A player 'shout' something. */
76#define EVENT_TELL 25 /* A player 'tell' something. */
77#define EVENT_MUZZLE 26 /* A player was Muzzled (no_shout set). */
78#define EVENT_KICK 27 /* A player was Kicked by a DM */
79//#define EVENT_PLAYER_USE_SKILL 36 /* player was just trying to use a skill */
80//#define EVENT_MONSTER_USE_SKILL 37 /* monster was just trying to use a skill*/
81#define EVENT_DROP_ON 41 /* Something was dropped on this (floor) */
82/* should add FREE_MAP, FREE_PLAYER */
83 47
84#define NR_EVENTS 42 48#define NR_EVENTS 42
85 49
86#include <stdarg.h> 50#include <stdarg.h>
87 51

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines