Crossfire Client, Branch  R11627
Data Structures | Defines | Typedefs | Enumerations | Variables
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

Defines

#define ANIM_FLAGS_MASK   0x6000
#define ANIM_MASK   0x1fff
#define ANIM_RANDOM   1<<13
#define ANIM_SYNC   2<<13
#define CF_FACE_BITMAP   1
#define CF_FACE_CACHE   0x10
#define CF_FACE_NONE   0
#define CF_FACE_PNG   3
#define CF_FACE_XPM   2
#define CS_NUM_SKILLS   50
#define CS_QUERY_HIDEINPUT   0x4 /* Hide input being entered */
#define CS_QUERY_SINGLECHAR   0x2 /* Single character response expected */
#define CS_QUERY_YESNO   0x1 /* Yes/no question */
#define CS_SAY_GSAY   0x4 /* Text is group say command */
#define CS_SAY_NORMAL   0x1 /* Normal say command */
#define CS_SAY_SHOUT   0x2 /* Text is shouted. */
#define CS_STAT_AC   14
#define CS_STAT_ARMOUR   16
#define CS_STAT_CHA   10
#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_GRACE   23
#define CS_STAT_HP   1
#define CS_STAT_INT   6
#define CS_STAT_LEVEL   12
#define CS_STAT_MAXGRACE   24
#define CS_STAT_MAXHP   2
#define CS_STAT_MAXSP   4
#define CS_STAT_POW   22
#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_SKILLEXP_AGILITY   118
#define CS_STAT_SKILLEXP_AGLEVEL   119
#define CS_STAT_SKILLEXP_END   129
#define CS_STAT_SKILLEXP_MAGIC   126
#define CS_STAT_SKILLEXP_MALEVEL   127
#define CS_STAT_SKILLEXP_MELEVEL   123
#define CS_STAT_SKILLEXP_MENTAL   122
#define CS_STAT_SKILLEXP_PELEVEL   121
#define CS_STAT_SKILLEXP_PERSONAL   120
#define CS_STAT_SKILLEXP_PHLEVEL   125
#define CS_STAT_SKILLEXP_PHYSIQUE   124
#define CS_STAT_SKILLEXP_START   118
#define CS_STAT_SKILLEXP_WILEVEL   129
#define CS_STAT_SKILLEXP_WISDOM   128
#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_CURSED   0x0800
#define F_DAMNED   0x1000
#define F_LOCATION   0x00F0
#define F_LOCKED   0x8000
#define F_MAGIC   0x0400
#define F_NOPICK   0x4000
#define F_OPEN   0x2000
#define F_UNPAID   0x0200
#define FACE_COLOR_MASK   0xf
#define FACE_FLOOR   0x80
#define FACE_IS_ANIM   1<<15
#define FACE_WALL
#define FLOAT_MULTF   100000.0
#define FLOAT_MULTI   100000
#define MAP2_COORD_OFFSET   15
#define MAXSOCKBUF   (2+65535+1)
#define MAXSOCKRECVBUF   (2+65535+1)
#define MAXSOCKSENDBUF   10239
#define MSG_SUBTYPE_NONE   0
#define MSG_TYPE_ADMIN   8
#define MSG_TYPE_ADMIN_DM   4 /* DM related admin actions */
#define MSG_TYPE_ADMIN_HISCORE   5 /* Hiscore list */
#define MSG_TYPE_ADMIN_LOADSAVE   6 /* load/save operations */
#define MSG_TYPE_ADMIN_LOGIN   7 /* login messages/errors */
#define MSG_TYPE_ADMIN_NEWS   2
#define MSG_TYPE_ADMIN_PLAYER   3 /* Player coming/going/death */
#define MSG_TYPE_ADMIN_RULES   1
#define MSG_TYPE_ADMIN_VERSION   8 /* version info */
#define MSG_TYPE_APPLY   13 /* Applying objects */
#define MSG_TYPE_APPLY_BADBODY   7 /* Don't have body to use object */
#define MSG_TYPE_APPLY_BUILD   9 /* Build related actions */
#define MSG_TYPE_APPLY_CURSED   5 /* Applied a cursed object (BAD) */
#define MSG_TYPE_APPLY_ERROR   1
#define MSG_TYPE_APPLY_FAILURE   4 /* Apply OK, but no/bad result */
#define MSG_TYPE_APPLY_PROHIBITION   8 /* Class/god prohibiiton on obj */
#define MSG_TYPE_APPLY_SUCCESS   3 /* Was able to apply object */
#define MSG_TYPE_APPLY_TRAP   6 /* Have activated a trap */
#define MSG_TYPE_APPLY_UNAPPLY   2 /* Unapply an object */
#define MSG_TYPE_ATTACK   14 /* Attack related messges */
#define MSG_TYPE_ATTACK_DID_HIT   1 /* Player hit something else */
#define MSG_TYPE_ATTACK_DID_KILL   4 /* Player killed something */
#define MSG_TYPE_ATTACK_FUMBLE   3 /* Player fumbled attack */
#define MSG_TYPE_ATTACK_NOATTACK   7 /* You avoid attacking */
#define MSG_TYPE_ATTACK_NOKEY   6 /* Keys are like attacks, so... */
#define MSG_TYPE_ATTACK_PET_DIED   5 /* Pet was killed */
#define MSG_TYPE_ATTACK_PET_HIT   2 /* Players pet hit something else */
#define MSG_TYPE_ATTACK_PUSHED   8 /* Pushed a friendly player */
#define MSG_TYPE_ATTRIBUTE   11 /* Changes to attributes (stats, */
#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_GAIN   1 /* Atacktypes here refer to */
#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_LOSS   2 /* the player gaining or */
#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_END   8 /* effects to the player */
#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_START   7 /* The start/end of bad */
#define MSG_TYPE_ATTRIBUTE_GOD   15 /* changing god info */
#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_END   14 /* good effects to the player */
#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_START   13 /* Like bad effects, but for */
#define MSG_TYPE_ATTRIBUTE_LEVEL_GAIN   11 /* Gaining/losing of levels */
#define MSG_TYPE_ATTRIBUTE_LEVEL_LOSS   12
#define MSG_TYPE_ATTRIBUTE_MOVE   5 /* A change in the movement */
#define MSG_TYPE_ATTRIBUTE_PROTECTION_GAIN   3 /* Protections in this */
#define MSG_TYPE_ATTRIBUTE_PROTECTION_LOSS   4 /* context are pretty */
#define MSG_TYPE_ATTRIBUTE_RACE   6 /* Racial related changes */
#define MSG_TYPE_ATTRIBUTE_STAT_GAIN   9 /* Start/end of stat changes */
#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_COMMAND   10 /* Responses to commands, eg, who */
#define MSG_TYPE_COMMAND_BODY   3
#define MSG_TYPE_COMMAND_CONFIG   7 /* bowmode, petmode, applymode */
#define MSG_TYPE_COMMAND_DEBUG   10 /* Various debug type commands */
#define MSG_TYPE_COMMAND_DM   17 /* DM related commands */
#define MSG_TYPE_COMMAND_ERROR   11 /* Bad syntax/can't use command */
#define MSG_TYPE_COMMAND_EXAMINE   14 /* Player examining something */
#define MSG_TYPE_COMMAND_FAILURE   13 /* Failed result from command */
#define MSG_TYPE_COMMAND_HELP   16 /* Help related information */
#define MSG_TYPE_COMMAND_INFO   8 /* Generic info - resistances, etc */
#define MSG_TYPE_COMMAND_INVENTORY   15 /* Inventory listing */
#define MSG_TYPE_COMMAND_MALLOC   4
#define MSG_TYPE_COMMAND_MAPS   2
#define MSG_TYPE_COMMAND_NEWPLAYER   18 /* Create a new character - not */
#define MSG_TYPE_COMMAND_QUESTS   9 /* Quest info */
#define MSG_TYPE_COMMAND_STATISTICS   6
#define MSG_TYPE_COMMAND_SUCCESS   12 /* Successful result from command */
#define MSG_TYPE_COMMAND_WEATHER   5
#define MSG_TYPE_COMMAND_WHO   1
#define MSG_TYPE_COMMUNICATION   15 /* Communication between players */
#define MSG_TYPE_COMMUNICATION_CHAT   8 /* Party message */
#define MSG_TYPE_COMMUNICATION_EMOTE   5 /* Player emotes */
#define MSG_TYPE_COMMUNICATION_ME   3 /* Player me's a message */
#define MSG_TYPE_COMMUNICATION_PARTY   6 /* Party message */
#define MSG_TYPE_COMMUNICATION_RANDOM   1 /* Random event (coin toss) */
#define MSG_TYPE_COMMUNICATION_SAY   2 /* Player says something */
#define MSG_TYPE_COMMUNICATION_SHOUT   7 /* Party message */
#define MSG_TYPE_COMMUNICATION_TELL   4 /* Player tells something */
#define MSG_TYPE_DIALOG   6
#define MSG_TYPE_DIALOG_ALTAR   2 /* A message from an altar */
#define MSG_TYPE_DIALOG_MAGIC_MOUTH   3 /* Magic Mouth/Magic Ear */
#define MSG_TYPE_DIALOG_NPC   1 /* A message from the npc */
#define MSG_TYPE_ITEM   17 /* Item related information */
#define MSG_TYPE_ITEM_ADD   2 /* Item added to inv */
#define MSG_TYPE_ITEM_CHANGE   3 /* Item has changed in some way */
#define MSG_TYPE_ITEM_INFO   3 /* Information related to an item */
#define MSG_TYPE_ITEM_REMOVE   1 /* Item removed from inv */
#define MSG_TYPE_LAST   20
#define MSG_TYPE_MISC   18 /* Messages that don't go anyplace else */
#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 /* Shop listings - inventory, */
#define MSG_TYPE_SHOP_MISC   4 /* Random messages */
#define MSG_TYPE_SHOP_PAYMENT   2 /* Messages about payment, lack */
#define MSG_TYPE_SHOP_SELL   3 /* Messages about selling items */
#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_SKILL   12 /* Messages related to using skills */
#define MSG_TYPE_SKILL_ERROR   2 /* Doing something wrong */
#define MSG_TYPE_SKILL_FAILURE   4 /* Failure in using skill */
#define MSG_TYPE_SKILL_LIST   6 /* List of skills */
#define MSG_TYPE_SKILL_MISSING   1 /* Don't have the skill */
#define MSG_TYPE_SKILL_PRAY   5 /* Praying related messages */
#define MSG_TYPE_SKILL_SUCCESS   3 /* Successfully used skill */
#define MSG_TYPE_SPELL   16 /* Spell related info */
#define MSG_TYPE_SPELL_END   4 /* A spell ends */
#define MSG_TYPE_SPELL_ERROR   6 /* Spell failure messages */
#define MSG_TYPE_SPELL_FAILURE   3 /* Spell failure messages */
#define MSG_TYPE_SPELL_HEAL   1 /* Healing related spells */
#define MSG_TYPE_SPELL_INFO   9 /* random info about spell, not */
#define MSG_TYPE_SPELL_PERCEIVE_SELF   7 /* Perceive self messages */
#define MSG_TYPE_SPELL_PET   2 /* Pet related messages */
#define MSG_TYPE_SPELL_SUCCESS   5 /* Spell succeeded messages */
#define MSG_TYPE_SPELL_TARGET   8 /* Target of non attack spell */
#define MSG_TYPE_VICTIM   19 /* Something bad is happening to the player */
#define MSG_TYPE_VICTIM_DIED   5 /* Player died! */
#define MSG_TYPE_VICTIM_SPELL   4 /* Someone cast a bad spell on the player */
#define MSG_TYPE_VICTIM_STEAL   3 /* Someone tried to steal from the player */
#define MSG_TYPE_VICTIM_SWAMP   1 /* Player is sinking in a swamp */
#define MSG_TYPE_VICTIM_WAS_HIT   2 /* Player was hit by something */
#define MSG_TYPE_VICTIM_WAS_PUSHED   6 /* Player was pushed or attempted pushed */
#define NDI_ALL   0x200 /* Inform all players of this message */
#define NDI_BLACK   0
#define NDI_BLUE   5 /* Actually, it is Dodger Blue */
#define NDI_BROWN   10 /* Sienna */
#define NDI_COLOR_MASK   0xff /* Gives lots of room for expansion - we are */
#define NDI_DK_ORANGE   6 /* DarkOrange2 */
#define NDI_GOLD   11
#define NDI_GREEN   7 /* SeaGreen */
#define NDI_GREY   9
#define NDI_LT_GREEN   8 /* DarkSeaGreen, which is actually paler */
#define NDI_MAX_COLOR   12 /* Last value in */
#define NDI_NAVY   2
#define NDI_ORANGE   4
#define NDI_RED   3
#define NDI_TAN   12 /* Khaki */
#define NDI_UNIQUE   0x100 /* Print this out immediately, don't buffer */
#define NDI_WHITE   1
#define SF_FIREON   0x01
#define SF_RUNON   0x02
#define SOUND_NORMAL   0
#define SOUND_SPELL   1
#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

Define Documentation

#define ANIM_FLAGS_MASK   0x6000

Definition at line 273 of file newclient.h.

Referenced by mapdata_set_anim_layer().

#define ANIM_MASK   0x1fff

Definition at line 276 of file newclient.h.

Referenced by mapdata_set_anim_layer().

#define ANIM_RANDOM   1<<13

Definition at line 269 of file newclient.h.

Referenced by mapdata_set_anim_layer().

#define ANIM_SYNC   2<<13

Definition at line 270 of file newclient.h.

Referenced by mapdata_set_anim_layer().

#define CF_FACE_BITMAP   1

Definition at line 238 of file newclient.h.

#define CF_FACE_CACHE   0x10

Definition at line 241 of file newclient.h.

Referenced by SetupCmd().

#define CF_FACE_NONE   0

Definition at line 237 of file newclient.h.

#define CF_FACE_PNG   3

Definition at line 240 of file newclient.h.

#define CF_FACE_XPM   2

Definition at line 239 of file newclient.h.

#define CS_NUM_SKILLS   50

Definition at line 182 of file newclient.h.

Referenced by get_skill_info(), script_process_cmd(), script_watch(), and StatsCmd().

#define CS_QUERY_HIDEINPUT   0x4 /* Hide input being entered */

Definition at line 91 of file newclient.h.

Referenced by handle_query().

#define CS_QUERY_SINGLECHAR   0x2 /* Single character response expected */

Definition at line 90 of file newclient.h.

Referenced by handle_query().

#define CS_QUERY_YESNO   0x1 /* Yes/no question */

Definition at line 89 of file newclient.h.

Referenced by handle_query().

#define CS_SAY_GSAY   0x4 /* Text is group say command */

Definition at line 95 of file newclient.h.

#define CS_SAY_NORMAL   0x1 /* Normal say command */

Definition at line 93 of file newclient.h.

#define CS_SAY_SHOUT   0x2 /* Text is shouted. */

Definition at line 94 of file newclient.h.

#define CS_STAT_AC   14

Definition at line 119 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_ARMOUR   16

Definition at line 121 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_CHA   10

Definition at line 115 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_CON   9

Definition at line 114 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_DAM   15

Definition at line 120 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_DEX   8

Definition at line 113 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_EXP   11

Definition at line 116 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_EXP64   28

Definition at line 132 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_FLAGS   25

Definition at line 130 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_FOOD   18

Definition at line 123 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_GRACE   23

Definition at line 128 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_HP   1

Definition at line 106 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_INT   6

Definition at line 111 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_LEVEL   12

Definition at line 117 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_MAXGRACE   24

Definition at line 129 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_MAXHP   2

Definition at line 107 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_MAXSP   4

Definition at line 109 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_POW   22

Definition at line 127 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_RANGE   20

Definition at line 125 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_RES_ACID   106

Definition at line 146 of file newclient.h.

#define CS_STAT_RES_BLIND   117

Definition at line 157 of file newclient.h.

#define CS_STAT_RES_COLD   104

Definition at line 144 of file newclient.h.

#define CS_STAT_RES_CONF   105

Definition at line 145 of file newclient.h.

#define CS_STAT_RES_DEATH   115

Definition at line 155 of file newclient.h.

#define CS_STAT_RES_DEPLETE   114

Definition at line 154 of file newclient.h.

#define CS_STAT_RES_DRAIN   107

Definition at line 147 of file newclient.h.

#define CS_STAT_RES_ELEC   103

Definition at line 143 of file newclient.h.

#define CS_STAT_RES_FEAR   113

Definition at line 153 of file newclient.h.

#define CS_STAT_RES_FIRE   102

Definition at line 142 of file newclient.h.

#define CS_STAT_RES_GHOSTHIT   108

Definition at line 148 of file newclient.h.

#define CS_STAT_RES_HOLYWORD   116

Definition at line 156 of file newclient.h.

#define CS_STAT_RES_MAG   101

Definition at line 141 of file newclient.h.

#define CS_STAT_RES_PARA   111

Definition at line 151 of file newclient.h.

#define CS_STAT_RES_PHYS   100

Definition at line 140 of file newclient.h.

#define CS_STAT_RES_POISON   109

Definition at line 149 of file newclient.h.

#define CS_STAT_RES_SLOW   110

Definition at line 150 of file newclient.h.

#define CS_STAT_RESIST_END   117

Definition at line 139 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_RESIST_START   100

Definition at line 138 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SKILLEXP_AGILITY   118

Definition at line 162 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SKILLEXP_AGLEVEL   119

Definition at line 163 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SKILLEXP_END   129

Definition at line 161 of file newclient.h.

#define CS_STAT_SKILLEXP_MAGIC   126

Definition at line 170 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SKILLEXP_MALEVEL   127

Definition at line 171 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SKILLEXP_MELEVEL   123

Definition at line 167 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SKILLEXP_MENTAL   122

Definition at line 166 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SKILLEXP_PELEVEL   121

Definition at line 165 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SKILLEXP_PERSONAL   120

Definition at line 164 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SKILLEXP_PHLEVEL   125

Definition at line 169 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SKILLEXP_PHYSIQUE   124

Definition at line 168 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SKILLEXP_START   118

Definition at line 160 of file newclient.h.

Referenced by StatsCmd().

#define CS_STAT_SKILLEXP_WILEVEL   129

Definition at line 173 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SKILLEXP_WISDOM   128

Definition at line 172 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SKILLINFO   140

Definition at line 181 of file newclient.h.

Referenced by AddspellCmd(), get_skill_info(), script_process_cmd(), script_watch(), and StatsCmd().

#define CS_STAT_SP   3

Definition at line 108 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SPEED   17

Definition at line 122 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_SPELL_ATTUNE   29

Definition at line 133 of file newclient.h.

Referenced by StatsCmd().

#define CS_STAT_SPELL_DENY   31

Definition at line 135 of file newclient.h.

Referenced by StatsCmd().

#define CS_STAT_SPELL_REPEL   30

Definition at line 134 of file newclient.h.

Referenced by StatsCmd().

#define CS_STAT_STR   5

Definition at line 110 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_TITLE   21

Definition at line 126 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_TURN_UNDEAD   112

Definition at line 152 of file newclient.h.

#define CS_STAT_WC   13

Definition at line 118 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_WEAP_SP   19

Definition at line 124 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_WEIGHT_LIM   26

Definition at line 131 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define CS_STAT_WIS   7

Definition at line 112 of file newclient.h.

Referenced by script_watch(), and StatsCmd().

#define EMI_HASMOREBITS   0x80

Definition at line 302 of file newclient.h.

Referenced by MapExtendedCmd().

#define EMI_NOREDRAW   0x01

Definition at line 294 of file newclient.h.

Referenced by MapExtendedCmd().

#define EMI_SMOOTH   0x02

Definition at line 295 of file newclient.h.

Referenced by MapExtendedCmd().

#define F_APPLIED   0x000F

Definition at line 227 of file newclient.h.

Referenced by get_flags().

#define F_CURSED   0x0800

Definition at line 231 of file newclient.h.

Referenced by get_flags().

#define F_DAMNED   0x1000

Definition at line 232 of file newclient.h.

Referenced by get_flags().

#define F_LOCATION   0x00F0

Definition at line 228 of file newclient.h.

#define F_LOCKED   0x8000

Definition at line 235 of file newclient.h.

Referenced by get_flags().

#define F_MAGIC   0x0400

Definition at line 230 of file newclient.h.

Referenced by get_flags().

#define F_NOPICK   0x4000

Definition at line 234 of file newclient.h.

#define F_OPEN   0x2000

Definition at line 233 of file newclient.h.

Referenced by get_flags().

#define F_UNPAID   0x0200

Definition at line 229 of file newclient.h.

Referenced by get_flags().

#define FACE_COLOR_MASK   0xf

Definition at line 249 of file newclient.h.

Referenced by draw_magic_map().

#define FACE_FLOOR   0x80

Definition at line 247 of file newclient.h.

#define FACE_IS_ANIM   1<<15

Definition at line 268 of file newclient.h.

Referenced by Map2Cmd().

#define FACE_WALL
Value:
0x40    /* Or'd into the color value by the server
                                 * right before sending.
                                 */

Definition at line 248 of file newclient.h.

#define FLOAT_MULTF   100000.0

Definition at line 102 of file newclient.h.

Referenced by draw_stats().

#define FLOAT_MULTI   100000

Definition at line 101 of file newclient.h.

#define MAP2_COORD_OFFSET   15

Definition at line 86 of file newclient.h.

Referenced by Map2Cmd().

#define MAXSOCKBUF   (2+65535+1)

Definition at line 79 of file newclient.h.

Referenced by DoClient(), and main().

#define MAXSOCKRECVBUF   (2+65535+1)

Definition at line 65 of file newclient.h.

#define MAXSOCKSENDBUF   10239

Definition at line 71 of file newclient.h.

#define MSG_SUBTYPE_NONE   0

Definition at line 335 of file newclient.h.

#define MSG_TYPE_ADMIN   8

Definition at line 320 of file newclient.h.

Referenced by init_text_callbacks().

#define MSG_TYPE_ADMIN_DM   4 /* DM related admin actions */

Definition at line 411 of file newclient.h.

#define MSG_TYPE_ADMIN_HISCORE   5 /* Hiscore list */

Definition at line 412 of file newclient.h.

#define MSG_TYPE_ADMIN_LOADSAVE   6 /* load/save operations */

Definition at line 413 of file newclient.h.

#define MSG_TYPE_ADMIN_LOGIN   7 /* login messages/errors */

Definition at line 414 of file newclient.h.

#define MSG_TYPE_ADMIN_NEWS   2

Definition at line 409 of file newclient.h.

Referenced by admin_callback().

#define MSG_TYPE_ADMIN_PLAYER   3 /* Player coming/going/death */

Definition at line 410 of file newclient.h.

#define MSG_TYPE_ADMIN_RULES   1

Definition at line 408 of file newclient.h.

Referenced by admin_callback().

#define MSG_TYPE_ADMIN_VERSION   8 /* version info */

Definition at line 415 of file newclient.h.

#define MSG_TYPE_APPLY   13 /* Applying objects */

Definition at line 326 of file newclient.h.

#define MSG_TYPE_APPLY_BADBODY   7 /* Don't have body to use object */

Definition at line 518 of file newclient.h.

#define MSG_TYPE_APPLY_BUILD   9 /* Build related actions */

Definition at line 520 of file newclient.h.

#define MSG_TYPE_APPLY_CURSED   5 /* Applied a cursed object (BAD) */

Definition at line 516 of file newclient.h.

#define MSG_TYPE_APPLY_ERROR   1

Definition at line 512 of file newclient.h.

#define MSG_TYPE_APPLY_FAILURE   4 /* Apply OK, but no/bad result */

Definition at line 515 of file newclient.h.

#define MSG_TYPE_APPLY_PROHIBITION   8 /* Class/god prohibiiton on obj */

Definition at line 519 of file newclient.h.

#define MSG_TYPE_APPLY_SUCCESS   3 /* Was able to apply object */

Definition at line 514 of file newclient.h.

#define MSG_TYPE_APPLY_TRAP   6 /* Have activated a trap */

Definition at line 517 of file newclient.h.

#define MSG_TYPE_APPLY_UNAPPLY   2 /* Unapply an object */

Definition at line 513 of file newclient.h.

#define MSG_TYPE_ATTACK   14 /* Attack related messges */

Definition at line 327 of file newclient.h.

#define MSG_TYPE_ATTACK_DID_HIT   1 /* Player hit something else */

Definition at line 523 of file newclient.h.

#define MSG_TYPE_ATTACK_DID_KILL   4 /* Player killed something */

Definition at line 526 of file newclient.h.

#define MSG_TYPE_ATTACK_FUMBLE   3 /* Player fumbled attack */

Definition at line 525 of file newclient.h.

#define MSG_TYPE_ATTACK_NOATTACK   7 /* You avoid attacking */

Definition at line 529 of file newclient.h.

#define MSG_TYPE_ATTACK_NOKEY   6 /* Keys are like attacks, so... */

Definition at line 528 of file newclient.h.

#define MSG_TYPE_ATTACK_PET_DIED   5 /* Pet was killed */

Definition at line 527 of file newclient.h.

#define MSG_TYPE_ATTACK_PET_HIT   2 /* Players pet hit something else */

Definition at line 524 of file newclient.h.

#define MSG_TYPE_ATTACK_PUSHED   8 /* Pushed a friendly player */

Definition at line 530 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE   11 /* Changes to attributes (stats, */

Definition at line 323 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_GAIN   1 /* Atacktypes here refer to */

Definition at line 462 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_LOSS   2 /* the player gaining or */

Definition at line 463 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_END   8 /* effects to the player */

Definition at line 477 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_START   7 /* The start/end of bad */

Definition at line 476 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE_GOD   15 /* changing god info */

Definition at line 484 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_END   14 /* good effects to the player */

Definition at line 483 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_START   13 /* Like bad effects, but for */

Definition at line 482 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE_LEVEL_GAIN   11 /* Gaining/losing of levels */

Definition at line 480 of file newclient.h.

Definition at line 481 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE_MOVE   5 /* A change in the movement */

Definition at line 473 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE_PROTECTION_GAIN   3 /* Protections in this */

Definition at line 467 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE_PROTECTION_LOSS   4 /* context are pretty */

Definition at line 468 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE_RACE   6 /* Racial related changes */

Definition at line 475 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE_STAT_GAIN   9 /* Start/end of stat changes */

Definition at line 478 of file newclient.h.

Definition at line 479 of file newclient.h.

#define MSG_TYPE_BOOK   1

Definition at line 313 of file newclient.h.

Referenced by init_text_callbacks().

#define MSG_TYPE_BOOK_CLASP_1   1

Definition at line 338 of file newclient.h.

#define MSG_TYPE_BOOK_CLASP_2   2

Definition at line 339 of file newclient.h.

#define MSG_TYPE_BOOK_ELEGANT_1   3

Definition at line 340 of file newclient.h.

#define MSG_TYPE_BOOK_ELEGANT_2   4

Definition at line 341 of file newclient.h.

#define MSG_TYPE_BOOK_QUARTO_1   5

Definition at line 342 of file newclient.h.

#define MSG_TYPE_BOOK_QUARTO_2   6

Definition at line 343 of file newclient.h.

Definition at line 344 of file newclient.h.

Definition at line 345 of file newclient.h.

#define MSG_TYPE_BOOK_SPELL_PYRO   9

Definition at line 346 of file newclient.h.

Definition at line 347 of file newclient.h.

Definition at line 348 of file newclient.h.

#define MSG_TYPE_CARD   2

Definition at line 314 of file newclient.h.

#define MSG_TYPE_CARD_ELEGANT_1   4

Definition at line 354 of file newclient.h.

#define MSG_TYPE_CARD_ELEGANT_2   5

Definition at line 355 of file newclient.h.

#define MSG_TYPE_CARD_ELEGANT_3   6

Definition at line 356 of file newclient.h.

#define MSG_TYPE_CARD_MONEY_1   10

Definition at line 360 of file newclient.h.

#define MSG_TYPE_CARD_MONEY_2   11

Definition at line 361 of file newclient.h.

#define MSG_TYPE_CARD_MONEY_3   12

Definition at line 362 of file newclient.h.

#define MSG_TYPE_CARD_SIMPLE_1   1

Definition at line 351 of file newclient.h.

#define MSG_TYPE_CARD_SIMPLE_2   2

Definition at line 352 of file newclient.h.

#define MSG_TYPE_CARD_SIMPLE_3   3

Definition at line 353 of file newclient.h.

#define MSG_TYPE_CARD_STRANGE_1   7

Definition at line 357 of file newclient.h.

#define MSG_TYPE_CARD_STRANGE_2   8

Definition at line 358 of file newclient.h.

#define MSG_TYPE_CARD_STRANGE_3   9

Definition at line 359 of file newclient.h.

#define MSG_TYPE_COMMAND   10 /* Responses to commands, eg, who */

Definition at line 322 of file newclient.h.

#define MSG_TYPE_COMMAND_BODY   3

Definition at line 435 of file newclient.h.

#define MSG_TYPE_COMMAND_CONFIG   7 /* bowmode, petmode, applymode */

Definition at line 439 of file newclient.h.

#define MSG_TYPE_COMMAND_DEBUG   10 /* Various debug type commands */

Definition at line 442 of file newclient.h.

#define MSG_TYPE_COMMAND_DM   17 /* DM related commands */

Definition at line 449 of file newclient.h.

#define MSG_TYPE_COMMAND_ERROR   11 /* Bad syntax/can't use command */

Definition at line 443 of file newclient.h.

#define MSG_TYPE_COMMAND_EXAMINE   14 /* Player examining something */

Definition at line 446 of file newclient.h.

#define MSG_TYPE_COMMAND_FAILURE   13 /* Failed result from command */

Definition at line 445 of file newclient.h.

#define MSG_TYPE_COMMAND_HELP   16 /* Help related information */

Definition at line 448 of file newclient.h.

#define MSG_TYPE_COMMAND_INFO   8 /* Generic info - resistances, etc */

Definition at line 440 of file newclient.h.

#define MSG_TYPE_COMMAND_INVENTORY   15 /* Inventory listing */

Definition at line 447 of file newclient.h.

#define MSG_TYPE_COMMAND_MALLOC   4

Definition at line 436 of file newclient.h.

#define MSG_TYPE_COMMAND_MAPS   2

Definition at line 434 of file newclient.h.

#define MSG_TYPE_COMMAND_NEWPLAYER   18 /* Create a new character - not */

Definition at line 450 of file newclient.h.

#define MSG_TYPE_COMMAND_QUESTS   9 /* Quest info */

Definition at line 441 of file newclient.h.

Definition at line 438 of file newclient.h.

#define MSG_TYPE_COMMAND_SUCCESS   12 /* Successful result from command */

Definition at line 444 of file newclient.h.

#define MSG_TYPE_COMMAND_WEATHER   5

Definition at line 437 of file newclient.h.

#define MSG_TYPE_COMMAND_WHO   1

Definition at line 433 of file newclient.h.

#define MSG_TYPE_COMMUNICATION   15 /* Communication between players */

Definition at line 328 of file newclient.h.

#define MSG_TYPE_COMMUNICATION_CHAT   8 /* Party message */

Definition at line 539 of file newclient.h.

#define MSG_TYPE_COMMUNICATION_EMOTE   5 /* Player emotes */

Definition at line 536 of file newclient.h.

#define MSG_TYPE_COMMUNICATION_ME   3 /* Player me's a message */

Definition at line 534 of file newclient.h.

#define MSG_TYPE_COMMUNICATION_PARTY   6 /* Party message */

Definition at line 537 of file newclient.h.

#define MSG_TYPE_COMMUNICATION_RANDOM   1 /* Random event (coin toss) */

Definition at line 532 of file newclient.h.

#define MSG_TYPE_COMMUNICATION_SAY   2 /* Player says something */

Definition at line 533 of file newclient.h.

#define MSG_TYPE_COMMUNICATION_SHOUT   7 /* Party message */

Definition at line 538 of file newclient.h.

#define MSG_TYPE_COMMUNICATION_TELL   4 /* Player tells something */

Definition at line 535 of file newclient.h.

#define MSG_TYPE_DIALOG   6

Definition at line 318 of file newclient.h.

#define MSG_TYPE_DIALOG_ALTAR   2 /* A message from an altar */

Definition at line 402 of file newclient.h.

#define MSG_TYPE_DIALOG_MAGIC_MOUTH   3 /* Magic Mouth/Magic Ear */

Definition at line 403 of file newclient.h.

#define MSG_TYPE_DIALOG_NPC   1 /* A message from the npc */

Definition at line 401 of file newclient.h.

#define MSG_TYPE_ITEM   17 /* Item related information */

Definition at line 330 of file newclient.h.

#define MSG_TYPE_ITEM_ADD   2 /* Item added to inv */

Definition at line 553 of file newclient.h.

#define MSG_TYPE_ITEM_CHANGE   3 /* Item has changed in some way */

Definition at line 554 of file newclient.h.

#define MSG_TYPE_ITEM_INFO   3 /* Information related to an item */

Definition at line 555 of file newclient.h.

#define MSG_TYPE_ITEM_REMOVE   1 /* Item removed from inv */

Definition at line 552 of file newclient.h.

#define MSG_TYPE_LAST   20

Definition at line 333 of file newclient.h.

Referenced by add_to_textbuf(), info_get_styles(), and info_init().

#define MSG_TYPE_MISC   18 /* Messages that don't go anyplace else */

Definition at line 331 of file newclient.h.

#define MSG_TYPE_MONUMENT   5

Definition at line 317 of file newclient.h.

Definition at line 393 of file newclient.h.

Definition at line 394 of file newclient.h.

Definition at line 395 of file newclient.h.

Definition at line 390 of file newclient.h.

Definition at line 391 of file newclient.h.

Definition at line 392 of file newclient.h.

#define MSG_TYPE_MONUMENT_STONE_1   1

Definition at line 387 of file newclient.h.

#define MSG_TYPE_MONUMENT_STONE_2   2

Definition at line 388 of file newclient.h.

#define MSG_TYPE_MONUMENT_STONE_3   3

Definition at line 389 of file newclient.h.

#define MSG_TYPE_MONUMENT_WALL_1   10

Definition at line 396 of file newclient.h.

#define MSG_TYPE_MONUMENT_WALL_2   11

Definition at line 397 of file newclient.h.

#define MSG_TYPE_MONUMENT_WALL_3   12

Definition at line 398 of file newclient.h.

#define MSG_TYPE_MOTD   7

Definition at line 319 of file newclient.h.

Referenced by init_text_callbacks().

#define MSG_TYPE_PAPER   3

Definition at line 315 of file newclient.h.

#define MSG_TYPE_PAPER_ENVELOPE_1   8

Definition at line 372 of file newclient.h.

#define MSG_TYPE_PAPER_ENVELOPE_2   9

Definition at line 373 of file newclient.h.

Definition at line 370 of file newclient.h.

Definition at line 371 of file newclient.h.

Definition at line 368 of file newclient.h.

Definition at line 369 of file newclient.h.

#define MSG_TYPE_PAPER_NOTE_1   1

Definition at line 365 of file newclient.h.

#define MSG_TYPE_PAPER_NOTE_2   2

Definition at line 366 of file newclient.h.

#define MSG_TYPE_PAPER_NOTE_3   3

Definition at line 367 of file newclient.h.

#define MSG_TYPE_PAPER_SCROLL_MAGIC   14

Definition at line 378 of file newclient.h.

#define MSG_TYPE_PAPER_SCROLL_NEW_1   12

Definition at line 376 of file newclient.h.

#define MSG_TYPE_PAPER_SCROLL_NEW_2   13

Definition at line 377 of file newclient.h.

#define MSG_TYPE_PAPER_SCROLL_OLD_1   10

Definition at line 374 of file newclient.h.

#define MSG_TYPE_PAPER_SCROLL_OLD_2   11

Definition at line 375 of file newclient.h.

#define MSG_TYPE_SHOP   9

Definition at line 321 of file newclient.h.

#define MSG_TYPE_SHOP_LISTING   1 /* Shop listings - inventory, */

Definition at line 422 of file newclient.h.

#define MSG_TYPE_SHOP_MISC   4 /* Random messages */

Definition at line 427 of file newclient.h.

#define MSG_TYPE_SHOP_PAYMENT   2 /* Messages about payment, lack */

Definition at line 424 of file newclient.h.

#define MSG_TYPE_SHOP_SELL   3 /* Messages about selling items */

Definition at line 426 of file newclient.h.

#define MSG_TYPE_SIGN   4

Definition at line 316 of file newclient.h.

Referenced by init_text_callbacks().

#define MSG_TYPE_SIGN_BASIC   1

Definition at line 381 of file newclient.h.

#define MSG_TYPE_SIGN_DIR_BOTH   4

Definition at line 384 of file newclient.h.

#define MSG_TYPE_SIGN_DIR_LEFT   2

Definition at line 382 of file newclient.h.

#define MSG_TYPE_SIGN_DIR_RIGHT   3

Definition at line 383 of file newclient.h.

#define MSG_TYPE_SKILL   12 /* Messages related to using skills */

Definition at line 325 of file newclient.h.

#define MSG_TYPE_SKILL_ERROR   2 /* Doing something wrong */

Definition at line 498 of file newclient.h.

#define MSG_TYPE_SKILL_FAILURE   4 /* Failure in using skill */

Definition at line 500 of file newclient.h.

#define MSG_TYPE_SKILL_LIST   6 /* List of skills */

Definition at line 502 of file newclient.h.

#define MSG_TYPE_SKILL_MISSING   1 /* Don't have the skill */

Definition at line 497 of file newclient.h.

#define MSG_TYPE_SKILL_PRAY   5 /* Praying related messages */

Definition at line 501 of file newclient.h.

#define MSG_TYPE_SKILL_SUCCESS   3 /* Successfully used skill */

Definition at line 499 of file newclient.h.

#define MSG_TYPE_SPELL   16 /* Spell related info */

Definition at line 329 of file newclient.h.

#define MSG_TYPE_SPELL_END   4 /* A spell ends */

Definition at line 544 of file newclient.h.

#define MSG_TYPE_SPELL_ERROR   6 /* Spell failure messages */

Definition at line 546 of file newclient.h.

#define MSG_TYPE_SPELL_FAILURE   3 /* Spell failure messages */

Definition at line 543 of file newclient.h.

#define MSG_TYPE_SPELL_HEAL   1 /* Healing related spells */

Definition at line 541 of file newclient.h.

#define MSG_TYPE_SPELL_INFO   9 /* random info about spell, not */

Definition at line 549 of file newclient.h.

#define MSG_TYPE_SPELL_PERCEIVE_SELF   7 /* Perceive self messages */

Definition at line 547 of file newclient.h.

#define MSG_TYPE_SPELL_PET   2 /* Pet related messages */

Definition at line 542 of file newclient.h.

#define MSG_TYPE_SPELL_SUCCESS   5 /* Spell succeeded messages */

Definition at line 545 of file newclient.h.

#define MSG_TYPE_SPELL_TARGET   8 /* Target of non attack spell */

Definition at line 548 of file newclient.h.

#define MSG_TYPE_VICTIM   19 /* Something bad is happening to the player */

Definition at line 332 of file newclient.h.

#define MSG_TYPE_VICTIM_DIED   5 /* Player died! */

Definition at line 565 of file newclient.h.

#define MSG_TYPE_VICTIM_SPELL   4 /* Someone cast a bad spell on the player */

Definition at line 564 of file newclient.h.

#define MSG_TYPE_VICTIM_STEAL   3 /* Someone tried to steal from the player */

Definition at line 563 of file newclient.h.

#define MSG_TYPE_VICTIM_SWAMP   1 /* Player is sinking in a swamp */

Definition at line 561 of file newclient.h.

#define MSG_TYPE_VICTIM_WAS_HIT   2 /* Player was hit by something */

Definition at line 562 of file newclient.h.

#define MSG_TYPE_VICTIM_WAS_PUSHED   6 /* Player was pushed or attempted pushed */

Definition at line 566 of file newclient.h.

#define NDI_ALL   0x200 /* Inform all players of this message */

Definition at line 223 of file newclient.h.

#define NDI_BLACK   0
#define NDI_BLUE   5 /* Actually, it is Dodger Blue */
#define NDI_BROWN   10 /* Sienna */

Definition at line 212 of file newclient.h.

#define NDI_COLOR_MASK   0xff /* Gives lots of room for expansion - we are */

Definition at line 217 of file newclient.h.

#define NDI_DK_ORANGE   6 /* DarkOrange2 */

Definition at line 207 of file newclient.h.

#define NDI_GOLD   11

Definition at line 213 of file newclient.h.

Referenced by negotiate_connection().

#define NDI_GREEN   7 /* SeaGreen */

Definition at line 208 of file newclient.h.

Referenced by update_spell_list().

#define NDI_GREY   9

Definition at line 211 of file newclient.h.

Referenced by draw_info().

#define NDI_LT_GREEN   8 /* DarkSeaGreen, which is actually paler */

Definition at line 209 of file newclient.h.

#define NDI_MAX_COLOR   12 /* Last value in */

Definition at line 216 of file newclient.h.

#define NDI_NAVY   2

Definition at line 203 of file newclient.h.

Referenced by highlight_item().

#define NDI_ORANGE   4

Definition at line 205 of file newclient.h.

Referenced by update_spell_list().

#define NDI_RED   3
#define NDI_TAN   12 /* Khaki */

Definition at line 214 of file newclient.h.

#define NDI_UNIQUE   0x100 /* Print this out immediately, don't buffer */

Definition at line 222 of file newclient.h.

#define NDI_WHITE   1

Definition at line 202 of file newclient.h.

Referenced by configure_event(), draw_info(), draw_prompt(), and map_init().

#define SF_FIREON   0x01

Definition at line 187 of file newclient.h.

Referenced by draw_message_window().

#define SF_RUNON   0x02

Definition at line 188 of file newclient.h.

Referenced by draw_message_window().

#define SOUND_NORMAL   0

Definition at line 265 of file newclient.h.

Referenced by play_sound().

#define SOUND_SPELL   1

Definition at line 266 of file newclient.h.

Referenced by play_sound().

#define UPD_ANIM   0x20

Definition at line 256 of file newclient.h.

Referenced by UpdateItemCmd().

#define UPD_ANIMSPEED   0x40

Definition at line 257 of file newclient.h.

Referenced by UpdateItemCmd().

#define UPD_FACE   0x08

Definition at line 254 of file newclient.h.

Referenced by UpdateItemCmd().

#define UPD_FLAGS   0x02

Definition at line 252 of file newclient.h.

Referenced by UpdateItemCmd().

#define UPD_LOCATION   0x01

Definition at line 251 of file newclient.h.

Referenced by UpdateItemCmd().

#define UPD_NAME   0x10

Definition at line 255 of file newclient.h.

Referenced by UpdateItemCmd().

#define UPD_NROF   0x80

Definition at line 258 of file newclient.h.

Referenced by UpdateItemCmd().

#define UPD_SP_DAMAGE   0x04

Definition at line 263 of file newclient.h.

Referenced by UpdspellCmd().

#define UPD_SP_GRACE   0x02

Definition at line 262 of file newclient.h.

Referenced by UpdspellCmd().

#define UPD_SP_MANA   0x01

Definition at line 261 of file newclient.h.

Referenced by UpdspellCmd().

#define UPD_WEIGHT   0x04

Definition at line 253 of file newclient.h.

Referenced by UpdateItemCmd().


Typedef Documentation

typedef struct CS_Stats CS_Stats
typedef struct SockList SockList

Enumeration Type Documentation

anonymous enum
Enumerator:
a_none 
a_readied 
a_wielded 
a_worn 
a_active 
a_applied 

Definition at line 226 of file newclient.h.


Variable Documentation

Referenced by SockList_ReadPacket().

Referenced by SockList_ReadPacket().