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

Comparing deliantra/server/include/eventinc.h (file contents):
Revision 1.1 by root, Thu Aug 24 17:29:30 2006 UTC vs.
Revision 1.2 by root, Fri Aug 25 13:24:50 2006 UTC

1// define event types by enumerating them here 1// define event types by enumerating them here
2 2
3def(APPLY) // apply a specific type of object 3// global events
4def(GLOBAL, CLOCK)
5
6// per-player
7def(PLAYER, BIRTH) // called as very first thing after creating a player
8def(PLAYER, QUIT) // called after logout
9def(PLAYER, LOAD)
10def(PLAYER, SAVE)
11def(PLAYER, LOGIN)
12def(PLAYER, LOGOUT)
13def(PLAYER, DEATH)
14def(PLAYER, ENTER)
15def(PLAYER, LEAVE)
16
17// per-object events
18def(OBJECT, APPLY)
19
20// per-map
21def(MAP, LOAD) // Original map has been loaded
22def(MAP, SWAPIN) // Temporary map has been swapped in
23def(MAP, SWAPOUT) // Map has been swapped out
24def(MAP, RESET) // A map is resetting
25def(MAP, CLEAN) // Temporary map will be deleted
26

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines