Crossfire Client, Trunk  R18666
Defines
CS_STAT_xxx IDs for character statistics.

Defines

#define CS_STAT_HP   1
#define CS_STAT_MAXHP   2
#define CS_STAT_SP   3
#define CS_STAT_MAXSP   4
#define CS_STAT_STR   5
#define CS_STAT_INT   6
#define CS_STAT_WIS   7
#define CS_STAT_DEX   8
#define CS_STAT_CON   9
#define CS_STAT_CHA   10
#define CS_STAT_EXP   11
#define CS_STAT_LEVEL   12
#define CS_STAT_WC   13
#define CS_STAT_AC   14
#define CS_STAT_DAM   15
#define CS_STAT_ARMOUR   16
#define CS_STAT_SPEED   17
#define CS_STAT_FOOD   18
#define CS_STAT_WEAP_SP   19
#define CS_STAT_RANGE   20
#define CS_STAT_TITLE   21
#define CS_STAT_POW   22
#define CS_STAT_GRACE   23
#define CS_STAT_MAXGRACE   24
#define CS_STAT_FLAGS   25
#define CS_STAT_WEIGHT_LIM   26
#define CS_STAT_EXP64   28
#define CS_STAT_SPELL_ATTUNE   29
#define CS_STAT_SPELL_REPEL   30
#define CS_STAT_SPELL_DENY   31
#define CS_STAT_RACE_STR   32
#define CS_STAT_RACE_INT   33
#define CS_STAT_RACE_WIS   34
#define CS_STAT_RACE_DEX   35
#define CS_STAT_RACE_CON   36
#define CS_STAT_RACE_CHA   37
#define CS_STAT_RACE_POW   38
#define CS_STAT_BASE_STR   39
#define CS_STAT_BASE_INT   40
#define CS_STAT_BASE_WIS   41
#define CS_STAT_BASE_DEX   42
#define CS_STAT_BASE_CON   43
#define CS_STAT_BASE_CHA   44
#define CS_STAT_BASE_POW   45
#define CS_STAT_APPLIED_STR   46
#define CS_STAT_APPLIED_INT   47
#define CS_STAT_APPLIED_WIS   48
#define CS_STAT_APPLIED_DEX   49
#define CS_STAT_APPLIED_CON   50
#define CS_STAT_APPLIED_CHA   51
#define CS_STAT_APPLIED_POW   52
#define CS_STAT_RESIST_START   100
#define CS_STAT_RESIST_END   117
#define CS_STAT_RES_PHYS   100
#define CS_STAT_RES_MAG   101
#define CS_STAT_RES_FIRE   102
#define CS_STAT_RES_ELEC   103
#define CS_STAT_RES_COLD   104
#define CS_STAT_RES_CONF   105
#define CS_STAT_RES_ACID   106
#define CS_STAT_RES_DRAIN   107
#define CS_STAT_RES_GHOSTHIT   108
#define CS_STAT_RES_POISON   109
#define CS_STAT_RES_SLOW   110
#define CS_STAT_RES_PARA   111
#define CS_STAT_TURN_UNDEAD   112
#define CS_STAT_RES_FEAR   113
#define CS_STAT_RES_DEPLETE   114
#define CS_STAT_RES_DEATH   115
#define CS_STAT_RES_HOLYWORD   116
#define CS_STAT_RES_BLIND   117
#define CS_STAT_SKILLEXP_START   118
#define CS_STAT_SKILLEXP_END   129
#define CS_STAT_SKILLEXP_AGILITY   118
#define CS_STAT_SKILLEXP_AGLEVEL   119
#define CS_STAT_SKILLEXP_PERSONAL   120
#define CS_STAT_SKILLEXP_PELEVEL   121
#define CS_STAT_SKILLEXP_MENTAL   122
#define CS_STAT_SKILLEXP_MELEVEL   123
#define CS_STAT_SKILLEXP_PHYSIQUE   124
#define CS_STAT_SKILLEXP_PHLEVEL   125
#define CS_STAT_SKILLEXP_MAGIC   126
#define CS_STAT_SKILLEXP_MALEVEL   127
#define CS_STAT_SKILLEXP_WISDOM   128
#define CS_STAT_SKILLEXP_WILEVEL   129
#define CS_STAT_SKILLINFO   140
#define CS_NUM_SKILLS   50

Define Documentation

#define CS_NUM_SKILLS   50

CS_NUM_SKILLS does not match how many skills there really are - instead, it is used as a range of values so that the client can have some idea how many skill categories there may be.

Definition at line 218 of file newclient.h.

#define CS_STAT_AC   14

Definition at line 128 of file newclient.h.

#define CS_STAT_APPLIED_CHA   51

CHA changes from gear or skills.

Definition at line 164 of file newclient.h.

#define CS_STAT_APPLIED_CON   50

CON changes from gear or skills.

Definition at line 163 of file newclient.h.

#define CS_STAT_APPLIED_DEX   49

DEX changes from gear or skills.

Definition at line 162 of file newclient.h.

#define CS_STAT_APPLIED_INT   47

INT changes from gear or skills.

Definition at line 160 of file newclient.h.

#define CS_STAT_APPLIED_POW   52

POW changes from gear or skills.

Definition at line 165 of file newclient.h.

#define CS_STAT_APPLIED_STR   46

STR changes from gear or skills.

Definition at line 159 of file newclient.h.

#define CS_STAT_APPLIED_WIS   48

WIS changes from gear or skills.

Definition at line 161 of file newclient.h.

#define CS_STAT_ARMOUR   16

Definition at line 130 of file newclient.h.

#define CS_STAT_BASE_CHA   44

Definition at line 157 of file newclient.h.

#define CS_STAT_BASE_CON   43

Definition at line 156 of file newclient.h.

#define CS_STAT_BASE_DEX   42

Definition at line 155 of file newclient.h.

#define CS_STAT_BASE_INT   40

Definition at line 153 of file newclient.h.

#define CS_STAT_BASE_POW   45

Definition at line 158 of file newclient.h.

#define CS_STAT_BASE_STR   39

Definition at line 152 of file newclient.h.

#define CS_STAT_BASE_WIS   41

Definition at line 154 of file newclient.h.

#define CS_STAT_CHA   10

Definition at line 124 of file newclient.h.

#define CS_STAT_CON   9

Definition at line 123 of file newclient.h.

#define CS_STAT_DAM   15

Definition at line 129 of file newclient.h.

#define CS_STAT_DEX   8

Definition at line 122 of file newclient.h.

#define CS_STAT_EXP   11

No longer used

Definition at line 125 of file newclient.h.

#define CS_STAT_EXP64   28

Definition at line 141 of file newclient.h.

#define CS_STAT_FLAGS   25

Definition at line 139 of file newclient.h.

#define CS_STAT_FOOD   18

Definition at line 132 of file newclient.h.

#define CS_STAT_GRACE   23

Definition at line 137 of file newclient.h.

#define CS_STAT_HP   1

Definition at line 115 of file newclient.h.

#define CS_STAT_INT   6

Definition at line 120 of file newclient.h.

#define CS_STAT_LEVEL   12

Definition at line 126 of file newclient.h.

#define CS_STAT_MAXGRACE   24

Definition at line 138 of file newclient.h.

#define CS_STAT_MAXHP   2

Definition at line 116 of file newclient.h.

#define CS_STAT_MAXSP   4

Definition at line 118 of file newclient.h.

#define CS_STAT_POW   22

Definition at line 136 of file newclient.h.

#define CS_STAT_RACE_CHA   37

Definition at line 150 of file newclient.h.

#define CS_STAT_RACE_CON   36

Definition at line 149 of file newclient.h.

#define CS_STAT_RACE_DEX   35

Definition at line 148 of file newclient.h.

#define CS_STAT_RACE_INT   33

Definition at line 146 of file newclient.h.

#define CS_STAT_RACE_POW   38

Definition at line 151 of file newclient.h.

#define CS_STAT_RACE_STR   32

Definition at line 145 of file newclient.h.

#define CS_STAT_RACE_WIS   34

Definition at line 147 of file newclient.h.

#define CS_STAT_RANGE   20

Definition at line 134 of file newclient.h.

#define CS_STAT_RES_ACID   106

Definition at line 176 of file newclient.h.

#define CS_STAT_RES_BLIND   117

Definition at line 187 of file newclient.h.

#define CS_STAT_RES_COLD   104

Definition at line 174 of file newclient.h.

#define CS_STAT_RES_CONF   105

Definition at line 175 of file newclient.h.

#define CS_STAT_RES_DEATH   115

Definition at line 185 of file newclient.h.

#define CS_STAT_RES_DEPLETE   114

Definition at line 184 of file newclient.h.

#define CS_STAT_RES_DRAIN   107

Definition at line 177 of file newclient.h.

#define CS_STAT_RES_ELEC   103

Definition at line 173 of file newclient.h.

#define CS_STAT_RES_FEAR   113

Definition at line 183 of file newclient.h.

#define CS_STAT_RES_FIRE   102

Definition at line 172 of file newclient.h.

#define CS_STAT_RES_GHOSTHIT   108

Definition at line 178 of file newclient.h.

#define CS_STAT_RES_HOLYWORD   116

Definition at line 186 of file newclient.h.

#define CS_STAT_RES_MAG   101

Definition at line 171 of file newclient.h.

#define CS_STAT_RES_PARA   111

Definition at line 181 of file newclient.h.

#define CS_STAT_RES_PHYS   100

Definition at line 170 of file newclient.h.

#define CS_STAT_RES_POISON   109

Definition at line 179 of file newclient.h.

#define CS_STAT_RES_SLOW   110

Definition at line 180 of file newclient.h.

#define CS_STAT_RESIST_END   117

End of resistances (inclusive)

Definition at line 168 of file newclient.h.

#define CS_STAT_RESIST_START   100

Start of resistances (inclusive)

Definition at line 167 of file newclient.h.

#define CS_STAT_SKILLEXP_AGILITY   118

Definition at line 193 of file newclient.h.

#define CS_STAT_SKILLEXP_AGLEVEL   119

Definition at line 194 of file newclient.h.

#define CS_STAT_SKILLEXP_END   129

End of skill experience + skill level (inclusive).

Definition at line 191 of file newclient.h.

#define CS_STAT_SKILLEXP_MAGIC   126

Definition at line 201 of file newclient.h.

#define CS_STAT_SKILLEXP_MALEVEL   127

Definition at line 202 of file newclient.h.

#define CS_STAT_SKILLEXP_MELEVEL   123

Definition at line 198 of file newclient.h.

#define CS_STAT_SKILLEXP_MENTAL   122

Definition at line 197 of file newclient.h.

#define CS_STAT_SKILLEXP_PELEVEL   121

Definition at line 196 of file newclient.h.

#define CS_STAT_SKILLEXP_PERSONAL   120

Definition at line 195 of file newclient.h.

#define CS_STAT_SKILLEXP_PHLEVEL   125

Definition at line 200 of file newclient.h.

#define CS_STAT_SKILLEXP_PHYSIQUE   124

Definition at line 199 of file newclient.h.

#define CS_STAT_SKILLEXP_START   118

Start of skill experience + skill level (inclusive).

Definition at line 189 of file newclient.h.

#define CS_STAT_SKILLEXP_WILEVEL   129

Definition at line 204 of file newclient.h.

#define CS_STAT_SKILLEXP_WISDOM   128

Definition at line 203 of file newclient.h.

#define CS_STAT_SKILLINFO   140

CS_STAT_SKILLINFO is used as the starting index point. Skill number->name map is generated dynamically for the client, so a bunch of entries will be used here.

Definition at line 211 of file newclient.h.

#define CS_STAT_SP   3

Definition at line 117 of file newclient.h.

#define CS_STAT_SPEED   17

Definition at line 131 of file newclient.h.

#define CS_STAT_SPELL_ATTUNE   29

Definition at line 142 of file newclient.h.

#define CS_STAT_SPELL_DENY   31

Definition at line 144 of file newclient.h.

#define CS_STAT_SPELL_REPEL   30

Definition at line 143 of file newclient.h.

#define CS_STAT_STR   5

Definition at line 119 of file newclient.h.

#define CS_STAT_TITLE   21

Definition at line 135 of file newclient.h.

#define CS_STAT_TURN_UNDEAD   112

Definition at line 182 of file newclient.h.

#define CS_STAT_WC   13

Definition at line 127 of file newclient.h.

#define CS_STAT_WEAP_SP   19

Definition at line 133 of file newclient.h.

#define CS_STAT_WEIGHT_LIM   26

Definition at line 140 of file newclient.h.

#define CS_STAT_WIS   7

Definition at line 121 of file newclient.h.