Crossfire Server, Trunk
newclient.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  CS_Stats
 
struct  SockList
 

Macros

#define ACL_CLASS   2
 
#define ACL_FACE   5
 
#define ACL_FACE_NUM   8
 
#define ACL_LEVEL   4
 
#define ACL_MAP   7
 
#define ACL_NAME   1
 
#define ACL_PARTY   6
 
#define ACL_RACE   3
 
#define ANIM_FLAGS_MASK   0x6000
 
#define ANIM_MASK   0x1fff
 
#define ANIM_RANDOM   1<<13
 
#define ANIM_SYNC   2<<13
 
#define CF_BLIND   0x04
 
#define CF_CONFUSED   0x01
 
#define CF_DISEASED   0x10
 
#define CF_HOSTILE   0x40
 
#define CF_NOT_PERFECT   0x20
 
#define CF_PARALYZED   0x0100
 
#define CF_POISONED   0x02
 
#define CF_STEALTHY   0x80
 
#define CF_WIZARD   0x0200
 
#define CF_XRAY   0x08
 
#define CS_NUM_SKILLS   50
 
#define CS_QUERY_HIDEINPUT   0x4
 
#define CS_QUERY_SINGLECHAR   0x2
 
#define CS_QUERY_YESNO   0x1
 
#define CS_SAY_GSAY   0x4
 
#define CS_SAY_NORMAL   0x1
 
#define CS_SAY_SHOUT   0x2
 
#define CS_STAT_AC   14
 
#define CS_STAT_APPLIED_CHA   51
 
#define CS_STAT_APPLIED_CON   50
 
#define CS_STAT_APPLIED_DEX   49
 
#define CS_STAT_APPLIED_INT   47
 
#define CS_STAT_APPLIED_POW   52
 
#define CS_STAT_APPLIED_STR   46
 
#define CS_STAT_APPLIED_WIS   48
 
#define CS_STAT_ARMOUR   16
 
#define CS_STAT_BASE_CHA   44
 
#define CS_STAT_BASE_CON   43
 
#define CS_STAT_BASE_DEX   42
 
#define CS_STAT_BASE_INT   40
 
#define CS_STAT_BASE_POW   45
 
#define CS_STAT_BASE_STR   39
 
#define CS_STAT_BASE_WIS   41
 
#define CS_STAT_CHA   10
 
#define CS_STAT_CHARACTER_FLAGS   55
 
#define CS_STAT_CON   9
 
#define CS_STAT_DAM   15
 
#define CS_STAT_DEX   8
 
#define CS_STAT_EXP   11
 
#define CS_STAT_EXP64   28
 
#define CS_STAT_FLAGS   25
 
#define CS_STAT_FOOD   18
 
#define CS_STAT_GOD_NAME   56
 
#define CS_STAT_GOLEM_HP   53
 
#define CS_STAT_GOLEM_MAXHP   54
 
#define CS_STAT_GRACE   23
 
#define CS_STAT_HP   1
 
#define CS_STAT_INT   6
 
#define CS_STAT_ITEM_POWER   58
 
#define CS_STAT_LEVEL   12
 
#define CS_STAT_MAXGRACE   24
 
#define CS_STAT_MAXHP   2
 
#define CS_STAT_MAXSP   4
 
#define CS_STAT_OVERLOAD   57
 
#define CS_STAT_POW   22
 
#define CS_STAT_RACE_CHA   37
 
#define CS_STAT_RACE_CON   36
 
#define CS_STAT_RACE_DEX   35
 
#define CS_STAT_RACE_INT   33
 
#define CS_STAT_RACE_POW   38
 
#define CS_STAT_RACE_STR   32
 
#define CS_STAT_RACE_WIS   34
 
#define CS_STAT_RANGE   20
 
#define CS_STAT_RES_ACID   106
 
#define CS_STAT_RES_BLIND   117
 
#define CS_STAT_RES_COLD   104
 
#define CS_STAT_RES_CONF   105
 
#define CS_STAT_RES_DEATH   115
 
#define CS_STAT_RES_DEPLETE   114
 
#define CS_STAT_RES_DRAIN   107
 
#define CS_STAT_RES_ELEC   103
 
#define CS_STAT_RES_FEAR   113
 
#define CS_STAT_RES_FIRE   102
 
#define CS_STAT_RES_GHOSTHIT   108
 
#define CS_STAT_RES_HOLYWORD   116
 
#define CS_STAT_RES_MAG   101
 
#define CS_STAT_RES_PARA   111
 
#define CS_STAT_RES_PHYS   100
 
#define CS_STAT_RES_POISON   109
 
#define CS_STAT_RES_SLOW   110
 
#define CS_STAT_RESIST_END   117
 
#define CS_STAT_RESIST_START   100
 
#define CS_STAT_SKILLINFO   140
 
#define CS_STAT_SP   3
 
#define CS_STAT_SPEED   17
 
#define CS_STAT_SPELL_ATTUNE   29
 
#define CS_STAT_SPELL_DENY   31
 
#define CS_STAT_SPELL_REPEL   30
 
#define CS_STAT_STR   5
 
#define CS_STAT_TITLE   21
 
#define CS_STAT_TURN_UNDEAD   112
 
#define CS_STAT_WC   13
 
#define CS_STAT_WEAP_SP   19
 
#define CS_STAT_WEIGHT_LIM   26
 
#define CS_STAT_WIS   7
 
#define EMI_HASMOREBITS   0x80
 
#define EMI_NOREDRAW   0x01
 
#define EMI_SMOOTH   0x02
 
#define F_APPLIED   0x000F
 
#define F_BLESSED   0x0100
 
#define F_CURSED   0x0800
 
#define F_DAMNED   0x1000
 
#define F_LOCKED   0x8000
 
#define F_MAGIC   0x0400
 
#define F_NOPICK   0x4000
 
#define F_OPEN   0x2000
 
#define F_READ   0x0020
 
#define F_UNIDENTIFIED   0x0010
 
#define F_UNPAID   0x0200
 
#define FACE_COLOR_MASK   0xf
 
#define FACE_FLOOR   0x80
 
#define FACE_IS_ANIM   1<<15
 
#define FACE_WALL   0x40
 
#define FLOAT_MULTF   100000.0
 
#define FLOAT_MULTI   100000
 
#define INFO_MAP_ARCH_NAME   1
 
#define INFO_MAP_DESCRIPTION   3
 
#define INFO_MAP_NAME   2
 
#define MAP2_COORD_OFFSET   15
 
#define MAP2_LAYER_START   0x10
 
#define MAP2_TYPE_CLEAR   0x0
 
#define MAP2_TYPE_DARKNESS   0x1
 
#define MAXSOCKBUF   (2+65535+1)
 
#define MSG_SUBTYPE_NONE   0
 
#define MSG_TYPE_ADMIN   8
 
#define MSG_TYPE_ADMIN_DM   4
 
#define MSG_TYPE_ADMIN_ERROR   9
 
#define MSG_TYPE_ADMIN_HISCORE   5
 
#define MSG_TYPE_ADMIN_LOADSAVE   6
 
#define MSG_TYPE_ADMIN_LOGIN   7
 
#define MSG_TYPE_ADMIN_NEWS   2
 
#define MSG_TYPE_ADMIN_PLAYER   3
 
#define MSG_TYPE_ADMIN_RULES   1
 
#define MSG_TYPE_ADMIN_VERSION   8
 
#define MSG_TYPE_APPLY   13
 
#define MSG_TYPE_APPLY_BADBODY   7
 
#define MSG_TYPE_APPLY_BUILD   9
 
#define MSG_TYPE_APPLY_CURSED   5
 
#define MSG_TYPE_APPLY_ERROR   1
 
#define MSG_TYPE_APPLY_FAILURE   4
 
#define MSG_TYPE_APPLY_PROHIBITION   8
 
#define MSG_TYPE_APPLY_SUCCESS   3
 
#define MSG_TYPE_APPLY_TRAP   6
 
#define MSG_TYPE_APPLY_UNAPPLY   2
 
#define MSG_TYPE_ATTACK   14
 
#define MSG_TYPE_ATTACK_DID_HIT   1
 
#define MSG_TYPE_ATTACK_DID_KILL   4
 
#define MSG_TYPE_ATTACK_FUMBLE   3
 
#define MSG_TYPE_ATTACK_MISS   9
 
#define MSG_TYPE_ATTACK_NOATTACK   7
 
#define MSG_TYPE_ATTACK_NOKEY   6
 
#define MSG_TYPE_ATTACK_PET_DIED   5
 
#define MSG_TYPE_ATTACK_PET_HIT   2
 
#define MSG_TYPE_ATTACK_PUSHED   8
 
#define MSG_TYPE_ATTRIBUTE   11
 
#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_GAIN   1
 
#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_LOSS   2
 
#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_END   8
 
#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_START   7
 
#define MSG_TYPE_ATTRIBUTE_GOD   15
 
#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_END   14
 
#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_START   13
 
#define MSG_TYPE_ATTRIBUTE_LEVEL_GAIN   11
 
#define MSG_TYPE_ATTRIBUTE_LEVEL_LOSS   12
 
#define MSG_TYPE_ATTRIBUTE_MOVE   5
 
#define MSG_TYPE_ATTRIBUTE_PROTECTION_GAIN   3
 
#define MSG_TYPE_ATTRIBUTE_PROTECTION_LOSS   4
 
#define MSG_TYPE_ATTRIBUTE_RACE   6
 
#define MSG_TYPE_ATTRIBUTE_STAT_GAIN   9
 
#define MSG_TYPE_ATTRIBUTE_STAT_LOSS   10
 
#define MSG_TYPE_BOOK   1
 
#define MSG_TYPE_BOOK_CLASP_1   1
 
#define MSG_TYPE_BOOK_CLASP_2   2
 
#define MSG_TYPE_BOOK_ELEGANT_1   3
 
#define MSG_TYPE_BOOK_ELEGANT_2   4
 
#define MSG_TYPE_BOOK_QUARTO_1   5
 
#define MSG_TYPE_BOOK_QUARTO_2   6
 
#define MSG_TYPE_BOOK_SPELL_EVOKER   7
 
#define MSG_TYPE_BOOK_SPELL_PRAYER   8
 
#define MSG_TYPE_BOOK_SPELL_PYRO   9
 
#define MSG_TYPE_BOOK_SPELL_SORCERER   10
 
#define MSG_TYPE_BOOK_SPELL_SUMMONER   11
 
#define MSG_TYPE_CARD   2
 
#define MSG_TYPE_CARD_ELEGANT_1   4
 
#define MSG_TYPE_CARD_ELEGANT_2   5
 
#define MSG_TYPE_CARD_ELEGANT_3   6
 
#define MSG_TYPE_CARD_MONEY_1   10
 
#define MSG_TYPE_CARD_MONEY_2   11
 
#define MSG_TYPE_CARD_MONEY_3   12
 
#define MSG_TYPE_CARD_SIMPLE_1   1
 
#define MSG_TYPE_CARD_SIMPLE_2   2
 
#define MSG_TYPE_CARD_SIMPLE_3   3
 
#define MSG_TYPE_CARD_STRANGE_1   7
 
#define MSG_TYPE_CARD_STRANGE_2   8
 
#define MSG_TYPE_CARD_STRANGE_3   9
 
#define MSG_TYPE_CLIENT   20
 
#define MSG_TYPE_CLIENT_COMMAND   3
 
#define MSG_TYPE_CLIENT_CONFIG   1
 
#define MSG_TYPE_CLIENT_DEBUG   5
 
#define MSG_TYPE_CLIENT_ERROR   9
 
#define MSG_TYPE_CLIENT_METASERVER   7
 
#define MSG_TYPE_CLIENT_NOTICE   6
 
#define MSG_TYPE_CLIENT_QUERY   4
 
#define MSG_TYPE_CLIENT_SCRIPT   8
 
#define MSG_TYPE_CLIENT_SERVER   2
 
#define MSG_TYPE_COMMAND   10
 
#define MSG_TYPE_COMMAND_BODY   3
 
#define MSG_TYPE_COMMAND_CONFIG   7
 
#define MSG_TYPE_COMMAND_DEBUG   10
 
#define MSG_TYPE_COMMAND_DM   17
 
#define MSG_TYPE_COMMAND_ERROR   11
 
#define MSG_TYPE_COMMAND_EXAMINE   14
 
#define MSG_TYPE_COMMAND_FAILURE   13
 
#define MSG_TYPE_COMMAND_HELP   16
 
#define MSG_TYPE_COMMAND_INFO   8
 
#define MSG_TYPE_COMMAND_INVENTORY   15
 
#define MSG_TYPE_COMMAND_MALLOC   4
 
#define MSG_TYPE_COMMAND_MAPS   2
 
#define MSG_TYPE_COMMAND_NEWPLAYER   18
 
#define MSG_TYPE_COMMAND_QUESTS   9
 
#define MSG_TYPE_COMMAND_STATISTICS   6
 
#define MSG_TYPE_COMMAND_SUCCESS   12
 
#define MSG_TYPE_COMMAND_WEATHER   5
 
#define MSG_TYPE_COMMAND_WHO   1
 
#define MSG_TYPE_COMMUNICATION   15
 
#define MSG_TYPE_COMMUNICATION_CHAT   8
 
#define MSG_TYPE_COMMUNICATION_EMOTE   5
 
#define MSG_TYPE_COMMUNICATION_ME   3
 
#define MSG_TYPE_COMMUNICATION_PARTY   6
 
#define MSG_TYPE_COMMUNICATION_RANDOM   1
 
#define MSG_TYPE_COMMUNICATION_SAY   2
 
#define MSG_TYPE_COMMUNICATION_SHOUT   7
 
#define MSG_TYPE_COMMUNICATION_TELL   4
 
#define MSG_TYPE_DIALOG   6
 
#define MSG_TYPE_DIALOG_ALTAR   2
 
#define MSG_TYPE_DIALOG_MAGIC_EAR   3
 
#define MSG_TYPE_DIALOG_NPC   1
 
#define MSG_TYPE_ITEM   17
 
#define MSG_TYPE_ITEM_ADD   2
 
#define MSG_TYPE_ITEM_CHANGE   3
 
#define MSG_TYPE_ITEM_INFO   4
 
#define MSG_TYPE_ITEM_REMOVE   1
 
#define MSG_TYPE_LAST   21
 
#define MSG_TYPE_MISC   18
 
#define MSG_TYPE_MONUMENT   5
 
#define MSG_TYPE_MONUMENT_GRAVESTONE_1   7
 
#define MSG_TYPE_MONUMENT_GRAVESTONE_2   8
 
#define MSG_TYPE_MONUMENT_GRAVESTONE_3   9
 
#define MSG_TYPE_MONUMENT_STATUE_1   4
 
#define MSG_TYPE_MONUMENT_STATUE_2   5
 
#define MSG_TYPE_MONUMENT_STATUE_3   6
 
#define MSG_TYPE_MONUMENT_STONE_1   1
 
#define MSG_TYPE_MONUMENT_STONE_2   2
 
#define MSG_TYPE_MONUMENT_STONE_3   3
 
#define MSG_TYPE_MONUMENT_WALL_1   10
 
#define MSG_TYPE_MONUMENT_WALL_2   11
 
#define MSG_TYPE_MONUMENT_WALL_3   12
 
#define MSG_TYPE_MOTD   7
 
#define MSG_TYPE_PAPER   3
 
#define MSG_TYPE_PAPER_ENVELOPE_1   8
 
#define MSG_TYPE_PAPER_ENVELOPE_2   9
 
#define MSG_TYPE_PAPER_LETTER_NEW_1   6
 
#define MSG_TYPE_PAPER_LETTER_NEW_2   7
 
#define MSG_TYPE_PAPER_LETTER_OLD_1   4
 
#define MSG_TYPE_PAPER_LETTER_OLD_2   5
 
#define MSG_TYPE_PAPER_NOTE_1   1
 
#define MSG_TYPE_PAPER_NOTE_2   2
 
#define MSG_TYPE_PAPER_NOTE_3   3
 
#define MSG_TYPE_PAPER_SCROLL_MAGIC   14
 
#define MSG_TYPE_PAPER_SCROLL_NEW_1   12
 
#define MSG_TYPE_PAPER_SCROLL_NEW_2   13
 
#define MSG_TYPE_PAPER_SCROLL_OLD_1   10
 
#define MSG_TYPE_PAPER_SCROLL_OLD_2   11
 
#define MSG_TYPE_SHOP   9
 
#define MSG_TYPE_SHOP_LISTING   1
 
#define MSG_TYPE_SHOP_MISC   4
 
#define MSG_TYPE_SHOP_PAYMENT   2
 
#define MSG_TYPE_SHOP_SELL   3
 
#define MSG_TYPE_SIGN   4
 
#define MSG_TYPE_SIGN_BASIC   1
 
#define MSG_TYPE_SIGN_DIR_BOTH   4
 
#define MSG_TYPE_SIGN_DIR_LEFT   2
 
#define MSG_TYPE_SIGN_DIR_RIGHT   3
 
#define MSG_TYPE_SIGN_MAGIC_MOUTH   5
 
#define MSG_TYPE_SKILL   12
 
#define MSG_TYPE_SKILL_ERROR   2
 
#define MSG_TYPE_SKILL_FAILURE   4
 
#define MSG_TYPE_SKILL_LIST   6
 
#define MSG_TYPE_SKILL_MISSING   1
 
#define MSG_TYPE_SKILL_PRAY   5
 
#define MSG_TYPE_SKILL_SUCCESS   3
 
#define MSG_TYPE_SPELL   16
 
#define MSG_TYPE_SPELL_END   4
 
#define MSG_TYPE_SPELL_ERROR   6
 
#define MSG_TYPE_SPELL_FAILURE   3
 
#define MSG_TYPE_SPELL_HEAL   1
 
#define MSG_TYPE_SPELL_INFO   9
 
#define MSG_TYPE_SPELL_PERCEIVE_SELF   7
 
#define MSG_TYPE_SPELL_PET   2
 
#define MSG_TYPE_SPELL_SUCCESS   5
 
#define MSG_TYPE_SPELL_TARGET   8
 
#define MSG_TYPE_VICTIM   19
 
#define MSG_TYPE_VICTIM_DIED   5
 
#define MSG_TYPE_VICTIM_SPELL   4
 
#define MSG_TYPE_VICTIM_STEAL   3
 
#define MSG_TYPE_VICTIM_SWAMP   1
 
#define MSG_TYPE_VICTIM_WAS_HIT   2
 
#define MSG_TYPE_VICTIM_WAS_PUSHED   6
 
#define NDI_ALL   0x200
 
#define NDI_ALL_DMS   0x400
 
#define NDI_BLACK   0
 
#define NDI_BLUE   5
 
#define NDI_BROWN   10
 
#define NDI_COLOR_MASK   0xff
 
#define NDI_DELAYED   0x1000
 
#define NDI_DK_ORANGE   6
 
#define NDI_GOLD   11
 
#define NDI_GREEN   7
 
#define NDI_GREY   9
 
#define NDI_LT_GREEN   8
 
#define NDI_MAX_COLOR   12
 
#define NDI_NAVY   2
 
#define NDI_NO_TRANSLATE   0x800
 
#define NDI_ORANGE   4
 
#define NDI_RED   3
 
#define NDI_TAN   12
 
#define NDI_UNIQUE   0x100
 
#define NDI_WHITE   1
 
#define SF_FIREON   0x01
 
#define SF_RUNON   0x02
 
#define SOUND_TYPE_GROUND   4
 
#define SOUND_TYPE_HIT   5
 
#define SOUND_TYPE_HIT_BY   6
 
#define SOUND_TYPE_ITEM   3
 
#define SOUND_TYPE_LIVING   1
 
#define SOUND_TYPE_SPELL   2
 
#define UPD_ALL   0xFF
 
#define UPD_ANIM   0x20
 
#define UPD_ANIMSPEED   0x40
 
#define UPD_FACE   0x08
 
#define UPD_FLAGS   0x02
 
#define UPD_LOCATION   0x01
 
#define UPD_NAME   0x10
 
#define UPD_NROF   0x80
 
#define UPD_SP_DAMAGE   0x04
 
#define UPD_SP_GRACE   0x02
 
#define UPD_SP_MANA   0x01
 
#define UPD_WEIGHT   0x04
 

Typedefs

typedef struct CS_Stats CS_Stats
 
typedef struct SockList SockList
 

Enumerations

enum  {
  a_none, a_readied, a_wielded, a_worn,
  a_active, a_applied
}
 

Variables

CS_Stats cst_lst
 
CS_Stats cst_tot
 

Detailed Description

Defines various flags that both the new client and new server use. These should never be changed, only expanded. Changing them will likely cause all old clients to not work properly. While called newclient, it is used by both the client and server to keep some values the same.

Name format is CS_(command)_(flag) CS = Client/Server. (command) is protocol command, ie ITEM (flag) is the flag name

Definition in file newclient.h.

Macro Definition Documentation

◆ ACL_CLASS

#define ACL_CLASS   2

Definition at line 207 of file newclient.h.

◆ ACL_FACE

#define ACL_FACE   5

Definition at line 210 of file newclient.h.

◆ ACL_FACE_NUM

#define ACL_FACE_NUM   8

Definition at line 213 of file newclient.h.

◆ ACL_LEVEL

#define ACL_LEVEL   4

Definition at line 209 of file newclient.h.

◆ ACL_MAP

#define ACL_MAP   7

Definition at line 212 of file newclient.h.

◆ ACL_NAME

#define ACL_NAME   1

Definition at line 206 of file newclient.h.

◆ ACL_PARTY

#define ACL_PARTY   6

Definition at line 211 of file newclient.h.

◆ ACL_RACE

#define ACL_RACE   3

Definition at line 208 of file newclient.h.

◆ ANIM_FLAGS_MASK

#define ANIM_FLAGS_MASK   0x6000

Used only by the client.

Definition at line 339 of file newclient.h.

◆ ANIM_MASK

#define ANIM_MASK   0x1fff

AND'ing this with data from server gets us just the animation id. Used only by the client.

Definition at line 345 of file newclient.h.

◆ ANIM_RANDOM

#define ANIM_RANDOM   1<<13

Definition at line 336 of file newclient.h.

◆ ANIM_SYNC

#define ANIM_SYNC   2<<13

Definition at line 337 of file newclient.h.

◆ CF_BLIND

#define CF_BLIND   0x04

Blind.

Definition at line 189 of file newclient.h.

◆ CF_CONFUSED

#define CF_CONFUSED   0x01

Confused by a spell or an item.

Definition at line 187 of file newclient.h.

◆ CF_DISEASED

#define CF_DISEASED   0x10

Has at least one disease.

Definition at line 191 of file newclient.h.

◆ CF_HOSTILE

#define CF_HOSTILE   0x40

'hostile' flag is set.

Definition at line 193 of file newclient.h.

◆ CF_NOT_PERFECT

#define CF_NOT_PERFECT   0x20

Can drink some improvement potions.

Definition at line 192 of file newclient.h.

◆ CF_PARALYZED

#define CF_PARALYZED   0x0100

Player is paralyzed.

Definition at line 195 of file newclient.h.

◆ CF_POISONED

#define CF_POISONED   0x02

Poisoned.

Definition at line 188 of file newclient.h.

◆ CF_STEALTHY

#define CF_STEALTHY   0x80

Player is stealthy.

Definition at line 194 of file newclient.h.

◆ CF_WIZARD

#define CF_WIZARD   0x0200

Player is DM.

Definition at line 196 of file newclient.h.

◆ CF_XRAY

#define CF_XRAY   0x08

Has X-ray.

Definition at line 190 of file newclient.h.

◆ CS_NUM_SKILLS

#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 168 of file newclient.h.

◆ CS_QUERY_HIDEINPUT

#define CS_QUERY_HIDEINPUT   0x4

Hide input being entered.

Definition at line 57 of file newclient.h.

◆ CS_QUERY_SINGLECHAR

#define CS_QUERY_SINGLECHAR   0x2

Single character response expected.

Definition at line 56 of file newclient.h.

◆ CS_QUERY_YESNO

#define CS_QUERY_YESNO   0x1

Yes/no question.

Definition at line 55 of file newclient.h.

◆ CS_SAY_GSAY

#define CS_SAY_GSAY   0x4

Text is group say command.

Definition at line 61 of file newclient.h.

◆ CS_SAY_NORMAL

#define CS_SAY_NORMAL   0x1

Normal say command.

Definition at line 59 of file newclient.h.

◆ CS_SAY_SHOUT

#define CS_SAY_SHOUT   0x2

Text is shouted.

Definition at line 60 of file newclient.h.

◆ CS_STAT_AC

#define CS_STAT_AC   14

Definition at line 89 of file newclient.h.

◆ CS_STAT_APPLIED_CHA

#define CS_STAT_APPLIED_CHA   51

CHA changes from gear or skills.

Definition at line 125 of file newclient.h.

◆ CS_STAT_APPLIED_CON

#define CS_STAT_APPLIED_CON   50

CON changes from gear or skills.

Definition at line 124 of file newclient.h.

◆ CS_STAT_APPLIED_DEX

#define CS_STAT_APPLIED_DEX   49

DEX changes from gear or skills.

Definition at line 123 of file newclient.h.

◆ CS_STAT_APPLIED_INT

#define CS_STAT_APPLIED_INT   47

INT changes from gear or skills.

Definition at line 121 of file newclient.h.

◆ CS_STAT_APPLIED_POW

#define CS_STAT_APPLIED_POW   52

POW changes from gear or skills.

Definition at line 126 of file newclient.h.

◆ CS_STAT_APPLIED_STR

#define CS_STAT_APPLIED_STR   46

STR changes from gear or skills.

Definition at line 120 of file newclient.h.

◆ CS_STAT_APPLIED_WIS

#define CS_STAT_APPLIED_WIS   48

WIS changes from gear or skills.

Definition at line 122 of file newclient.h.

◆ CS_STAT_ARMOUR

#define CS_STAT_ARMOUR   16

Definition at line 91 of file newclient.h.

◆ CS_STAT_BASE_CHA

#define CS_STAT_BASE_CHA   44

Definition at line 118 of file newclient.h.

◆ CS_STAT_BASE_CON

#define CS_STAT_BASE_CON   43

Definition at line 117 of file newclient.h.

◆ CS_STAT_BASE_DEX

#define CS_STAT_BASE_DEX   42

Definition at line 116 of file newclient.h.

◆ CS_STAT_BASE_INT

#define CS_STAT_BASE_INT   40

Definition at line 114 of file newclient.h.

◆ CS_STAT_BASE_POW

#define CS_STAT_BASE_POW   45

Definition at line 119 of file newclient.h.

◆ CS_STAT_BASE_STR

#define CS_STAT_BASE_STR   39

Definition at line 113 of file newclient.h.

◆ CS_STAT_BASE_WIS

#define CS_STAT_BASE_WIS   41

Definition at line 115 of file newclient.h.

◆ CS_STAT_CHA

#define CS_STAT_CHA   10

Definition at line 85 of file newclient.h.

◆ CS_STAT_CHARACTER_FLAGS

#define CS_STAT_CHARACTER_FLAGS   55

Character flags, like 'confused' and such.

Definition at line 129 of file newclient.h.

◆ CS_STAT_CON

#define CS_STAT_CON   9

Definition at line 84 of file newclient.h.

◆ CS_STAT_DAM

#define CS_STAT_DAM   15

Definition at line 90 of file newclient.h.

◆ CS_STAT_DEX

#define CS_STAT_DEX   8

Definition at line 83 of file newclient.h.

◆ CS_STAT_EXP

#define CS_STAT_EXP   11

No longer used

Definition at line 86 of file newclient.h.

◆ CS_STAT_EXP64

#define CS_STAT_EXP64   28

Definition at line 102 of file newclient.h.

◆ CS_STAT_FLAGS

#define CS_STAT_FLAGS   25

Definition at line 100 of file newclient.h.

◆ CS_STAT_FOOD

#define CS_STAT_FOOD   18

Definition at line 93 of file newclient.h.

◆ CS_STAT_GOD_NAME

#define CS_STAT_GOD_NAME   56

Name of the god the character worships.

Definition at line 130 of file newclient.h.

◆ CS_STAT_GOLEM_HP

#define CS_STAT_GOLEM_HP   53

Golem's current hp, 0 if no golem.

Definition at line 127 of file newclient.h.

◆ CS_STAT_GOLEM_MAXHP

#define CS_STAT_GOLEM_MAXHP   54

Golem's max hp, 0 if no golem.

Definition at line 128 of file newclient.h.

◆ CS_STAT_GRACE

#define CS_STAT_GRACE   23

Definition at line 98 of file newclient.h.

◆ CS_STAT_HP

#define CS_STAT_HP   1

Definition at line 76 of file newclient.h.

◆ CS_STAT_INT

#define CS_STAT_INT   6

Definition at line 81 of file newclient.h.

◆ CS_STAT_ITEM_POWER

#define CS_STAT_ITEM_POWER   58

Equipped item power.

Definition at line 132 of file newclient.h.

◆ CS_STAT_LEVEL

#define CS_STAT_LEVEL   12

Definition at line 87 of file newclient.h.

◆ CS_STAT_MAXGRACE

#define CS_STAT_MAXGRACE   24

Definition at line 99 of file newclient.h.

◆ CS_STAT_MAXHP

#define CS_STAT_MAXHP   2

Definition at line 77 of file newclient.h.

◆ CS_STAT_MAXSP

#define CS_STAT_MAXSP   4

Definition at line 79 of file newclient.h.

◆ CS_STAT_OVERLOAD

#define CS_STAT_OVERLOAD   57

How much (0 to 1) the character is overloaded.

Definition at line 131 of file newclient.h.

◆ CS_STAT_POW

#define CS_STAT_POW   22

Definition at line 97 of file newclient.h.

◆ CS_STAT_RACE_CHA

#define CS_STAT_RACE_CHA   37

Definition at line 111 of file newclient.h.

◆ CS_STAT_RACE_CON

#define CS_STAT_RACE_CON   36

Definition at line 110 of file newclient.h.

◆ CS_STAT_RACE_DEX

#define CS_STAT_RACE_DEX   35

Definition at line 109 of file newclient.h.

◆ CS_STAT_RACE_INT

#define CS_STAT_RACE_INT   33

Definition at line 107 of file newclient.h.

◆ CS_STAT_RACE_POW

#define CS_STAT_RACE_POW   38

Definition at line 112 of file newclient.h.

◆ CS_STAT_RACE_STR

#define CS_STAT_RACE_STR   32

Definition at line 106 of file newclient.h.

◆ CS_STAT_RACE_WIS

#define CS_STAT_RACE_WIS   34

Definition at line 108 of file newclient.h.

◆ CS_STAT_RANGE

#define CS_STAT_RANGE   20

Definition at line 95 of file newclient.h.

◆ CS_STAT_RES_ACID

#define CS_STAT_RES_ACID   106

Definition at line 143 of file newclient.h.

◆ CS_STAT_RES_BLIND

#define CS_STAT_RES_BLIND   117

Definition at line 154 of file newclient.h.

◆ CS_STAT_RES_COLD

#define CS_STAT_RES_COLD   104

Definition at line 141 of file newclient.h.

◆ CS_STAT_RES_CONF

#define CS_STAT_RES_CONF   105

Definition at line 142 of file newclient.h.

◆ CS_STAT_RES_DEATH

#define CS_STAT_RES_DEATH   115

Definition at line 152 of file newclient.h.

◆ CS_STAT_RES_DEPLETE

#define CS_STAT_RES_DEPLETE   114

Definition at line 151 of file newclient.h.

◆ CS_STAT_RES_DRAIN

#define CS_STAT_RES_DRAIN   107

Definition at line 144 of file newclient.h.

◆ CS_STAT_RES_ELEC

#define CS_STAT_RES_ELEC   103

Definition at line 140 of file newclient.h.

◆ CS_STAT_RES_FEAR

#define CS_STAT_RES_FEAR   113

Definition at line 150 of file newclient.h.

◆ CS_STAT_RES_FIRE

#define CS_STAT_RES_FIRE   102

Definition at line 139 of file newclient.h.

◆ CS_STAT_RES_GHOSTHIT

#define CS_STAT_RES_GHOSTHIT   108

Definition at line 145 of file newclient.h.

◆ CS_STAT_RES_HOLYWORD

#define CS_STAT_RES_HOLYWORD   116

Definition at line 153 of file newclient.h.

◆ CS_STAT_RES_MAG

#define CS_STAT_RES_MAG   101

Definition at line 138 of file newclient.h.

◆ CS_STAT_RES_PARA

#define CS_STAT_RES_PARA   111

Definition at line 148 of file newclient.h.

◆ CS_STAT_RES_PHYS

#define CS_STAT_RES_PHYS   100

Definition at line 137 of file newclient.h.

◆ CS_STAT_RES_POISON

#define CS_STAT_RES_POISON   109

Definition at line 146 of file newclient.h.

◆ CS_STAT_RES_SLOW

#define CS_STAT_RES_SLOW   110

Definition at line 147 of file newclient.h.

◆ CS_STAT_RESIST_END

#define CS_STAT_RESIST_END   117

End of resistances (inclusive)

Definition at line 135 of file newclient.h.

◆ CS_STAT_RESIST_START

#define CS_STAT_RESIST_START   100

Start of resistances (inclusive)

Definition at line 134 of file newclient.h.

◆ CS_STAT_SKILLINFO

#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 161 of file newclient.h.

◆ CS_STAT_SP

#define CS_STAT_SP   3

Definition at line 78 of file newclient.h.

◆ CS_STAT_SPEED

#define CS_STAT_SPEED   17

Definition at line 92 of file newclient.h.

◆ CS_STAT_SPELL_ATTUNE

#define CS_STAT_SPELL_ATTUNE   29

Definition at line 103 of file newclient.h.

◆ CS_STAT_SPELL_DENY

#define CS_STAT_SPELL_DENY   31

Definition at line 105 of file newclient.h.

◆ CS_STAT_SPELL_REPEL

#define CS_STAT_SPELL_REPEL   30

Definition at line 104 of file newclient.h.

◆ CS_STAT_STR

#define CS_STAT_STR   5

Definition at line 80 of file newclient.h.

◆ CS_STAT_TITLE

#define CS_STAT_TITLE   21

Definition at line 96 of file newclient.h.

◆ CS_STAT_TURN_UNDEAD

#define CS_STAT_TURN_UNDEAD   112

Definition at line 149 of file newclient.h.

◆ CS_STAT_WC

#define CS_STAT_WC   13

Definition at line 88 of file newclient.h.

◆ CS_STAT_WEAP_SP

#define CS_STAT_WEAP_SP   19

Definition at line 94 of file newclient.h.

◆ CS_STAT_WEIGHT_LIM

#define CS_STAT_WEIGHT_LIM   26

Definition at line 101 of file newclient.h.

◆ CS_STAT_WIS

#define CS_STAT_WIS   7

Definition at line 82 of file newclient.h.

◆ EMI_HASMOREBITS

#define EMI_HASMOREBITS   0x80

Indicates the bitfield continue un next byte There may be several on contiguous bytes. So there is 7 actual bits used per byte, and the number of bytes is not fixed in protocol

Definition at line 372 of file newclient.h.

◆ EMI_NOREDRAW

#define EMI_NOREDRAW   0x01

< Take extended information into account but do not redraw. Some additional data will follow in a new packet.

Definition at line 362 of file newclient.h.

◆ EMI_SMOOTH

#define EMI_SMOOTH   0x02

Data about smoothing.

Definition at line 366 of file newclient.h.

◆ F_APPLIED

#define F_APPLIED   0x000F

Definition at line 272 of file newclient.h.

◆ F_BLESSED

#define F_BLESSED   0x0100

Definition at line 281 of file newclient.h.

◆ F_CURSED

#define F_CURSED   0x0800

Definition at line 276 of file newclient.h.

◆ F_DAMNED

#define F_DAMNED   0x1000

Definition at line 277 of file newclient.h.

◆ F_LOCKED

#define F_LOCKED   0x8000

Definition at line 280 of file newclient.h.

◆ F_MAGIC

#define F_MAGIC   0x0400

Definition at line 275 of file newclient.h.

◆ F_NOPICK

#define F_NOPICK   0x4000

Definition at line 279 of file newclient.h.

◆ F_OPEN

#define F_OPEN   0x2000

Definition at line 278 of file newclient.h.

◆ F_READ

#define F_READ   0x0020

Definition at line 282 of file newclient.h.

◆ F_UNIDENTIFIED

#define F_UNIDENTIFIED   0x0010

Definition at line 273 of file newclient.h.

◆ F_UNPAID

#define F_UNPAID   0x0200

Definition at line 274 of file newclient.h.

◆ FACE_COLOR_MASK

#define FACE_COLOR_MASK   0xf

Definition at line 295 of file newclient.h.

◆ FACE_FLOOR

#define FACE_FLOOR   0x80

Definition at line 292 of file newclient.h.

◆ FACE_IS_ANIM

#define FACE_IS_ANIM   1<<15

Definition at line 335 of file newclient.h.

◆ FACE_WALL

#define FACE_WALL   0x40

Or'd into the color value by the server right before sending.

Definition at line 293 of file newclient.h.

◆ FLOAT_MULTF

#define FLOAT_MULTF   100000.0

Float for going from int to float.

Definition at line 69 of file newclient.h.

◆ FLOAT_MULTI

#define FLOAT_MULTI   100000

Integer representation (float to int).

Definition at line 68 of file newclient.h.

◆ INFO_MAP_ARCH_NAME

#define INFO_MAP_ARCH_NAME   1

Definitions for the requestion/replyinfo map data. Archetype name of this entry

Definition at line 663 of file newclient.h.

◆ INFO_MAP_DESCRIPTION

#define INFO_MAP_DESCRIPTION   3

Description of this map

Definition at line 665 of file newclient.h.

◆ INFO_MAP_NAME

#define INFO_MAP_NAME   2

Proper name of this entry

Definition at line 664 of file newclient.h.

◆ MAP2_COORD_OFFSET

#define MAP2_COORD_OFFSET   15

How much the x,y coordinates in the map2 are off from actual upper left corner. Necessary for light sources that may be off the edge of the visible map.

Definition at line 32 of file newclient.h.

◆ MAP2_LAYER_START

#define MAP2_LAYER_START   0x10

Definition at line 53 of file newclient.h.

◆ MAP2_TYPE_CLEAR

#define MAP2_TYPE_CLEAR   0x0

Definition at line 42 of file newclient.h.

◆ MAP2_TYPE_DARKNESS

#define MAP2_TYPE_DARKNESS   0x1

Definition at line 43 of file newclient.h.

◆ MAXSOCKBUF

#define MAXSOCKBUF   (2+65535+1)

Maximum size of a packet the client expects to get and that the server can send. Using a buffer of this size allows the client to avoid constant allocation and deallocation of the same buffer over and over again (at the cost of using extra memory). This also makes the code simpler. The size is big enough to receive any valid packet: 2 bytes for length, 65535 for maximum packet size, 1 for a trailing null character.

Definition at line 25 of file newclient.h.

◆ MSG_SUBTYPE_NONE

#define MSG_SUBTYPE_NONE   0

Definition at line 409 of file newclient.h.

◆ MSG_TYPE_ADMIN

#define MSG_TYPE_ADMIN   8

Definition at line 391 of file newclient.h.

◆ MSG_TYPE_ADMIN_DM

#define MSG_TYPE_ADMIN_DM   4

DM related admin actions

Definition at line 486 of file newclient.h.

◆ MSG_TYPE_ADMIN_ERROR

#define MSG_TYPE_ADMIN_ERROR   9

Error on command, setup, etc

Definition at line 491 of file newclient.h.

◆ MSG_TYPE_ADMIN_HISCORE

#define MSG_TYPE_ADMIN_HISCORE   5

Hiscore list

Definition at line 487 of file newclient.h.

◆ MSG_TYPE_ADMIN_LOADSAVE

#define MSG_TYPE_ADMIN_LOADSAVE   6

load/save operations

Definition at line 488 of file newclient.h.

◆ MSG_TYPE_ADMIN_LOGIN

#define MSG_TYPE_ADMIN_LOGIN   7

login messages/errors

Definition at line 489 of file newclient.h.

◆ MSG_TYPE_ADMIN_NEWS

#define MSG_TYPE_ADMIN_NEWS   2

Definition at line 484 of file newclient.h.

◆ MSG_TYPE_ADMIN_PLAYER

#define MSG_TYPE_ADMIN_PLAYER   3

Player coming/going/death

Definition at line 485 of file newclient.h.

◆ MSG_TYPE_ADMIN_RULES

#define MSG_TYPE_ADMIN_RULES   1

Definition at line 483 of file newclient.h.

◆ MSG_TYPE_ADMIN_VERSION

#define MSG_TYPE_ADMIN_VERSION   8

version info

Definition at line 490 of file newclient.h.

◆ MSG_TYPE_APPLY

#define MSG_TYPE_APPLY   13

Applying objects

Definition at line 397 of file newclient.h.

◆ MSG_TYPE_APPLY_BADBODY

#define MSG_TYPE_APPLY_BADBODY   7

Don't have body to use object

Definition at line 596 of file newclient.h.

◆ MSG_TYPE_APPLY_BUILD

#define MSG_TYPE_APPLY_BUILD   9

Build related actions

Definition at line 598 of file newclient.h.

◆ MSG_TYPE_APPLY_CURSED

#define MSG_TYPE_APPLY_CURSED   5

Applied a cursed object (BAD)

Definition at line 594 of file newclient.h.

◆ MSG_TYPE_APPLY_ERROR

#define MSG_TYPE_APPLY_ERROR   1

Definition at line 590 of file newclient.h.

◆ MSG_TYPE_APPLY_FAILURE

#define MSG_TYPE_APPLY_FAILURE   4

Apply OK, but no/bad result

Definition at line 593 of file newclient.h.

◆ MSG_TYPE_APPLY_PROHIBITION

#define MSG_TYPE_APPLY_PROHIBITION   8

Class/god prohibiiton on obj

Definition at line 597 of file newclient.h.

◆ MSG_TYPE_APPLY_SUCCESS

#define MSG_TYPE_APPLY_SUCCESS   3

Was able to apply object

Definition at line 592 of file newclient.h.

◆ MSG_TYPE_APPLY_TRAP

#define MSG_TYPE_APPLY_TRAP   6

Have activated a trap

Definition at line 595 of file newclient.h.

◆ MSG_TYPE_APPLY_UNAPPLY

#define MSG_TYPE_APPLY_UNAPPLY   2

Unapply an object

Definition at line 591 of file newclient.h.

◆ MSG_TYPE_ATTACK

#define MSG_TYPE_ATTACK   14

Attack related messages

Definition at line 398 of file newclient.h.

◆ MSG_TYPE_ATTACK_DID_HIT

#define MSG_TYPE_ATTACK_DID_HIT   1

Player hit something else

Definition at line 601 of file newclient.h.

◆ MSG_TYPE_ATTACK_DID_KILL

#define MSG_TYPE_ATTACK_DID_KILL   4

Player killed something

Definition at line 604 of file newclient.h.

◆ MSG_TYPE_ATTACK_FUMBLE

#define MSG_TYPE_ATTACK_FUMBLE   3

Player fumbled attack

Definition at line 603 of file newclient.h.

◆ MSG_TYPE_ATTACK_MISS

#define MSG_TYPE_ATTACK_MISS   9

attack didn't hit

Definition at line 609 of file newclient.h.

◆ MSG_TYPE_ATTACK_NOATTACK

#define MSG_TYPE_ATTACK_NOATTACK   7

You avoid attacking

Definition at line 607 of file newclient.h.

◆ MSG_TYPE_ATTACK_NOKEY

#define MSG_TYPE_ATTACK_NOKEY   6

Keys are like attacks, so...

Definition at line 606 of file newclient.h.

◆ MSG_TYPE_ATTACK_PET_DIED

#define MSG_TYPE_ATTACK_PET_DIED   5

Pet was killed

Definition at line 605 of file newclient.h.

◆ MSG_TYPE_ATTACK_PET_HIT

#define MSG_TYPE_ATTACK_PET_HIT   2

Players pet hit something else

Definition at line 602 of file newclient.h.

◆ MSG_TYPE_ATTACK_PUSHED

#define MSG_TYPE_ATTACK_PUSHED   8

Pushed a friendly player

Definition at line 608 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE

#define MSG_TYPE_ATTRIBUTE   11

Changes to attributes (stats, resistances, etc)

Definition at line 394 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_ATTACKTYPE_GAIN

#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_GAIN   1

Atacktypes here refer to

Definition at line 538 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_ATTACKTYPE_LOSS

#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_LOSS   2

the player gaining or losing these attacktypes not being a victim of an attacktype.

Definition at line 539 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_BAD_EFFECT_END

#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_END   8

End of a bad effect.

Definition at line 556 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_BAD_EFFECT_START

#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_START   7

Start of a bad effect to the player.

Definition at line 554 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_GOD

#define MSG_TYPE_ATTRIBUTE_GOD   15

changing god info

Definition at line 564 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_END

#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_END   14

End of a good effect.

Definition at line 563 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_START

#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_START   13

Start of a good effect to the player.

Definition at line 561 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_LEVEL_GAIN

#define MSG_TYPE_ATTRIBUTE_LEVEL_GAIN   11

Definition at line 559 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_LEVEL_LOSS

#define MSG_TYPE_ATTRIBUTE_LEVEL_LOSS   12

Definition at line 560 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_MOVE

#define MSG_TYPE_ATTRIBUTE_MOVE   5

A change in the movement type of the player.

Definition at line 551 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_PROTECTION_GAIN

#define MSG_TYPE_ATTRIBUTE_PROTECTION_GAIN   3

Protections in this

Definition at line 544 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_PROTECTION_LOSS

#define MSG_TYPE_ATTRIBUTE_PROTECTION_LOSS   4

context are pretty generic - things like reflection or lifesave are also under the protection category.

Definition at line 545 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_RACE

#define MSG_TYPE_ATTRIBUTE_RACE   6

Race-related changes.

Definition at line 553 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_STAT_GAIN

#define MSG_TYPE_ATTRIBUTE_STAT_GAIN   9

Definition at line 557 of file newclient.h.

◆ MSG_TYPE_ATTRIBUTE_STAT_LOSS

#define MSG_TYPE_ATTRIBUTE_STAT_LOSS   10

Definition at line 558 of file newclient.h.

◆ MSG_TYPE_BOOK

#define MSG_TYPE_BOOK   1

Definition at line 384 of file newclient.h.

◆ MSG_TYPE_BOOK_CLASP_1

#define MSG_TYPE_BOOK_CLASP_1   1

Definition at line 412 of file newclient.h.

◆ MSG_TYPE_BOOK_CLASP_2

#define MSG_TYPE_BOOK_CLASP_2   2

Definition at line 413 of file newclient.h.

◆ MSG_TYPE_BOOK_ELEGANT_1

#define MSG_TYPE_BOOK_ELEGANT_1   3

Definition at line 414 of file newclient.h.

◆ MSG_TYPE_BOOK_ELEGANT_2

#define MSG_TYPE_BOOK_ELEGANT_2   4

Definition at line 415 of file newclient.h.

◆ MSG_TYPE_BOOK_QUARTO_1

#define MSG_TYPE_BOOK_QUARTO_1   5

Definition at line 416 of file newclient.h.

◆ MSG_TYPE_BOOK_QUARTO_2

#define MSG_TYPE_BOOK_QUARTO_2   6

Definition at line 417 of file newclient.h.

◆ MSG_TYPE_BOOK_SPELL_EVOKER

#define MSG_TYPE_BOOK_SPELL_EVOKER   7

Definition at line 418 of file newclient.h.

◆ MSG_TYPE_BOOK_SPELL_PRAYER

#define MSG_TYPE_BOOK_SPELL_PRAYER   8

Definition at line 419 of file newclient.h.

◆ MSG_TYPE_BOOK_SPELL_PYRO

#define MSG_TYPE_BOOK_SPELL_PYRO   9

Definition at line 420 of file newclient.h.

◆ MSG_TYPE_BOOK_SPELL_SORCERER

#define MSG_TYPE_BOOK_SPELL_SORCERER   10

Definition at line 421 of file newclient.h.

◆ MSG_TYPE_BOOK_SPELL_SUMMONER

#define MSG_TYPE_BOOK_SPELL_SUMMONER   11

Definition at line 422 of file newclient.h.

◆ MSG_TYPE_CARD

#define MSG_TYPE_CARD   2

Definition at line 385 of file newclient.h.

◆ MSG_TYPE_CARD_ELEGANT_1

#define MSG_TYPE_CARD_ELEGANT_1   4

Definition at line 428 of file newclient.h.

◆ MSG_TYPE_CARD_ELEGANT_2

#define MSG_TYPE_CARD_ELEGANT_2   5

Definition at line 429 of file newclient.h.

◆ MSG_TYPE_CARD_ELEGANT_3

#define MSG_TYPE_CARD_ELEGANT_3   6

Definition at line 430 of file newclient.h.

◆ MSG_TYPE_CARD_MONEY_1

#define MSG_TYPE_CARD_MONEY_1   10

Definition at line 434 of file newclient.h.

◆ MSG_TYPE_CARD_MONEY_2

#define MSG_TYPE_CARD_MONEY_2   11

Definition at line 435 of file newclient.h.

◆ MSG_TYPE_CARD_MONEY_3

#define MSG_TYPE_CARD_MONEY_3   12

Definition at line 436 of file newclient.h.

◆ MSG_TYPE_CARD_SIMPLE_1

#define MSG_TYPE_CARD_SIMPLE_1   1

Definition at line 425 of file newclient.h.

◆ MSG_TYPE_CARD_SIMPLE_2

#define MSG_TYPE_CARD_SIMPLE_2   2

Definition at line 426 of file newclient.h.

◆ MSG_TYPE_CARD_SIMPLE_3

#define MSG_TYPE_CARD_SIMPLE_3   3

Definition at line 427 of file newclient.h.

◆ MSG_TYPE_CARD_STRANGE_1

#define MSG_TYPE_CARD_STRANGE_1   7

Definition at line 431 of file newclient.h.

◆ MSG_TYPE_CARD_STRANGE_2

#define MSG_TYPE_CARD_STRANGE_2   8

Definition at line 432 of file newclient.h.

◆ MSG_TYPE_CARD_STRANGE_3

#define MSG_TYPE_CARD_STRANGE_3   9

Definition at line 433 of file newclient.h.

◆ MSG_TYPE_CLIENT

#define MSG_TYPE_CLIENT   20

Client originated Messages

Definition at line 406 of file newclient.h.

◆ MSG_TYPE_CLIENT_COMMAND

#define MSG_TYPE_CLIENT_COMMAND   3

DrawInfoCmd()

Definition at line 651 of file newclient.h.

◆ MSG_TYPE_CLIENT_CONFIG

#define MSG_TYPE_CLIENT_CONFIG   1

Local configuration issues

Definition at line 649 of file newclient.h.

◆ MSG_TYPE_CLIENT_DEBUG

#define MSG_TYPE_CLIENT_DEBUG   5

General debug messages

Definition at line 653 of file newclient.h.

◆ MSG_TYPE_CLIENT_ERROR

#define MSG_TYPE_CLIENT_ERROR   9

Bad things happening

Definition at line 657 of file newclient.h.

◆ MSG_TYPE_CLIENT_METASERVER

#define MSG_TYPE_CLIENT_METASERVER   7

Metaserver messages

Definition at line 655 of file newclient.h.

◆ MSG_TYPE_CLIENT_NOTICE

#define MSG_TYPE_CLIENT_NOTICE   6

Non-critical note to player

Definition at line 654 of file newclient.h.

◆ MSG_TYPE_CLIENT_QUERY

#define MSG_TYPE_CLIENT_QUERY   4

handle_query() and prompts

Definition at line 652 of file newclient.h.

◆ MSG_TYPE_CLIENT_SCRIPT

#define MSG_TYPE_CLIENT_SCRIPT   8

Script related messages

Definition at line 656 of file newclient.h.

◆ MSG_TYPE_CLIENT_SERVER

#define MSG_TYPE_CLIENT_SERVER   2

Server configuration issues

Definition at line 650 of file newclient.h.

◆ MSG_TYPE_COMMAND

#define MSG_TYPE_COMMAND   10

Responses to commands, eg, who

Definition at line 393 of file newclient.h.

◆ MSG_TYPE_COMMAND_BODY

#define MSG_TYPE_COMMAND_BODY   3

Definition at line 510 of file newclient.h.

◆ MSG_TYPE_COMMAND_CONFIG

#define MSG_TYPE_COMMAND_CONFIG   7

bowmode, petmode, applymode

Definition at line 514 of file newclient.h.

◆ MSG_TYPE_COMMAND_DEBUG

#define MSG_TYPE_COMMAND_DEBUG   10

Various debug type commands

Definition at line 517 of file newclient.h.

◆ MSG_TYPE_COMMAND_DM

#define MSG_TYPE_COMMAND_DM   17

DM related commands

Definition at line 524 of file newclient.h.

◆ MSG_TYPE_COMMAND_ERROR

#define MSG_TYPE_COMMAND_ERROR   11

Bad syntax/can't use command

Definition at line 518 of file newclient.h.

◆ MSG_TYPE_COMMAND_EXAMINE

#define MSG_TYPE_COMMAND_EXAMINE   14

Player examining something

Definition at line 521 of file newclient.h.

◆ MSG_TYPE_COMMAND_FAILURE

#define MSG_TYPE_COMMAND_FAILURE   13

Failed result from command

Definition at line 520 of file newclient.h.

◆ MSG_TYPE_COMMAND_HELP

#define MSG_TYPE_COMMAND_HELP   16

Help related information

Definition at line 523 of file newclient.h.

◆ MSG_TYPE_COMMAND_INFO

#define MSG_TYPE_COMMAND_INFO   8

Generic info: resistances, etc

Definition at line 515 of file newclient.h.

◆ MSG_TYPE_COMMAND_INVENTORY

#define MSG_TYPE_COMMAND_INVENTORY   15

Inventory listing

Definition at line 522 of file newclient.h.

◆ MSG_TYPE_COMMAND_MALLOC

#define MSG_TYPE_COMMAND_MALLOC   4

Definition at line 511 of file newclient.h.

◆ MSG_TYPE_COMMAND_MAPS

#define MSG_TYPE_COMMAND_MAPS   2

Definition at line 509 of file newclient.h.

◆ MSG_TYPE_COMMAND_NEWPLAYER

#define MSG_TYPE_COMMAND_NEWPLAYER   18

Create a new character - not really a command, but is responding to player input

Definition at line 525 of file newclient.h.

◆ MSG_TYPE_COMMAND_QUESTS

#define MSG_TYPE_COMMAND_QUESTS   9

Quest info

Definition at line 516 of file newclient.h.

◆ MSG_TYPE_COMMAND_STATISTICS

#define MSG_TYPE_COMMAND_STATISTICS   6

Definition at line 513 of file newclient.h.

◆ MSG_TYPE_COMMAND_SUCCESS

#define MSG_TYPE_COMMAND_SUCCESS   12

Successful result from command

Definition at line 519 of file newclient.h.

◆ MSG_TYPE_COMMAND_WEATHER

#define MSG_TYPE_COMMAND_WEATHER   5

Definition at line 512 of file newclient.h.

◆ MSG_TYPE_COMMAND_WHO

#define MSG_TYPE_COMMAND_WHO   1

Definition at line 508 of file newclient.h.

◆ MSG_TYPE_COMMUNICATION

#define MSG_TYPE_COMMUNICATION   15

Communication between players

Definition at line 399 of file newclient.h.

◆ MSG_TYPE_COMMUNICATION_CHAT

#define MSG_TYPE_COMMUNICATION_CHAT   8

Party message

Definition at line 618 of file newclient.h.

◆ MSG_TYPE_COMMUNICATION_EMOTE

#define MSG_TYPE_COMMUNICATION_EMOTE   5

Player emotes

Definition at line 615 of file newclient.h.

◆ MSG_TYPE_COMMUNICATION_ME

#define MSG_TYPE_COMMUNICATION_ME   3

Player me's a message

Definition at line 613 of file newclient.h.

◆ MSG_TYPE_COMMUNICATION_PARTY

#define MSG_TYPE_COMMUNICATION_PARTY   6

Party message

Definition at line 616 of file newclient.h.

◆ MSG_TYPE_COMMUNICATION_RANDOM

#define MSG_TYPE_COMMUNICATION_RANDOM   1

Random event (coin toss)

Definition at line 611 of file newclient.h.

◆ MSG_TYPE_COMMUNICATION_SAY

#define MSG_TYPE_COMMUNICATION_SAY   2

Player says something

Definition at line 612 of file newclient.h.

◆ MSG_TYPE_COMMUNICATION_SHOUT

#define MSG_TYPE_COMMUNICATION_SHOUT   7

Party message

Definition at line 617 of file newclient.h.

◆ MSG_TYPE_COMMUNICATION_TELL

#define MSG_TYPE_COMMUNICATION_TELL   4

Player tells something

Definition at line 614 of file newclient.h.

◆ MSG_TYPE_DIALOG

#define MSG_TYPE_DIALOG   6

NPCs, magic mouths, and altars

Definition at line 389 of file newclient.h.

◆ MSG_TYPE_DIALOG_ALTAR

#define MSG_TYPE_DIALOG_ALTAR   2

A message from an altar

Definition at line 477 of file newclient.h.

◆ MSG_TYPE_DIALOG_MAGIC_EAR

#define MSG_TYPE_DIALOG_MAGIC_EAR   3

Magic ear

Definition at line 478 of file newclient.h.

◆ MSG_TYPE_DIALOG_NPC

#define MSG_TYPE_DIALOG_NPC   1

A message from the npc

Definition at line 476 of file newclient.h.

◆ MSG_TYPE_ITEM

#define MSG_TYPE_ITEM   17

Item related information

Definition at line 401 of file newclient.h.

◆ MSG_TYPE_ITEM_ADD

#define MSG_TYPE_ITEM_ADD   2

Item added to inventory

Definition at line 632 of file newclient.h.

◆ MSG_TYPE_ITEM_CHANGE

#define MSG_TYPE_ITEM_CHANGE   3

Item has changed in some way

Definition at line 633 of file newclient.h.

◆ MSG_TYPE_ITEM_INFO

#define MSG_TYPE_ITEM_INFO   4

Information related to items

Definition at line 634 of file newclient.h.

◆ MSG_TYPE_ITEM_REMOVE

#define MSG_TYPE_ITEM_REMOVE   1

Item removed from inv

Definition at line 631 of file newclient.h.

◆ MSG_TYPE_LAST

#define MSG_TYPE_LAST   21

Definition at line 407 of file newclient.h.

◆ MSG_TYPE_MISC

#define MSG_TYPE_MISC   18

Messages that don't go elsewhere

Definition at line 402 of file newclient.h.

◆ MSG_TYPE_MONUMENT

#define MSG_TYPE_MONUMENT   5

Definition at line 388 of file newclient.h.

◆ MSG_TYPE_MONUMENT_GRAVESTONE_1

#define MSG_TYPE_MONUMENT_GRAVESTONE_1   7

Definition at line 468 of file newclient.h.

◆ MSG_TYPE_MONUMENT_GRAVESTONE_2

#define MSG_TYPE_MONUMENT_GRAVESTONE_2   8

Definition at line 469 of file newclient.h.

◆ MSG_TYPE_MONUMENT_GRAVESTONE_3

#define MSG_TYPE_MONUMENT_GRAVESTONE_3   9

Definition at line 470 of file newclient.h.

◆ MSG_TYPE_MONUMENT_STATUE_1

#define MSG_TYPE_MONUMENT_STATUE_1   4

Definition at line 465 of file newclient.h.

◆ MSG_TYPE_MONUMENT_STATUE_2

#define MSG_TYPE_MONUMENT_STATUE_2   5

Definition at line 466 of file newclient.h.

◆ MSG_TYPE_MONUMENT_STATUE_3

#define MSG_TYPE_MONUMENT_STATUE_3   6

Definition at line 467 of file newclient.h.

◆ MSG_TYPE_MONUMENT_STONE_1

#define MSG_TYPE_MONUMENT_STONE_1   1

Definition at line 462 of file newclient.h.

◆ MSG_TYPE_MONUMENT_STONE_2

#define MSG_TYPE_MONUMENT_STONE_2   2

Definition at line 463 of file newclient.h.

◆ MSG_TYPE_MONUMENT_STONE_3

#define MSG_TYPE_MONUMENT_STONE_3   3

Definition at line 464 of file newclient.h.

◆ MSG_TYPE_MONUMENT_WALL_1

#define MSG_TYPE_MONUMENT_WALL_1   10

Definition at line 471 of file newclient.h.

◆ MSG_TYPE_MONUMENT_WALL_2

#define MSG_TYPE_MONUMENT_WALL_2   11

Definition at line 472 of file newclient.h.

◆ MSG_TYPE_MONUMENT_WALL_3

#define MSG_TYPE_MONUMENT_WALL_3   12

Definition at line 473 of file newclient.h.

◆ MSG_TYPE_MOTD

#define MSG_TYPE_MOTD   7

Definition at line 390 of file newclient.h.

◆ MSG_TYPE_PAPER

#define MSG_TYPE_PAPER   3

Definition at line 386 of file newclient.h.

◆ MSG_TYPE_PAPER_ENVELOPE_1

#define MSG_TYPE_PAPER_ENVELOPE_1   8

Definition at line 446 of file newclient.h.

◆ MSG_TYPE_PAPER_ENVELOPE_2

#define MSG_TYPE_PAPER_ENVELOPE_2   9

Definition at line 447 of file newclient.h.

◆ MSG_TYPE_PAPER_LETTER_NEW_1

#define MSG_TYPE_PAPER_LETTER_NEW_1   6

Definition at line 444 of file newclient.h.

◆ MSG_TYPE_PAPER_LETTER_NEW_2

#define MSG_TYPE_PAPER_LETTER_NEW_2   7

Definition at line 445 of file newclient.h.

◆ MSG_TYPE_PAPER_LETTER_OLD_1

#define MSG_TYPE_PAPER_LETTER_OLD_1   4

Definition at line 442 of file newclient.h.

◆ MSG_TYPE_PAPER_LETTER_OLD_2

#define MSG_TYPE_PAPER_LETTER_OLD_2   5

Definition at line 443 of file newclient.h.

◆ MSG_TYPE_PAPER_NOTE_1

#define MSG_TYPE_PAPER_NOTE_1   1

Definition at line 439 of file newclient.h.

◆ MSG_TYPE_PAPER_NOTE_2

#define MSG_TYPE_PAPER_NOTE_2   2

Definition at line 440 of file newclient.h.

◆ MSG_TYPE_PAPER_NOTE_3

#define MSG_TYPE_PAPER_NOTE_3   3

Definition at line 441 of file newclient.h.

◆ MSG_TYPE_PAPER_SCROLL_MAGIC

#define MSG_TYPE_PAPER_SCROLL_MAGIC   14

Definition at line 452 of file newclient.h.

◆ MSG_TYPE_PAPER_SCROLL_NEW_1

#define MSG_TYPE_PAPER_SCROLL_NEW_1   12

Definition at line 450 of file newclient.h.

◆ MSG_TYPE_PAPER_SCROLL_NEW_2

#define MSG_TYPE_PAPER_SCROLL_NEW_2   13

Definition at line 451 of file newclient.h.

◆ MSG_TYPE_PAPER_SCROLL_OLD_1

#define MSG_TYPE_PAPER_SCROLL_OLD_1   10

Definition at line 448 of file newclient.h.

◆ MSG_TYPE_PAPER_SCROLL_OLD_2

#define MSG_TYPE_PAPER_SCROLL_OLD_2   11

Definition at line 449 of file newclient.h.

◆ MSG_TYPE_SHOP

#define MSG_TYPE_SHOP   9

Definition at line 392 of file newclient.h.

◆ MSG_TYPE_SHOP_LISTING

#define MSG_TYPE_SHOP_LISTING   1

Shop listings - inventory, what it deals in.

Definition at line 497 of file newclient.h.

◆ MSG_TYPE_SHOP_MISC

#define MSG_TYPE_SHOP_MISC   4

Random messages

Definition at line 502 of file newclient.h.

◆ MSG_TYPE_SHOP_PAYMENT

#define MSG_TYPE_SHOP_PAYMENT   2

Messages about payment, lack of funds.

Definition at line 499 of file newclient.h.

◆ MSG_TYPE_SHOP_SELL

#define MSG_TYPE_SHOP_SELL   3

Messages about selling items

Definition at line 501 of file newclient.h.

◆ MSG_TYPE_SIGN

#define MSG_TYPE_SIGN   4

Definition at line 387 of file newclient.h.

◆ MSG_TYPE_SIGN_BASIC

#define MSG_TYPE_SIGN_BASIC   1

Definition at line 455 of file newclient.h.

◆ MSG_TYPE_SIGN_DIR_BOTH

#define MSG_TYPE_SIGN_DIR_BOTH   4

Definition at line 458 of file newclient.h.

◆ MSG_TYPE_SIGN_DIR_LEFT

#define MSG_TYPE_SIGN_DIR_LEFT   2

Definition at line 456 of file newclient.h.

◆ MSG_TYPE_SIGN_DIR_RIGHT

#define MSG_TYPE_SIGN_DIR_RIGHT   3

Definition at line 457 of file newclient.h.

◆ MSG_TYPE_SIGN_MAGIC_MOUTH

#define MSG_TYPE_SIGN_MAGIC_MOUTH   5

Definition at line 459 of file newclient.h.

◆ MSG_TYPE_SKILL

#define MSG_TYPE_SKILL   12

Messages related to skill use.

Definition at line 396 of file newclient.h.

◆ MSG_TYPE_SKILL_ERROR

#define MSG_TYPE_SKILL_ERROR   2

Doing something wrong

Definition at line 577 of file newclient.h.

◆ MSG_TYPE_SKILL_FAILURE

#define MSG_TYPE_SKILL_FAILURE   4

Failure in using skill

Definition at line 579 of file newclient.h.

◆ MSG_TYPE_SKILL_LIST

#define MSG_TYPE_SKILL_LIST   6

List of skills

Definition at line 581 of file newclient.h.

◆ MSG_TYPE_SKILL_MISSING

#define MSG_TYPE_SKILL_MISSING   1

Don't have the skill

Definition at line 576 of file newclient.h.

◆ MSG_TYPE_SKILL_PRAY

#define MSG_TYPE_SKILL_PRAY   5

Praying related messages

Definition at line 580 of file newclient.h.

◆ MSG_TYPE_SKILL_SUCCESS

#define MSG_TYPE_SKILL_SUCCESS   3

Successfully used skill

Definition at line 578 of file newclient.h.

◆ MSG_TYPE_SPELL

#define MSG_TYPE_SPELL   16

Spell related info

Definition at line 400 of file newclient.h.

◆ MSG_TYPE_SPELL_END

#define MSG_TYPE_SPELL_END   4

A spell ends

Definition at line 623 of file newclient.h.

◆ MSG_TYPE_SPELL_ERROR

#define MSG_TYPE_SPELL_ERROR   6

Spell failure messages

Definition at line 625 of file newclient.h.

◆ MSG_TYPE_SPELL_FAILURE

#define MSG_TYPE_SPELL_FAILURE   3

Spell failure messages

Definition at line 622 of file newclient.h.

◆ MSG_TYPE_SPELL_HEAL

#define MSG_TYPE_SPELL_HEAL   1

Healing related spells

Definition at line 620 of file newclient.h.

◆ MSG_TYPE_SPELL_INFO

#define MSG_TYPE_SPELL_INFO   9

random info about spell, not related to failure/success

Definition at line 628 of file newclient.h.

◆ MSG_TYPE_SPELL_PERCEIVE_SELF

#define MSG_TYPE_SPELL_PERCEIVE_SELF   7

Perceive self messages

Definition at line 626 of file newclient.h.

◆ MSG_TYPE_SPELL_PET

#define MSG_TYPE_SPELL_PET   2

Pet related messages

Definition at line 621 of file newclient.h.

◆ MSG_TYPE_SPELL_SUCCESS

#define MSG_TYPE_SPELL_SUCCESS   5

Spell succeeded messages

Definition at line 624 of file newclient.h.

◆ MSG_TYPE_SPELL_TARGET

#define MSG_TYPE_SPELL_TARGET   8

Target of non attack spell

Definition at line 627 of file newclient.h.

◆ MSG_TYPE_VICTIM

#define MSG_TYPE_VICTIM   19

Something bad is happening to the player.

Definition at line 404 of file newclient.h.

◆ MSG_TYPE_VICTIM_DIED

#define MSG_TYPE_VICTIM_DIED   5

Player died!

Definition at line 645 of file newclient.h.

◆ MSG_TYPE_VICTIM_SPELL

#define MSG_TYPE_VICTIM_SPELL   4

Someone cast a bad spell on the player

Definition at line 643 of file newclient.h.

◆ MSG_TYPE_VICTIM_STEAL

#define MSG_TYPE_VICTIM_STEAL   3

Someone tried to steal from the player

Definition at line 641 of file newclient.h.

◆ MSG_TYPE_VICTIM_SWAMP

#define MSG_TYPE_VICTIM_SWAMP   1

Player is sinking in a swamp

Definition at line 639 of file newclient.h.

◆ MSG_TYPE_VICTIM_WAS_HIT

#define MSG_TYPE_VICTIM_WAS_HIT   2

Player was hit by something

Definition at line 640 of file newclient.h.

◆ MSG_TYPE_VICTIM_WAS_PUSHED

#define MSG_TYPE_VICTIM_WAS_PUSHED   6

Player was pushed or attempted pushed

Definition at line 646 of file newclient.h.

◆ NDI_ALL

#define NDI_ALL   0x200

Inform all players of this message.

Definition at line 252 of file newclient.h.

◆ NDI_ALL_DMS

#define NDI_ALL_DMS   0x400

Inform all logged in DMs. Used in case of errors. Overrides NDI_ALL.

Definition at line 253 of file newclient.h.

◆ NDI_BLACK

#define NDI_BLACK   0

Definition at line 231 of file newclient.h.

◆ NDI_BLUE

#define NDI_BLUE   5

Actually, it is Dodger Blue

Definition at line 236 of file newclient.h.

◆ NDI_BROWN

#define NDI_BROWN   10

Sienna.

Definition at line 242 of file newclient.h.

◆ NDI_COLOR_MASK

#define NDI_COLOR_MASK   0xff

Gives lots of room for expansion - we are using an int anyways, so we have the space to still do all the flags.

Definition at line 247 of file newclient.h.

◆ NDI_DELAYED

#define NDI_DELAYED   0x1000

If set, then message is sent only after the player's tick completes. This allows sending eg quest information after some dialogue even though quest is processed before.

Definition at line 258 of file newclient.h.

◆ NDI_DK_ORANGE

#define NDI_DK_ORANGE   6

DarkOrange2

Definition at line 237 of file newclient.h.

◆ NDI_GOLD

#define NDI_GOLD   11

Definition at line 243 of file newclient.h.

◆ NDI_GREEN

#define NDI_GREEN   7

SeaGreen

Definition at line 238 of file newclient.h.

◆ NDI_GREY

#define NDI_GREY   9

Definition at line 241 of file newclient.h.

◆ NDI_LT_GREEN

#define NDI_LT_GREEN   8

DarkSeaGreen, which is actually paler than seagreen - also background color.

Definition at line 239 of file newclient.h.

◆ NDI_MAX_COLOR

#define NDI_MAX_COLOR   12

Last value in.

Definition at line 245 of file newclient.h.

◆ NDI_NAVY

#define NDI_NAVY   2

Definition at line 233 of file newclient.h.

◆ NDI_NO_TRANSLATE

#define NDI_NO_TRANSLATE   0x800

Do not attempt to translate. Either it has been already translated or will not be translatable (e.g. say/chat/shout)

Definition at line 255 of file newclient.h.

◆ NDI_ORANGE

#define NDI_ORANGE   4

Definition at line 235 of file newclient.h.

◆ NDI_RED

#define NDI_RED   3

Definition at line 234 of file newclient.h.

◆ NDI_TAN

#define NDI_TAN   12

Khaki.

Definition at line 244 of file newclient.h.

◆ NDI_UNIQUE

#define NDI_UNIQUE   0x100

Print immediately, don't buffer.

Definition at line 251 of file newclient.h.

◆ NDI_WHITE

#define NDI_WHITE   1

Definition at line 232 of file newclient.h.

◆ SF_FIREON

#define SF_FIREON   0x01

Definition at line 178 of file newclient.h.

◆ SF_RUNON

#define SF_RUNON   0x02

Definition at line 179 of file newclient.h.

◆ SOUND_TYPE_GROUND

#define SOUND_TYPE_GROUND   4

Definition at line 325 of file newclient.h.

◆ SOUND_TYPE_HIT

#define SOUND_TYPE_HIT   5

Definition at line 326 of file newclient.h.

◆ SOUND_TYPE_HIT_BY

#define SOUND_TYPE_HIT_BY   6

Definition at line 327 of file newclient.h.

◆ SOUND_TYPE_ITEM

#define SOUND_TYPE_ITEM   3

Definition at line 324 of file newclient.h.

◆ SOUND_TYPE_LIVING

#define SOUND_TYPE_LIVING   1

Definition at line 322 of file newclient.h.

◆ SOUND_TYPE_SPELL

#define SOUND_TYPE_SPELL   2

Definition at line 323 of file newclient.h.

◆ UPD_ALL

#define UPD_ALL   0xFF

Definition at line 311 of file newclient.h.

◆ UPD_ANIM

#define UPD_ANIM   0x20

Definition at line 308 of file newclient.h.

◆ UPD_ANIMSPEED

#define UPD_ANIMSPEED   0x40

Definition at line 309 of file newclient.h.

◆ UPD_FACE

#define UPD_FACE   0x08

Definition at line 306 of file newclient.h.

◆ UPD_FLAGS

#define UPD_FLAGS   0x02

Definition at line 304 of file newclient.h.

◆ UPD_LOCATION

#define UPD_LOCATION   0x01

Definition at line 303 of file newclient.h.

◆ UPD_NAME

#define UPD_NAME   0x10

Definition at line 307 of file newclient.h.

◆ UPD_NROF

#define UPD_NROF   0x80

Definition at line 310 of file newclient.h.

◆ UPD_SP_DAMAGE

#define UPD_SP_DAMAGE   0x04

updspell command flag value.

Definition at line 315 of file newclient.h.

◆ UPD_SP_GRACE

#define UPD_SP_GRACE   0x02

updspell command flag value.

Definition at line 314 of file newclient.h.

◆ UPD_SP_MANA

#define UPD_SP_MANA   0x01

updspell command flag value.

Definition at line 313 of file newclient.h.

◆ UPD_WEIGHT

#define UPD_WEIGHT   0x04

Definition at line 305 of file newclient.h.

Typedef Documentation

◆ CS_Stats

typedef struct CS_Stats CS_Stats

Statistics for the last CS_LOGTIME seconds on the server.

◆ SockList

typedef struct SockList SockList

Contains the base information we use to make up a packet we want to send.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
a_none 
a_readied 
a_wielded 
a_worn 
a_active 
a_applied 

Definition at line 270 of file newclient.h.

Variable Documentation

◆ cst_lst

◆ cst_tot