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.15 by root, Tue Aug 29 07:54:38 2006 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines