File: indflags.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 (38 lines) | stat: -rw-r--r-- 922 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
29
30
31
32
33
34
35
36
37
38
#ifndef _INDFLAGS_H_
#define _INDFLAGS_H_

#define INDFLAG_MALE          0
#define INDFLAG_FIGHTING      1
#define INDFLAG_ATTACKPLAYER  2
#define INDFLAG_NOSTEAL       3
#define INDFLAG_SITTING       4
#define INDFLAG_SLEEPING      5
#define INDFLAG_GETSTUFF      6
#define INDFLAG_INBOAT        7
#define INDFLAG_CORPSE        8
#define INDFLAG_GHOST         9
#define INDFLAG_NIGHTVISION  10

#ifdef INDIVIDUAL_C

char *sex_possessive[] = {"his", "her", "its", NULL};
char *sex_name[] = {"Male", "Female", "Neuter", NULL};

char *indflagnames[] = {"NotUsed1", "Fighting", "AttackPlayer", "NoSteal",
       "Sitting", "Sleeping", "GetStuff", "InBoat", "Corpse", 
       "Ghost", "NightVision", NULL};

int indflagfrozen[] = {INDFLAG_FIGHTING, INDFLAG_SITTING, INDFLAG_SLEEPING,
      INDFLAG_INBOAT, INDFLAG_CORPSE, INDFLAG_GHOST, -1};

#else

extern char *indflagnames[];
extern int indflagfrozen[];

#endif
#endif