ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/cf.schmorp.de/server/include/eventinc.h
Revision: 1.4
Committed: Sat Aug 26 08:44:06 2006 UTC (20 years, 2 months ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.3: +5 -0 lines
Log Message:
many, many cleanups

File Contents

# User Rev Content
1 root 1.1 // define event types by enumerating them here
2    
3 root 1.2 // global events
4 root 1.3 def (GLOBAL, CLOCK) // NYI
5 root 1.2
6     // per-player
7 root 1.3 def (PLAYER, BIRTH) // called as very first thing after creating a player
8     def (PLAYER, QUIT) // called after logout
9     def (PLAYER, LOAD)
10     def (PLAYER, SAVE)
11     def (PLAYER, LOGIN)
12     def (PLAYER, LOGOUT)
13     def (PLAYER, DEATH)
14     def (PLAYER, ENTER)
15     def (PLAYER, LEAVE)
16     def (PLAYER, USE_SKILL)
17     def (PLAYER, EXTCMD)
18     def (PLAYER, PRAY_ALTAR)
19 root 1.4 def (PLAYER, TELL) //NYI
20     def (PLAYER, SAY) //NYI
21     def (PLAYER, SHOUT) //NYI
22 root 1.2
23     // per-object events
24 root 1.3 def (OBJECT, KILL)
25     def (OBJECT, APPLY)
26     def (OBJECT, USE_SKILL)
27     def (OBJECT, CAST_SPELL)
28 root 1.4 def (OBJECT, DROP_ON) // NYI
29     def (OBJECT, LISTEN) //NYI
30 root 1.2
31     // per-map
32 root 1.3 def (MAP, LOAD) // Original map has been loaded
33     def (MAP, SWAPIN) // Temporary map has been swapped in
34     def (MAP, SWAPOUT) // Map has been swapped out
35     def (MAP, RESET) // A map is resetting
36     def (MAP, CLEAN) // Temporary map will be deleted
37 root 1.2