File: spellflags.h

package info (click to toggle)
aime 0.60.3-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,016 kB
  • ctags: 5,217
  • sloc: cpp: 77,611; ansic: 3,765; sh: 2,996; makefile: 234; sed: 93
file content (28 lines) | stat: -rw-r--r-- 569 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef _SPELLFLAGS_H_
#define _SPELLFLAGS_H_

#define SPELLFLAG_REQTARGET    0
#define SPELLFLAG_OPTTARGET    1
#define SPELLFLAG_ONLYIND      2
#define SPELLFLAG_NOIND        3
#define SPELLFLAG_ONCORPSE     4
#define SPELLFLAG_MUSTSTAND    5
#define SPELLFLAG_PASSSTRING   6
#define SPELLFLAG_GIVEEXP      7
#define SPELLFLAG_ONSELF       8

#ifdef COMMANDS_C

char *spellflagnames[] = {"ReqTarget", "OptTarget", "OnlyInd", "NoInd", 
       "OnCorpse", "MustStand", "PassString", "GiveExp", "OnSelf", NULL};

#else

extern char *spellflagnames[];

#endif
#endif