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.2 by root, Fri Aug 25 13:24:50 2006 UTC vs.
Revision 1.11 by root, Mon Aug 28 14:05:24 2006 UTC

1// define event types by enumerating them here
2
3// global events
4def(GLOBAL, CLOCK) 1def (GLOBAL, CLOCK) // ( )
5 2def (PLAYER, REATTACH) // (player)
6// per-player 3def (PLAYER, BIRTH) // (player)
7def(PLAYER, BIRTH) // called as very first thing after creating a player 4def (PLAYER, QUIT) // (player)
8def(PLAYER, QUIT) // called after logout 5def (PLAYER, LOAD) // (player)
9def(PLAYER, LOAD) 6def (PLAYER, SAVE) // (player)
10def(PLAYER, SAVE) 7def (PLAYER, LOGIN) // (player)
11def(PLAYER, LOGIN) 8def (PLAYER, LOGOUT) // (player)
12def(PLAYER, LOGOUT) 9def (PLAYER, DEATH) // (player)
13def(PLAYER, DEATH) 10def (PLAYER, MAP_CHANGE) // (player oldmap newmap)
14def(PLAYER, ENTER) 11def (PLAYER, EXTCMD) // (player string)
15def(PLAYER, LEAVE) 12def (PLAYER, PRAY_ALTAR) // (player altar skill -- )
16 13def (PLAYER, TELL) // (player -- )
17// per-object events 14def (PLAYER, SAY) // (player --)
18def(OBJECT, APPLY) 15def (PLAYER, SHOUT) // (player --)
19 16def (OBJECT, INSTANTIATE) // (object init-args...)
20// per-map 17def (OBJECT, REATTACH) // (object)
21def(MAP, LOAD) // Original map has been loaded 18def (OBJECT, CLONE) // (object destination)
22def(MAP, SWAPIN) // Temporary map has been swapped in 19def (OBJECT, TICK) // (object)
23def(MAP, SWAPOUT) // Map has been swapped out 20def (OBJECT, KILL) // (object hitter -- )
24def(MAP, RESET) // A map is resetting 21def (OBJECT, APPLY) // (object who -- applytype)
25def(MAP, CLEAN) // Temporary map will be deleted 22def (OBJECT, USE_SKILL) // (skill who part direction strignarg -- )
26 23def (OBJECT, CAST_SPELL) // (spell casting_object owner direction stringarg -- )
24def (OBJECT, DROP) // (object who -- )
25def (OBJECT, DROP_ON) // (floor object who -- )
26def (OBJECT, LISTEN) //
27def (OBJECT, MOVE) // (monster enemy -- )
28def (OBJECT, ATTACK) // (object hitter -- damage)
29def (OBJECT, ATTACKS) // (weapon hitter victim)
30def (OBJECT, INSCRIBE_NOTE) // (book pl message skill -- )
31def (OBJECT, TRIGGER) // (object who -- )
32def (OBJECT, MOVE_TRIGGER) // (object victim originator -- )
33def (OBJECT, CLOSE) // (container -- )
34def (MAP, REATTACH) // (map)
35def (MAP, INSTANTIATE) // (map)
36def (MAP, SWAPIN) // (map)
37def (MAP, SWAPOUT) // (map)
38def (MAP, RESET) // (map)
39def (MAP, CLEAN) // (map)
40def (MAP, ENTER) // (map player)
41def (MAP, LEAVE) // (map player)
42def (MAP, UPGRADE) // (map)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines