Crossfire Server, Branches 1.12
R18729
|
#include <stddef.h>
Go to the source code of this file.
Data Structures | |
struct | CS_Stats |
struct | SockList |
Macros | |
#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 |
#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_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_BLESSED 0x0100 |
#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_ENCODE(x, y, flags) ((((x)+MAP2_COORD_OFFSET)&0x3f)<<10|(((y)+MAP2_COORD_OFFSET)&0x3f)<<4|(flags&0x0f)) |
#define | MAP2_COORD_OFFSET 15 |
#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 messages */ |
#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_MISS 9 /* attack didn't hit */ |
#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 |
#define | NDI_ALL_DMS 0x400 |
#define | NDI_BLACK 0 |
#define | NDI_BLUE 5 |
#define | NDI_BROWN 10 |
#define | NDI_COLOR_MASK 0xff |
#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_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_NORMAL 0 |
#define | SOUND_SPELL 1 |
#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 |
Defines various flags that both the new client and newserver uses. These should never be changed, only expanded. Changing them will likely cause all old clients to not work properly. While called newclient, it is really 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
Ideally, this file should be the same between the server and the client. However, this often drifts apart because of a value that is only useful on the client and server. Generally, it isn't a problem to have a few extra #defines if this lets them stay in sync.
Given this file contains the constants that dictate what is sent between the server and client, keeping them in sync makes doing changes easier - modify this file in one place, copy it over.
Definition in file newclient.h.
#define ANIM_FLAGS_MASK 0x6000 |
Definition at line 277 of file newclient.h.
#define ANIM_MASK 0x1fff |
Definition at line 280 of file newclient.h.
#define ANIM_RANDOM 1<<13 |
Definition at line 273 of file newclient.h.
Referenced by map2_add_ob().
#define ANIM_SYNC 2<<13 |
Definition at line 274 of file newclient.h.
Referenced by map2_add_ob().
#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 set_face_mode_cmd().
#define CF_FACE_NONE 0 |
Definition at line 237 of file newclient.h.
Referenced by set_face_mode_cmd().
#define CF_FACE_PNG 3 |
Definition at line 240 of file newclient.h.
Referenced by set_face_mode_cmd().
#define CF_FACE_XPM 2 |
Definition at line 239 of file newclient.h.
#define CS_NUM_SKILLS 50 |
Definition at line 171 of file newclient.h.
#define CS_QUERY_HIDEINPUT 0x4 |
Hide input being entered.
Definition at line 78 of file newclient.h.
Referenced by command_passwd(), confirm_password(), get_party_password(), get_password(), and receive_player_password().
#define CS_QUERY_SINGLECHAR 0x2 |
Single character response expected.
Definition at line 77 of file newclient.h.
Referenced by command_quit(), key_change_class(), key_roll_stat(), play_again(), and roll_again().
#define CS_QUERY_YESNO 0x1 |
Yes/no question.
Definition at line 76 of file newclient.h.
#define CS_SAY_GSAY 0x4 |
Text is group say command.
Definition at line 82 of file newclient.h.
#define CS_SAY_NORMAL 0x1 |
Normal say command.
Definition at line 80 of file newclient.h.
#define CS_SAY_SHOUT 0x2 |
Text is shouted.
Definition at line 81 of file newclient.h.
#define CS_STAT_AC 14 |
Definition at line 107 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_ARMOUR 16 |
Definition at line 109 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_CHA 10 |
Definition at line 103 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_CON 9 |
Definition at line 102 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_DAM 15 |
Definition at line 108 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_DEX 8 |
Definition at line 101 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_EXP 11 |
Definition at line 104 of file newclient.h.
#define CS_STAT_EXP64 28 |
Definition at line 120 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_FLAGS 25 |
Definition at line 118 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_FOOD 18 |
Definition at line 111 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_GRACE 23 |
Definition at line 116 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_HP 1 |
Definition at line 94 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_INT 6 |
Definition at line 99 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_LEVEL 12 |
Definition at line 105 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_MAXGRACE 24 |
Definition at line 117 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_MAXHP 2 |
Definition at line 95 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_MAXSP 4 |
Definition at line 97 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_POW 22 |
Definition at line 115 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_RANGE 20 |
Definition at line 113 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_RES_ACID 106 |
Definition at line 134 of file newclient.h.
#define CS_STAT_RES_BLIND 117 |
Definition at line 145 of file newclient.h.
#define CS_STAT_RES_COLD 104 |
Definition at line 132 of file newclient.h.
#define CS_STAT_RES_CONF 105 |
Definition at line 133 of file newclient.h.
#define CS_STAT_RES_DEATH 115 |
Definition at line 143 of file newclient.h.
#define CS_STAT_RES_DEPLETE 114 |
Definition at line 142 of file newclient.h.
#define CS_STAT_RES_DRAIN 107 |
Definition at line 135 of file newclient.h.
#define CS_STAT_RES_ELEC 103 |
Definition at line 131 of file newclient.h.
#define CS_STAT_RES_FEAR 113 |
Definition at line 141 of file newclient.h.
#define CS_STAT_RES_FIRE 102 |
Definition at line 130 of file newclient.h.
#define CS_STAT_RES_GHOSTHIT 108 |
Definition at line 136 of file newclient.h.
#define CS_STAT_RES_HOLYWORD 116 |
Definition at line 144 of file newclient.h.
#define CS_STAT_RES_MAG 101 |
Definition at line 129 of file newclient.h.
#define CS_STAT_RES_PARA 111 |
Definition at line 139 of file newclient.h.
#define CS_STAT_RES_PHYS 100 |
Definition at line 128 of file newclient.h.
#define CS_STAT_RES_POISON 109 |
Definition at line 137 of file newclient.h.
#define CS_STAT_RES_SLOW 110 |
Definition at line 138 of file newclient.h.
#define CS_STAT_RESIST_END 117 |
Definition at line 127 of file newclient.h.
#define CS_STAT_RESIST_START 100 |
Definition at line 126 of file newclient.h.
#define CS_STAT_SKILLEXP_AGILITY 118 |
Definition at line 150 of file newclient.h.
#define CS_STAT_SKILLEXP_AGLEVEL 119 |
Definition at line 151 of file newclient.h.
#define CS_STAT_SKILLEXP_END 129 |
Definition at line 149 of file newclient.h.
#define CS_STAT_SKILLEXP_MAGIC 126 |
Definition at line 158 of file newclient.h.
#define CS_STAT_SKILLEXP_MALEVEL 127 |
Definition at line 159 of file newclient.h.
#define CS_STAT_SKILLEXP_MELEVEL 123 |
Definition at line 155 of file newclient.h.
#define CS_STAT_SKILLEXP_MENTAL 122 |
Definition at line 154 of file newclient.h.
#define CS_STAT_SKILLEXP_PELEVEL 121 |
Definition at line 153 of file newclient.h.
#define CS_STAT_SKILLEXP_PERSONAL 120 |
Definition at line 152 of file newclient.h.
#define CS_STAT_SKILLEXP_PHLEVEL 125 |
Definition at line 157 of file newclient.h.
#define CS_STAT_SKILLEXP_PHYSIQUE 124 |
Definition at line 156 of file newclient.h.
#define CS_STAT_SKILLEXP_START 118 |
Definition at line 148 of file newclient.h.
#define CS_STAT_SKILLEXP_WILEVEL 129 |
Definition at line 161 of file newclient.h.
#define CS_STAT_SKILLEXP_WISDOM 128 |
Definition at line 160 of file newclient.h.
#define CS_STAT_SKILLINFO 140 |
CS_STAT_SKILLINFO is used as the starting index point. Skill number->name map is generated dynamically for the client, so a bunch of entries will be used here. 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 170 of file newclient.h.
Referenced by append_spell(), esrv_update_stats(), and send_skill_info().
#define CS_STAT_SP 3 |
Definition at line 96 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_SPEED 17 |
Definition at line 110 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_SPELL_ATTUNE 29 |
Definition at line 121 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_SPELL_DENY 31 |
Definition at line 123 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_SPELL_REPEL 30 |
Definition at line 122 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_STR 5 |
Definition at line 98 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_TITLE 21 |
Definition at line 114 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_TURN_UNDEAD 112 |
Definition at line 140 of file newclient.h.
#define CS_STAT_WC 13 |
Definition at line 106 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_WEAP_SP 19 |
Definition at line 112 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_WEIGHT_LIM 26 |
Definition at line 119 of file newclient.h.
Referenced by esrv_update_stats().
#define CS_STAT_WIS 7 |
Definition at line 100 of file newclient.h.
Referenced by esrv_update_stats().
#define EMI_HASMOREBITS 0x80 |
Definition at line 306 of file newclient.h.
#define EMI_NOREDRAW 0x01 |
Definition at line 298 of file newclient.h.
#define EMI_SMOOTH 0x02 |
Definition at line 299 of file newclient.h.
#define F_APPLIED 0x000F |
Definition at line 226 of file newclient.h.
#define F_BLESSED 0x0100 |
Definition at line 235 of file newclient.h.
Referenced by query_flags().
#define F_CURSED 0x0800 |
Definition at line 230 of file newclient.h.
Referenced by query_flags().
#define F_DAMNED 0x1000 |
Definition at line 231 of file newclient.h.
Referenced by query_flags().
#define F_LOCATION 0x00F0 |
Definition at line 227 of file newclient.h.
#define F_LOCKED 0x8000 |
Definition at line 234 of file newclient.h.
Referenced by query_flags().
#define F_MAGIC 0x0400 |
Definition at line 229 of file newclient.h.
Referenced by query_flags().
#define F_NOPICK 0x4000 |
Definition at line 233 of file newclient.h.
Referenced by add_object_to_socklist().
#define F_OPEN 0x2000 |
Definition at line 232 of file newclient.h.
Referenced by query_flags().
#define F_UNPAID 0x0200 |
Definition at line 228 of file newclient.h.
Referenced by query_flags().
#define FACE_COLOR_MASK 0xf |
Definition at line 252 of file newclient.h.
#define FACE_FLOOR 0x80 |
Used in the new_face structure on the magicmap field. Low bits are color information. For now, only high bit information we need is floor information.
Definition at line 248 of file newclient.h.
Referenced by draw_magic_map(), magic_mapping_mark(), magic_mapping_mark_recursive(), read_bmap_names(), and read_face_data().
#define FACE_IS_ANIM 1<<15 |
Definition at line 272 of file newclient.h.
#define FACE_WALL |
Definition at line 249 of file newclient.h.
Referenced by magic_mapping_mark(), and magic_mapping_mark_recursive().
#define FLOAT_MULTF 100000.0 |
Definition at line 90 of file newclient.h.
#define FLOAT_MULTI 100000 |
These are multiplication values that should be used when changing floats to ints, and vice version. MULTI is integer representatin (float to int), MULTF is float, for going from int to float.
Definition at line 89 of file newclient.h.
#define MAP2_COORD_ENCODE | ( | x, | |
y, | |||
flags | |||
) | ((((x)+MAP2_COORD_OFFSET)&0x3f)<<10|(((y)+MAP2_COORD_OFFSET)&0x3f)<<4|(flags&0x0f)) |
Encodes a (x, y) pair suitable for map2 parameters. The coordinates must be between [-MAP2_COORD_OFFSET..63-MAP2_COORD_OFFSET]. The flags value must be between [0..15].
x | the x-coordinate |
y | the y-coordinate |
flags | the flags value |
Definition at line 74 of file newclient.h.
Referenced by check_space_for_heads(), and draw_client_map2().
#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 63 of file newclient.h.
#define MSG_SUBTYPE_NONE 0 |
Definition at line 339 of file newclient.h.
Referenced by action_makes_visible(), cfapi_map_message(), cfapi_player_message(), change_map_light(), command_afk(), command_brace(), command_debug(), command_dumpbelow(), command_explore(), command_kill_pets(), command_language(), command_listen(), command_output_count(), command_output_sync(), command_players(), command_save(), command_showpets(), command_sound(), command_whereabouts(), command_wizcast(), command_wizpass(), current_map_info(), current_region_info(), display_motd(), move_marker(), pet_move(), receive_player_name(), receive_player_password(), and trigger_connected().
#define MSG_TYPE_ADMIN 8 |
Definition at line 324 of file newclient.h.
Referenced by apply_savebed(), check_login(), check_name(), check_score(), command_arrest(), command_banish(), command_follow(), command_freeze(), command_kick(), command_nowiz(), command_summon(), command_teleport(), command_toggle_shout(), deep_swamp_type_process(), display_high_score(), do_wizard_dm(), do_wizard_hide(), emergency_save(), key_confirm_quit(), kill_object(), leave(), process_players1(), receive_play_again(), save_player(), send_news(), send_rules(), start_info(), swap_map(), version(), and wrong_password().
#define MSG_TYPE_ADMIN_DM 4 /* DM related admin actions */ |
Definition at line 415 of file newclient.h.
Referenced by command_arrest(), command_banish(), command_follow(), command_freeze(), command_kick(), command_nowiz(), command_summon(), command_teleport(), command_toggle_shout(), do_wizard_dm(), do_wizard_hide(), and process_players1().
#define MSG_TYPE_ADMIN_HISCORE 5 /* Hiscore list */ |
Definition at line 416 of file newclient.h.
Referenced by check_score(), and display_high_score().
#define MSG_TYPE_ADMIN_LOADSAVE 6 /* load/save operations */ |
Definition at line 417 of file newclient.h.
Referenced by emergency_save(), save_player(), and swap_map().
#define MSG_TYPE_ADMIN_LOGIN 7 /* login messages/errors */ |
Definition at line 418 of file newclient.h.
Referenced by check_login(), check_name(), key_confirm_quit(), receive_play_again(), start_info(), and wrong_password().
#define MSG_TYPE_ADMIN_NEWS 2 |
Definition at line 413 of file newclient.h.
Referenced by send_news().
#define MSG_TYPE_ADMIN_PLAYER 3 /* Player coming/going/death */ |
Definition at line 414 of file newclient.h.
Referenced by apply_savebed(), check_login(), command_nowiz(), deep_swamp_type_process(), do_wizard_hide(), key_confirm_quit(), kill_object(), leave(), and start_info().
#define MSG_TYPE_ADMIN_RULES 1 |
Definition at line 412 of file newclient.h.
Referenced by send_rules().
#define MSG_TYPE_ADMIN_VERSION 8 /* version info */ |
Definition at line 419 of file newclient.h.
Referenced by version().
#define MSG_TYPE_APPLY 13 /* Applying objects */ |
Definition at line 330 of file newclient.h.
Referenced by adjust_sign_msg(), altar_type_move_on(), apply_builder_floor(), apply_builder_item(), apply_builder_remove(), apply_builder_wall(), apply_builder_window(), apply_container(), apply_map_builder(), apply_sign(), apply_special(), armour_improver_type_apply(), book_type_apply(), cast_dust(), cast_spell(), cf_handle_type_apply(), check_race_restrictions(), check_sacrifice(), check_score(), clock_type_apply(), converter_type_move_on(), do_forget_spell(), do_learn_spell(), do_turn(), dragon_eat_flesh(), eat_special_food(), exit_type_apply(), exit_type_move_on(), find_or_create_connection_for_map(), food_type_apply(), hole_type_move_on(), identify_altar_type_move_on(), improve_armour(), improve_weapon(), improve_weapon_stat(), lamp_type_apply(), lighter_type_apply(), manual_apply(), player_apply(), poison_type_apply(), potion_type_apply(), prepare_weapon(), scroll_failure(), scroll_type_apply(), shop_mat_type_move_on(), skillscroll_type_apply(), spellbook_type_apply(), spring_trap(), transport_type_apply(), trapdoor_type_move_on(), treasure_type_apply(), trigger_type_apply(), unapply_for_ob(), unapply_special(), and weapon_improver_type_apply().
#define MSG_TYPE_APPLY_BADBODY 7 /* Don't have body to use object */ |
Definition at line 522 of file newclient.h.
Referenced by apply_special().
#define MSG_TYPE_APPLY_BUILD 9 /* Build related actions */ |
Definition at line 524 of file newclient.h.
Referenced by adjust_sign_msg(), apply_builder_floor(), apply_builder_item(), apply_builder_remove(), apply_builder_wall(), apply_builder_window(), apply_map_builder(), and find_or_create_connection_for_map().
#define MSG_TYPE_APPLY_CURSED 5 /* Applied a cursed object (BAD) */ |
Definition at line 520 of file newclient.h.
Referenced by apply_special(), do_forget_spell(), do_turn(), eat_special_food(), poison_type_apply(), and potion_type_apply().
#define MSG_TYPE_APPLY_ERROR 1 |
Definition at line 516 of file newclient.h.
Referenced by apply_container(), apply_sign(), apply_special(), armour_improver_type_apply(), book_type_apply(), cast_spell(), check_sacrifice(), check_score(), improve_armour(), improve_weapon(), lamp_type_apply(), lighter_type_apply(), manual_apply(), player_apply(), prepare_weapon(), scroll_type_apply(), skillscroll_type_apply(), spellbook_type_apply(), transport_type_apply(), and weapon_improver_type_apply().
#define MSG_TYPE_APPLY_FAILURE 4 /* Apply OK, but no/bad result */ |
Definition at line 519 of file newclient.h.
Referenced by apply_sign(), book_type_apply(), converter_type_move_on(), exit_type_apply(), food_type_apply(), identify_altar_type_move_on(), lamp_type_apply(), lighter_type_apply(), potion_type_apply(), scroll_failure(), scroll_type_apply(), skillscroll_type_apply(), spellbook_type_apply(), treasure_type_apply(), and trigger_type_apply().
#define MSG_TYPE_APPLY_PROHIBITION 8 /* Class/god prohibiiton on obj */ |
Definition at line 523 of file newclient.h.
Referenced by apply_special(), and check_race_restrictions().
#define MSG_TYPE_APPLY_SUCCESS 3 /* Was able to apply object */ |
Definition at line 518 of file newclient.h.
Referenced by altar_type_move_on(), apply_container(), apply_special(), armour_improver_type_apply(), cast_dust(), cf_handle_type_apply(), clock_type_apply(), do_learn_spell(), do_turn(), dragon_eat_flesh(), eat_special_food(), exit_type_apply(), food_type_apply(), identify_altar_type_move_on(), improve_weapon(), improve_weapon_stat(), lighter_type_apply(), potion_type_apply(), scroll_type_apply(), shop_mat_type_move_on(), skillscroll_type_apply(), spellbook_type_apply(), transport_type_apply(), treasure_type_apply(), trigger_type_apply(), and weapon_improver_type_apply().
#define MSG_TYPE_APPLY_TRAP 6 /* Have activated a trap */ |
Definition at line 521 of file newclient.h.
Referenced by exit_type_move_on(), hole_type_move_on(), spring_trap(), and trapdoor_type_move_on().
#define MSG_TYPE_APPLY_UNAPPLY 2 /* Unapply an object */ |
Definition at line 517 of file newclient.h.
Referenced by apply_container(), apply_special(), transport_type_apply(), unapply_for_ob(), and unapply_special().
#define MSG_TYPE_ATTACK 14 /* Attack related messages */ |
Definition at line 331 of file newclient.h.
Referenced by attack_message(), attack_ob_simple(), blind_living(), blocked_link(), do_skill_attack(), infect_object(), kill_object(), move_player_attack(), player_attack_door(), and poison_living().
#define MSG_TYPE_ATTACK_DID_HIT 1 /* Player hit something else */ |
Definition at line 527 of file newclient.h.
Referenced by attack_message(), blind_living(), do_skill_attack(), infect_object(), and poison_living().
#define MSG_TYPE_ATTACK_DID_KILL 4 /* Player killed something */ |
Definition at line 530 of file newclient.h.
Referenced by kill_object().
#define MSG_TYPE_ATTACK_FUMBLE 3 /* Player fumbled attack */ |
Definition at line 529 of file newclient.h.
Referenced by attack_ob_simple().
#define MSG_TYPE_ATTACK_MISS 9 /* attack didn't hit */ |
Definition at line 535 of file newclient.h.
#define MSG_TYPE_ATTACK_NOATTACK 7 /* You avoid attacking */ |
Definition at line 533 of file newclient.h.
Referenced by move_player_attack().
#define MSG_TYPE_ATTACK_NOKEY 6 /* Keys are like attacks, so... */ |
Definition at line 532 of file newclient.h.
Referenced by blocked_link(), and player_attack_door().
#define MSG_TYPE_ATTACK_PET_DIED 5 /* Pet was killed */ |
Definition at line 531 of file newclient.h.
Referenced by kill_object().
#define MSG_TYPE_ATTACK_PET_HIT 2 /* Players pet hit something else */ |
Definition at line 528 of file newclient.h.
Referenced by attack_message(), and poison_living().
#define MSG_TYPE_ATTACK_PUSHED 8 /* Pushed a friendly player */ |
Definition at line 534 of file newclient.h.
#define MSG_TYPE_ATTRIBUTE 11 /* Changes to attributes (stats, */ |
Definition at line 327 of file newclient.h.
Referenced by become_follower(), change_abil(), check_special_prayers(), confuse_living(), cure_disease(), dragon_ability_gain(), dragon_eat_flesh(), dragon_level_gain(), drain_specific_stat(), god_examines_item(), god_examines_priest(), god_intervention(), hide(), infect_object(), kill_player(), move_symptom(), player_lvl_adj(), poison_living(), poisoning_type_process(), potion_type_apply(), pray_at_altar(), remove_force(), slow_living(), tailor_god_spell(), and worship_forbids_use().
#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_GAIN 1 /* Atacktypes here refer to */ |
Definition at line 466 of file newclient.h.
Referenced by change_abil().
#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_LOSS 2 /* the player gaining or */ |
Definition at line 467 of file newclient.h.
Referenced by change_abil().
#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_END 8 /* effects to the player */ |
Definition at line 481 of file newclient.h.
Referenced by change_abil(), cure_disease(), god_intervention(), kill_player(), poisoning_type_process(), and remove_force().
#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_START 7 /* The start/end of bad */ |
Definition at line 480 of file newclient.h.
Referenced by change_abil(), confuse_living(), infect_object(), move_symptom(), poison_living(), poisoning_type_process(), and slow_living().
#define MSG_TYPE_ATTRIBUTE_GOD 15 /* changing god info */ |
Definition at line 488 of file newclient.h.
Referenced by become_follower(), check_special_prayers(), god_examines_item(), god_examines_priest(), kill_player(), pray_at_altar(), tailor_god_spell(), and worship_forbids_use().
#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_END 14 /* good effects to the player */ |
Definition at line 487 of file newclient.h.
Referenced by change_abil(), and hide().
#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_START 13 /* Like bad effects, but for */ |
Definition at line 486 of file newclient.h.
Referenced by change_abil().
#define MSG_TYPE_ATTRIBUTE_LEVEL_GAIN 11 /* Gaining/losing of levels */ |
Definition at line 484 of file newclient.h.
Referenced by player_lvl_adj().
#define MSG_TYPE_ATTRIBUTE_LEVEL_LOSS 12 |
Definition at line 485 of file newclient.h.
Referenced by player_lvl_adj().
#define MSG_TYPE_ATTRIBUTE_MOVE 5 /* A change in the movement */ |
Definition at line 477 of file newclient.h.
Referenced by change_abil().
#define MSG_TYPE_ATTRIBUTE_PROTECTION_GAIN 3 /* Protections in this */ |
Definition at line 471 of file newclient.h.
Referenced by change_abil(), and dragon_eat_flesh().
#define MSG_TYPE_ATTRIBUTE_PROTECTION_LOSS 4 /* context are pretty */ |
Definition at line 472 of file newclient.h.
Referenced by change_abil().
#define MSG_TYPE_ATTRIBUTE_RACE 6 /* Racial related changes */ |
Definition at line 479 of file newclient.h.
Referenced by change_abil(), dragon_ability_gain(), dragon_eat_flesh(), and dragon_level_gain().
#define MSG_TYPE_ATTRIBUTE_STAT_GAIN 9 /* Start/end of stat changes */ |
Definition at line 482 of file newclient.h.
Referenced by change_abil(), and potion_type_apply().
#define MSG_TYPE_ATTRIBUTE_STAT_LOSS 10 |
Definition at line 483 of file newclient.h.
Referenced by change_abil(), drain_specific_stat(), and kill_player().
#define MSG_TYPE_BOOK 1 |
Definition at line 317 of file newclient.h.
#define MSG_TYPE_BOOK_CLASP_1 1 |
Definition at line 342 of file newclient.h.
#define MSG_TYPE_BOOK_CLASP_2 2 |
Definition at line 343 of file newclient.h.
#define MSG_TYPE_BOOK_ELEGANT_1 3 |
Definition at line 344 of file newclient.h.
#define MSG_TYPE_BOOK_ELEGANT_2 4 |
Definition at line 345 of file newclient.h.
#define MSG_TYPE_BOOK_QUARTO_1 5 |
Definition at line 346 of file newclient.h.
#define MSG_TYPE_BOOK_QUARTO_2 6 |
Definition at line 347 of file newclient.h.
#define MSG_TYPE_BOOK_SPELL_EVOKER 7 |
Definition at line 348 of file newclient.h.
#define MSG_TYPE_BOOK_SPELL_PRAYER 8 |
Definition at line 349 of file newclient.h.
#define MSG_TYPE_BOOK_SPELL_PYRO 9 |
Definition at line 350 of file newclient.h.
#define MSG_TYPE_BOOK_SPELL_SORCERER 10 |
Definition at line 351 of file newclient.h.
#define MSG_TYPE_BOOK_SPELL_SUMMONER 11 |
Definition at line 352 of file newclient.h.
#define MSG_TYPE_CARD 2 |
Definition at line 318 of file newclient.h.
#define MSG_TYPE_CARD_ELEGANT_1 4 |
Definition at line 358 of file newclient.h.
#define MSG_TYPE_CARD_ELEGANT_2 5 |
Definition at line 359 of file newclient.h.
#define MSG_TYPE_CARD_ELEGANT_3 6 |
Definition at line 360 of file newclient.h.
#define MSG_TYPE_CARD_MONEY_1 10 |
Definition at line 364 of file newclient.h.
#define MSG_TYPE_CARD_MONEY_2 11 |
Definition at line 365 of file newclient.h.
#define MSG_TYPE_CARD_MONEY_3 12 |
Definition at line 366 of file newclient.h.
#define MSG_TYPE_CARD_SIMPLE_1 1 |
Definition at line 355 of file newclient.h.
#define MSG_TYPE_CARD_SIMPLE_2 2 |
Definition at line 356 of file newclient.h.
#define MSG_TYPE_CARD_SIMPLE_3 3 |
Definition at line 357 of file newclient.h.
#define MSG_TYPE_CARD_STRANGE_1 7 |
Definition at line 361 of file newclient.h.
#define MSG_TYPE_CARD_STRANGE_2 8 |
Definition at line 362 of file newclient.h.
#define MSG_TYPE_CARD_STRANGE_3 9 |
Definition at line 363 of file newclient.h.
#define MSG_TYPE_COMMAND 10 /* Responses to commands, eg, who */ |
Definition at line 326 of file newclient.h.
Referenced by arch_info(), basic_emote(), change_spell(), check_login(), check_pick(), check_score(), command_abil(), command_addexp(), command_afk(), command_apply(), command_applymode(), command_arrest(), command_banish(), command_body(), command_bowmode(), command_brace(), command_cast_spell(), command_create(), command_debug(), command_diff(), command_drop(), command_dropall(), command_dump(), command_dumpbelow(), command_empty(), command_examine(), command_explore(), command_fire(), command_forget_spell(), command_free(), command_freeze(), command_goto(), command_gsay(), command_help(), command_insert_into(), command_inventory(), command_invisible(), command_kill_pets(), command_language(), command_learn_spell_or_prayer(), command_listen(), command_loadplugin(), command_loadtest(), command_lock_item(), command_mark(), command_mon_aggr(), command_nowiz(), command_output_count(), command_output_sync(), command_overlay_reset(), command_overlay_save(), command_party(), command_party_rejoin(), command_patch(), command_peaceful(), command_petmode(), command_pickup(), command_players(), command_possess(), command_remove(), command_rename_item(), command_reply(), command_reset(), command_resistances(), command_rskill(), command_run(), command_save(), command_search_items(), command_setgod(), command_showpets(), command_sound(), command_speed(), command_stack_clear(), command_stack_list(), command_statistics(), command_stats(), command_strings(), command_style_map_info(), command_summon(), command_take(), command_teleport(), command_tell_all(), command_title(), command_toggle_shout(), command_unloadplugin(), command_use(), command_usekeys(), command_uskill(), command_whereabouts(), command_wimpy(), command_wizcast(), command_wizpass(), current_map_info(), current_region_info(), display_high_score(), display_new_pickup(), display_who_entry(), dm_stack_peek(), dm_stack_pop(), dm_stack_push(), do_tell(), do_wizard_dm(), do_wizard_hide(), drop(), drop_object(), empty_container(), enter_exit(), enter_fixed_template_map(), enter_map(), enter_unique_map(), examine(), examine_monster(), execute_newserver_command(), fire(), fire_bow(), fire_misc_object(), form_party(), get_dm_object(), get_other_player_from_name(), get_spell_by_name(), help_topics(), inventory(), key_change_class(), key_roll_stat(), list_players(), lock_item_cmd(), look_at(), malloc_info(), map_info(), mark_item_cmd(), new_player_cmd(), party_help(), pick_up(), pick_up_object(), plugins_display_list(), print_los(), print_tod(), push_ob(), put_object_in_sack(), receive_party_password(), receive_player_name(), receive_player_password(), recursive_roll(), sack_can_hold(), set_pickup_mode(), show_commands(), show_matching_spells(), swap_stat(), time_info(), trap_disarm(), and trap_see().
#define MSG_TYPE_COMMAND_BODY 3 |
Definition at line 439 of file newclient.h.
Referenced by command_body().
#define MSG_TYPE_COMMAND_CONFIG 7 /* bowmode, petmode, applymode */ |
Definition at line 443 of file newclient.h.
Referenced by command_applymode(), command_bowmode(), command_peaceful(), command_petmode(), command_title(), command_usekeys(), and command_wimpy().
#define MSG_TYPE_COMMAND_DEBUG 10 /* Various debug type commands */ |
Definition at line 446 of file newclient.h.
Referenced by arch_info(), check_pick(), command_loadtest(), plugins_display_list(), print_los(), and time_info().
#define MSG_TYPE_COMMAND_DM 17 /* DM related commands */ |
Definition at line 453 of file newclient.h.
Referenced by command_abil(), command_arrest(), command_banish(), command_create(), command_diff(), command_dump(), command_free(), command_freeze(), command_goto(), command_insert_into(), command_invisible(), command_loadplugin(), command_mon_aggr(), command_nowiz(), command_overlay_reset(), command_patch(), command_reset(), command_speed(), command_stack_clear(), command_stack_list(), command_stats(), command_summon(), command_teleport(), command_toggle_shout(), command_unloadplugin(), dm_stack_peek(), dm_stack_pop(), dm_stack_push(), do_wizard_dm(), and get_dm_object().
#define MSG_TYPE_COMMAND_ERROR 11 /* Bad syntax/can't use command */ |
Definition at line 447 of file newclient.h.
Referenced by basic_emote(), change_spell(), check_score(), command_abil(), command_addexp(), command_apply(), command_arrest(), command_banish(), command_cast_spell(), command_create(), command_diff(), command_drop(), command_dropall(), command_empty(), command_examine(), command_fire(), command_forget_spell(), command_free(), command_freeze(), command_goto(), command_gsay(), command_insert_into(), command_inventory(), command_learn_spell_or_prayer(), command_loadplugin(), command_mark(), command_party(), command_party_rejoin(), command_patch(), command_pickup(), command_possess(), command_remove(), command_rename_item(), command_reply(), command_reset(), command_rskill(), command_run(), command_search_items(), command_setgod(), command_stats(), command_summon(), command_take(), command_teleport(), command_tell_all(), command_toggle_shout(), command_unloadplugin(), command_uskill(), display_high_score(), dm_stack_peek(), dm_stack_pop(), dm_stack_push(), do_tell(), do_wizard_dm(), drop(), drop_object(), execute_newserver_command(), fire(), fire_bow(), fire_misc_object(), get_dm_object(), get_other_player_from_name(), get_spell_by_name(), inventory(), lock_item_cmd(), mark_item_cmd(), new_player_cmd(), pick_up(), pick_up_object(), put_object_in_sack(), receive_party_password(), sack_can_hold(), and show_matching_spells().
#define MSG_TYPE_COMMAND_EXAMINE 14 /* Player examining something */ |
Definition at line 450 of file newclient.h.
Referenced by examine(), examine_monster(), and look_at().
#define MSG_TYPE_COMMAND_FAILURE 13 /* Failed result from command */ |
Definition at line 449 of file newclient.h.
Referenced by command_lock_item(), command_take(), command_use(), enter_exit(), enter_fixed_template_map(), enter_map(), enter_unique_map(), fire_misc_object(), pick_up_object(), push_ob(), put_object_in_sack(), recursive_roll(), and trap_disarm().
#define MSG_TYPE_COMMAND_HELP 16 /* Help related information */ |
Definition at line 452 of file newclient.h.
Referenced by party_help().
#define MSG_TYPE_COMMAND_INFO 8 /* Generic info - resistances, etc */ |
Definition at line 444 of file newclient.h.
Referenced by command_help(), command_resistances(), display_new_pickup(), help_topics(), print_tod(), and show_commands().
#define MSG_TYPE_COMMAND_INVENTORY 15 /* Inventory listing */ |
Definition at line 451 of file newclient.h.
Referenced by inventory().
#define MSG_TYPE_COMMAND_MALLOC 4 |
Definition at line 440 of file newclient.h.
Referenced by malloc_info().
#define MSG_TYPE_COMMAND_MAPS 2 |
Definition at line 438 of file newclient.h.
Referenced by command_style_map_info(), and map_info().
#define MSG_TYPE_COMMAND_NEWPLAYER 18 /* Create a new character - not */ |
Definition at line 454 of file newclient.h.
Referenced by key_change_class(), key_roll_stat(), and swap_stat().
#define MSG_TYPE_COMMAND_QUESTS 9 /* Quest info */ |
Definition at line 445 of file newclient.h.
#define MSG_TYPE_COMMAND_STATISTICS 6 |
Definition at line 442 of file newclient.h.
Referenced by command_statistics().
#define MSG_TYPE_COMMAND_SUCCESS 12 /* Successful result from command */ |
Definition at line 448 of file newclient.h.
Referenced by change_spell(), check_login(), check_pick(), command_cast_spell(), command_mark(), command_overlay_save(), command_party(), command_party_rejoin(), command_rename_item(), command_search_items(), do_wizard_hide(), drop_object(), empty_container(), form_party(), look_at(), mark_item_cmd(), pick_up_object(), put_object_in_sack(), receive_party_password(), recursive_roll(), set_pickup_mode(), show_matching_spells(), trap_disarm(), and trap_see().
#define MSG_TYPE_COMMAND_WEATHER 5 |
Definition at line 441 of file newclient.h.
#define MSG_TYPE_COMMAND_WHO 1 |
Definition at line 437 of file newclient.h.
Referenced by display_who_entry(), and list_players().
#define MSG_TYPE_COMMUNICATION 15 /* Communication between players */ |
Definition at line 332 of file newclient.h.
Referenced by basic_emote(), command_cointoss(), command_me(), command_party(), command_reply(), command_tell_all(), communicate(), do_talk_npc(), do_tell(), and send_party_message().
#define MSG_TYPE_COMMUNICATION_CHAT 8 /* Party message */ |
Definition at line 544 of file newclient.h.
Referenced by command_chat().
#define MSG_TYPE_COMMUNICATION_EMOTE 5 /* Player emotes */ |
Definition at line 541 of file newclient.h.
Referenced by basic_emote().
#define MSG_TYPE_COMMUNICATION_ME 3 /* Player me's a message */ |
Definition at line 539 of file newclient.h.
Referenced by command_me().
#define MSG_TYPE_COMMUNICATION_PARTY 6 /* Party message */ |
Definition at line 542 of file newclient.h.
Referenced by command_party(), and send_party_message().
#define MSG_TYPE_COMMUNICATION_RANDOM 1 /* Random event (coin toss) */ |
Definition at line 537 of file newclient.h.
Referenced by command_cointoss().
#define MSG_TYPE_COMMUNICATION_SAY 2 /* Player says something */ |
Definition at line 538 of file newclient.h.
Referenced by communicate(), and do_talk_npc().
#define MSG_TYPE_COMMUNICATION_SHOUT 7 /* Party message */ |
Definition at line 543 of file newclient.h.
Referenced by command_shout().
#define MSG_TYPE_COMMUNICATION_TELL 4 /* Player tells something */ |
Definition at line 540 of file newclient.h.
Referenced by command_reply(), and do_tell().
#define MSG_TYPE_DIALOG 6 |
Definition at line 322 of file newclient.h.
Referenced by do_talk_npc(), npc_say(), and operate_altar().
#define MSG_TYPE_DIALOG_ALTAR 2 /* A message from an altar */ |
Definition at line 406 of file newclient.h.
Referenced by operate_altar().
#define MSG_TYPE_DIALOG_MAGIC_MOUTH 3 /* Magic Mouth/Magic Ear */ |
Definition at line 407 of file newclient.h.
Referenced by do_talk_npc().
#define MSG_TYPE_DIALOG_NPC 1 /* A message from the npc */ |
Definition at line 405 of file newclient.h.
Referenced by npc_say().
#define MSG_TYPE_ITEM 17 /* Item related information */ |
Definition at line 334 of file newclient.h.
Referenced by attempt_steal(), cast_identify(), do_skill_ident2(), dragon_ability_gain(), find_key(), follower_remove_given_items(), god_enchants_weapon(), god_gives_present(), god_intervention(), improve_weapon_magic(), player_attack_door(), remove_force(), save_life(), and transmute_item_to_flower().
#define MSG_TYPE_ITEM_ADD 2 /* Item added to inv */ |
Definition at line 558 of file newclient.h.
Referenced by dragon_ability_gain(), god_gives_present(), and god_intervention().
#define MSG_TYPE_ITEM_CHANGE 3 /* Item has changed in some way */ |
Definition at line 559 of file newclient.h.
Referenced by god_enchants_weapon(), improve_weapon_magic(), remove_force(), and transmute_item_to_flower().
#define MSG_TYPE_ITEM_INFO 3 /* Information related to an item */ |
Definition at line 560 of file newclient.h.
Referenced by cast_identify(), do_skill_ident2(), find_key(), and god_enchants_weapon().
#define MSG_TYPE_ITEM_REMOVE 1 /* Item removed from inv */ |
Definition at line 557 of file newclient.h.
Referenced by attempt_steal(), follower_remove_given_items(), player_attack_door(), and save_life().
#define MSG_TYPE_LAST 20 |
Definition at line 337 of file newclient.h.
Referenced by command_strings(), and toggle_extended_text_cmd().
#define MSG_TYPE_MISC 18 /* Messages that don't go anyplace else */ |
Definition at line 335 of file newclient.h.
Referenced by action_makes_visible(), cfapi_map_message(), cfapi_player_message(), change_map_light(), move_marker(), and pet_move().
#define MSG_TYPE_MONUMENT 5 |
Definition at line 321 of file newclient.h.
#define MSG_TYPE_MONUMENT_GRAVESTONE_1 7 |
Definition at line 397 of file newclient.h.
#define MSG_TYPE_MONUMENT_GRAVESTONE_2 8 |
Definition at line 398 of file newclient.h.
#define MSG_TYPE_MONUMENT_GRAVESTONE_3 9 |
Definition at line 399 of file newclient.h.
#define MSG_TYPE_MONUMENT_STATUE_1 4 |
Definition at line 394 of file newclient.h.
#define MSG_TYPE_MONUMENT_STATUE_2 5 |
Definition at line 395 of file newclient.h.
#define MSG_TYPE_MONUMENT_STATUE_3 6 |
Definition at line 396 of file newclient.h.
#define MSG_TYPE_MONUMENT_STONE_1 1 |
Definition at line 391 of file newclient.h.
#define MSG_TYPE_MONUMENT_STONE_2 2 |
Definition at line 392 of file newclient.h.
#define MSG_TYPE_MONUMENT_STONE_3 3 |
Definition at line 393 of file newclient.h.
#define MSG_TYPE_MONUMENT_WALL_1 10 |
Definition at line 400 of file newclient.h.
#define MSG_TYPE_MONUMENT_WALL_2 11 |
Definition at line 401 of file newclient.h.
#define MSG_TYPE_MONUMENT_WALL_3 12 |
Definition at line 402 of file newclient.h.
#define MSG_TYPE_MOTD 7 |
Definition at line 323 of file newclient.h.
Referenced by display_motd().
#define MSG_TYPE_PAPER 3 |
Definition at line 319 of file newclient.h.
#define MSG_TYPE_PAPER_ENVELOPE_1 8 |
Definition at line 376 of file newclient.h.
#define MSG_TYPE_PAPER_ENVELOPE_2 9 |
Definition at line 377 of file newclient.h.
#define MSG_TYPE_PAPER_LETTER_NEW_1 6 |
Definition at line 374 of file newclient.h.
#define MSG_TYPE_PAPER_LETTER_NEW_2 7 |
Definition at line 375 of file newclient.h.
#define MSG_TYPE_PAPER_LETTER_OLD_1 4 |
Definition at line 372 of file newclient.h.
#define MSG_TYPE_PAPER_LETTER_OLD_2 5 |
Definition at line 373 of file newclient.h.
#define MSG_TYPE_PAPER_NOTE_1 1 |
Definition at line 369 of file newclient.h.
#define MSG_TYPE_PAPER_NOTE_2 2 |
Definition at line 370 of file newclient.h.
#define MSG_TYPE_PAPER_NOTE_3 3 |
Definition at line 371 of file newclient.h.
#define MSG_TYPE_PAPER_SCROLL_MAGIC 14 |
Definition at line 382 of file newclient.h.
#define MSG_TYPE_PAPER_SCROLL_NEW_1 12 |
Definition at line 380 of file newclient.h.
#define MSG_TYPE_PAPER_SCROLL_NEW_2 13 |
Definition at line 381 of file newclient.h.
#define MSG_TYPE_PAPER_SCROLL_OLD_1 10 |
Definition at line 378 of file newclient.h.
#define MSG_TYPE_PAPER_SCROLL_OLD_2 11 |
Definition at line 379 of file newclient.h.
#define MSG_TYPE_SHOP 9 |
Definition at line 325 of file newclient.h.
Referenced by can_pay(), describe_shop(), get_payment(), sell_item(), shop_inventory_type_apply(), and shop_mat_type_move_on().
#define MSG_TYPE_SHOP_LISTING 1 /* Shop listings - inventory, */ |
Definition at line 426 of file newclient.h.
Referenced by describe_shop(), and shop_inventory_type_apply().
#define MSG_TYPE_SHOP_MISC 4 /* Random messages */ |
Definition at line 431 of file newclient.h.
Referenced by describe_shop(), and shop_mat_type_move_on().
#define MSG_TYPE_SHOP_PAYMENT 2 /* Messages about payment, lack */ |
Definition at line 428 of file newclient.h.
Referenced by can_pay(), and get_payment().
#define MSG_TYPE_SHOP_SELL 3 /* Messages about selling items */ |
Definition at line 430 of file newclient.h.
Referenced by sell_item().
#define MSG_TYPE_SIGN 4 |
Definition at line 320 of file newclient.h.
Referenced by trigger_connected().
#define MSG_TYPE_SIGN_BASIC 1 |
Definition at line 385 of file newclient.h.
#define MSG_TYPE_SIGN_DIR_BOTH 4 |
Definition at line 388 of file newclient.h.
#define MSG_TYPE_SIGN_DIR_LEFT 2 |
Definition at line 386 of file newclient.h.
#define MSG_TYPE_SIGN_DIR_RIGHT 3 |
Definition at line 387 of file newclient.h.
#define MSG_TYPE_SKILL 12 /* Messages related to using skills */ |
Definition at line 329 of file newclient.h.
Referenced by adj_stealchance(), alchemy_failure_effect(), attack_hth(), attack_melee_weapon(), attempt_do_alchemy(), attempt_jump(), attempt_recipe(), attempt_steal(), can_see_enemy(), cast_spell(), command_cast_spell(), command_rskill(), command_throw(), do_harvest(), do_hidden_move(), do_skill(), do_skill_attack(), do_skill_ident2(), do_throw(), find_throw_ob(), find_traps(), god_intervention(), god_removes_curse(), hide(), inscribe_scroll_cmd(), jump(), meditate(), pick_lock(), pray(), show_skills(), singing(), skill_attack(), skill_ident(), use_alchemy(), use_oratory(), use_skill(), write_note(), write_on_item(), and write_scroll().
#define MSG_TYPE_SKILL_ERROR 2 /* Doing something wrong */ |
Definition at line 502 of file newclient.h.
Referenced by attack_hth(), attack_melee_weapon(), attempt_recipe(), do_skill(), do_skill_attack(), do_throw(), find_throw_ob(), hide(), meditate(), pick_lock(), show_skills(), use_alchemy(), write_note(), write_on_item(), and write_scroll().
#define MSG_TYPE_SKILL_FAILURE 4 /* Failure in using skill */ |
Definition at line 504 of file newclient.h.
Referenced by adj_stealchance(), alchemy_failure_effect(), attempt_do_alchemy(), attempt_jump(), attempt_recipe(), attempt_steal(), can_see_enemy(), cast_spell(), do_harvest(), do_hidden_move(), do_throw(), find_throw_ob(), hide(), inscribe_scroll_cmd(), jump(), pick_lock(), singing(), skill_attack(), use_oratory(), write_note(), and write_scroll().
#define MSG_TYPE_SKILL_LIST 6 /* List of skills */ |
Definition at line 506 of file newclient.h.
Referenced by show_skills().
#define MSG_TYPE_SKILL_MISSING 1 /* Don't have the skill */ |
Definition at line 501 of file newclient.h.
Referenced by attempt_do_alchemy(), cast_spell(), command_cast_spell(), command_rskill(), command_throw(), do_skill_attack(), use_skill(), and write_on_item().
#define MSG_TYPE_SKILL_PRAY 5 /* Praying related messages */ |
Definition at line 505 of file newclient.h.
Referenced by god_intervention(), and god_removes_curse().
#define MSG_TYPE_SKILL_SUCCESS 3 /* Successfully used skill */ |
Definition at line 503 of file newclient.h.
Referenced by alchemy_failure_effect(), attempt_jump(), attempt_recipe(), do_skill(), do_skill_ident2(), find_traps(), hide(), meditate(), pick_lock(), pray(), singing(), skill_ident(), use_oratory(), write_note(), and write_scroll().
#define MSG_TYPE_SPELL 16 /* Spell related info */ |
Definition at line 333 of file newclient.h.
Referenced by animate_weapon(), cast_bless(), cast_cause_disease(), cast_change_ability(), cast_change_map_lightlevel(), cast_cone(), cast_consecrate(), cast_create_food(), cast_create_missile(), cast_create_obj(), cast_create_town_portal(), cast_curse(), cast_heal(), cast_identify(), cast_invisible(), cast_item_curse_or_curse(), cast_light(), cast_raise_dead_spell(), cast_smite_spell(), cast_spell(), cast_transfer(), cast_word_of_recall(), charge_mana_effect(), check_spell_expiry(), choose_cult_monster(), create_aura(), create_bomb(), cure_disease(), dimension_door(), dispel_rune(), execute_word_of_recall(), fire_arch_from_position(), follow_owner(), handle_newcs_player(), magic_wall(), move_golem(), peacemaker_type_process(), perceive_self(), polymorph_melt(), prayer_failure(), probe(), recharge(), remove_curse(), resurrect_player(), spell_failure(), summon_golem(), summon_object(), write_mark(), and write_rune().
#define MSG_TYPE_SPELL_END 4 /* A spell ends */ |
Definition at line 549 of file newclient.h.
Referenced by handle_newcs_player().
#define MSG_TYPE_SPELL_ERROR 6 /* Spell failure messages */ |
Definition at line 551 of file newclient.h.
Referenced by animate_weapon(), cast_bless(), cast_change_ability(), cast_cone(), cast_consecrate(), cast_create_missile(), cast_create_town_portal(), cast_light(), cast_spell(), cast_word_of_recall(), create_bomb(), dimension_door(), fire_arch_from_position(), magic_wall(), recharge(), write_mark(), and write_rune().
#define MSG_TYPE_SPELL_FAILURE 3 /* Spell failure messages */ |
Definition at line 548 of file newclient.h.
Referenced by cast_bless(), cast_cause_disease(), cast_change_ability(), cast_change_map_lightlevel(), cast_consecrate(), cast_create_food(), cast_create_town_portal(), cast_curse(), cast_heal(), cast_identify(), cast_invisible(), cast_item_curse_or_curse(), cast_light(), cast_raise_dead_spell(), cast_smite_spell(), cast_spell(), cast_transfer(), choose_cult_monster(), dimension_door(), dispel_rune(), execute_word_of_recall(), magic_wall(), polymorph_melt(), prayer_failure(), probe(), recharge(), remove_curse(), resurrect_player(), spell_failure(), summon_golem(), and summon_object().
#define MSG_TYPE_SPELL_HEAL 1 /* Healing related spells */ |
Definition at line 546 of file newclient.h.
Referenced by cast_heal(), and cure_disease().
#define MSG_TYPE_SPELL_INFO 9 /* random info about spell, not */ |
Definition at line 554 of file newclient.h.
Referenced by cast_create_obj(), cast_spell(), and check_spell_expiry().
#define MSG_TYPE_SPELL_PERCEIVE_SELF 7 /* Perceive self messages */ |
Definition at line 552 of file newclient.h.
Referenced by perceive_self().
#define MSG_TYPE_SPELL_PET 2 /* Pet related messages */ |
Definition at line 547 of file newclient.h.
Referenced by follow_owner(), move_golem(), and summon_golem().
#define MSG_TYPE_SPELL_SUCCESS 5 /* Spell succeeded messages */ |
Definition at line 550 of file newclient.h.
Referenced by cast_bless(), cast_cause_disease(), cast_change_ability(), cast_consecrate(), cast_create_town_portal(), cast_curse(), cast_invisible(), cast_item_curse_or_curse(), cast_smite_spell(), cast_word_of_recall(), create_aura(), dispel_rune(), peacemaker_type_process(), probe(), recharge(), remove_curse(), and resurrect_player().
#define MSG_TYPE_SPELL_TARGET 8 /* Target of non attack spell */ |
Definition at line 553 of file newclient.h.
Referenced by cast_bless(), and charge_mana_effect().
#define MSG_TYPE_VICTIM 19 /* Something bad is happening to the player */ |
Definition at line 336 of file newclient.h.
Referenced by apply_special(), attack_message(), attack_ob_simple(), attempt_steal(), cast_curse(), charge_mana_effect(), deep_swamp_type_move_on(), deep_swamp_type_process(), do_skill_attack(), gate_type_process(), hit_with_one_attacktype(), kill_player(), push_ob(), and swap_random_stats().
#define MSG_TYPE_VICTIM_DIED 5 /* Player died! */ |
Definition at line 570 of file newclient.h.
Referenced by kill_player().
#define MSG_TYPE_VICTIM_SPELL 4 /* Someone cast a bad spell on the player */ |
Definition at line 569 of file newclient.h.
Referenced by cast_curse(), charge_mana_effect(), and swap_random_stats().
Definition at line 568 of file newclient.h.
Referenced by attempt_steal().
#define MSG_TYPE_VICTIM_SWAMP 1 /* Player is sinking in a swamp */ |
Definition at line 566 of file newclient.h.
Referenced by deep_swamp_type_move_on(), and deep_swamp_type_process().
#define MSG_TYPE_VICTIM_WAS_HIT 2 /* Player was hit by something */ |
Definition at line 567 of file newclient.h.
Referenced by apply_special(), attack_message(), attack_ob_simple(), do_skill_attack(), gate_type_process(), and hit_with_one_attacktype().
#define MSG_TYPE_VICTIM_WAS_PUSHED 6 /* Player was pushed or attempted pushed */ |
Definition at line 571 of file newclient.h.
Referenced by push_ob().
#define SF_FIREON 0x01 |
These are used with CS_STAT_FLAGS above to communicate S->C what the server thinks the fireon & runon states are.
Definition at line 177 of file newclient.h.
Referenced by esrv_update_stats().
#define SF_RUNON 0x02 |
Definition at line 178 of file newclient.h.
Referenced by esrv_update_stats().
#define SOUND_NORMAL 0 |
Definition at line 269 of file newclient.h.
#define SOUND_SPELL 1 |
Definition at line 270 of file newclient.h.
#define UPD_ALL 0xFF |
Definition at line 262 of file newclient.h.
Referenced by identify(), and send_changed_object().
#define UPD_ANIM 0x20 |
Definition at line 259 of file newclient.h.
Referenced by drain_wand_charge(), and esrv_update_item().
#define UPD_ANIMSPEED 0x40 |
Definition at line 260 of file newclient.h.
Referenced by esrv_update_item(), and power_crystal_type_apply().
#define UPD_FACE 0x08 |
Definition at line 257 of file newclient.h.
Referenced by apply_container(), esrv_update_item(), identify(), key_change_class(), player_changer_type_process(), and update_object().
#define UPD_FLAGS 0x02 |
Definition at line 255 of file newclient.h.
Referenced by apply_container(), apply_special(), book_type_apply(), cancellation(), cast_identify(), cast_item_curse_or_curse(), command_lock_item(), do_skill_detect_curse(), do_skill_detect_magic(), esrv_update_item(), get_payment(), god_removes_curse(), lock_item_cmd(), remove_curse(), spellbook_type_apply(), unapply_special(), and weapon_improver_type_apply().
#define UPD_LOCATION 0x01 |
Definition at line 254 of file newclient.h.
Referenced by esrv_update_item().
#define UPD_NAME 0x10 |
Definition at line 258 of file newclient.h.
Referenced by book_type_apply(), cast_identify(), command_insert_into(), command_rename_item(), esrv_update_item(), get_payment(), god_enchants_weapon(), hit_with_one_attacktype(), identify(), improve_armour(), improve_weapon_magic(), spellbook_type_apply(), and weapon_improver_type_apply().
#define UPD_NROF 0x80 |
Definition at line 261 of file newclient.h.
Referenced by animate_weapon(), apply_special(), cfapi_object_set_property(), command_insert_into(), decrease_ob_nr(), esrv_update_item(), improve_armour(), increase_ob_nr(), and weapon_improver_type_apply().
#define UPD_SP_DAMAGE 0x04 |
Definition at line 267 of file newclient.h.
Referenced by esrv_update_spells().
#define UPD_SP_GRACE 0x02 |
Definition at line 266 of file newclient.h.
Referenced by esrv_update_spells().
#define UPD_SP_MANA 0x01 |
Definition at line 265 of file newclient.h.
Referenced by esrv_update_spells().
#define UPD_WEIGHT 0x04 |
Definition at line 256 of file newclient.h.
Referenced by apply_special(), cfapi_object_set_property(), command_dropall(), command_insert_into(), do_server(), drop_object(), empty_container(), esrv_move_object(), esrv_update_item(), improve_armour(), insert_objects(), pick_up_object(), player_attack_door(), put_object_in_sack(), and sell_item().
Statistics on server.
Contains the base information we use to make up a packet we want to send.
anonymous enum |
Flags for the item command
Enumerator | |
---|---|
a_none | |
a_readied | |
a_wielded | |
a_worn | |
a_active | |
a_applied |
Definition at line 225 of file newclient.h.
CS_Stats cst_lst |
Referenced by do_server(), init_connection(), init_server(), SockList_ReadPacket(), write_socket_buffer(), and Write_To_Socket().
CS_Stats cst_tot |
Referenced by init_connection(), init_server(), metaserver_update(), SockList_ReadPacket(), write_socket_buffer(), and Write_To_Socket().