Crossfire Server, Trunk  R20513
Macros
MSG_TYPE_xxx message types

Macros

#define MSG_SUBTYPE_NONE   0
 
#define MSG_TYPE_ADMIN   8
 
#define MSG_TYPE_ADMIN_DM   4
 DM related admin actions. More...
 
#define MSG_TYPE_ADMIN_ERROR   9
 Error on command, setup, etc. More...
 
#define MSG_TYPE_ADMIN_HISCORE   5
 Hiscore list. More...
 
#define MSG_TYPE_ADMIN_LOADSAVE   6
 load/save operations More...
 
#define MSG_TYPE_ADMIN_LOGIN   7
 login messages/errors More...
 
#define MSG_TYPE_ADMIN_NEWS   2
 
#define MSG_TYPE_ADMIN_PLAYER   3
 Player coming/going/death. More...
 
#define MSG_TYPE_ADMIN_RULES   1
 
#define MSG_TYPE_ADMIN_VERSION   8
 version info More...
 
#define MSG_TYPE_APPLY   13
 Applying objects. More...
 
#define MSG_TYPE_APPLY_BADBODY   7
 Don't have body to use object. More...
 
#define MSG_TYPE_APPLY_BUILD   9
 Build related actions. More...
 
#define MSG_TYPE_APPLY_CURSED   5
 Applied a cursed object (BAD) More...
 
#define MSG_TYPE_APPLY_ERROR   1
 
#define MSG_TYPE_APPLY_FAILURE   4
 Apply OK, but no/bad result. More...
 
#define MSG_TYPE_APPLY_PROHIBITION   8
 Class/god prohibiiton on obj. More...
 
#define MSG_TYPE_APPLY_SUCCESS   3
 Was able to apply object. More...
 
#define MSG_TYPE_APPLY_TRAP   6
 Have activated a trap. More...
 
#define MSG_TYPE_APPLY_UNAPPLY   2
 Unapply an object. More...
 
#define MSG_TYPE_ATTACK   14
 Attack related messages. More...
 
#define MSG_TYPE_ATTACK_DID_HIT   1
 Player hit something else. More...
 
#define MSG_TYPE_ATTACK_DID_KILL   4
 Player killed something. More...
 
#define MSG_TYPE_ATTACK_FUMBLE   3
 Player fumbled attack. More...
 
#define MSG_TYPE_ATTACK_MISS   9
 attack didn't hit More...
 
#define MSG_TYPE_ATTACK_NOATTACK   7
 You avoid attacking. More...
 
#define MSG_TYPE_ATTACK_NOKEY   6
 Keys are like attacks, so... More...
 
#define MSG_TYPE_ATTACK_PET_DIED   5
 Pet was killed. More...
 
#define MSG_TYPE_ATTACK_PET_HIT   2
 Players pet hit something else. More...
 
#define MSG_TYPE_ATTACK_PUSHED   8
 Pushed a friendly player. More...
 
#define MSG_TYPE_ATTRIBUTE   11
 Changes to attributes (stats, resistances, etc) More...
 
#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_GAIN   1
 Atacktypes here refer to. More...
 
#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_LOSS   2
 the player gaining or losing these attacktypes not being a victim of an attacktype. More...
 
#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_END   8
 End of a bad effect. More...
 
#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_START   7
 Start of a bad effect to the player. More...
 
#define MSG_TYPE_ATTRIBUTE_GOD   15
 changing god info More...
 
#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_END   14
 End of a good effect. More...
 
#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_START   13
 Start of a good effect to the player. More...
 
#define MSG_TYPE_ATTRIBUTE_LEVEL_GAIN   11
 
#define MSG_TYPE_ATTRIBUTE_LEVEL_LOSS   12
 
#define MSG_TYPE_ATTRIBUTE_MOVE   5
 A change in the movement type of the player. More...
 
#define MSG_TYPE_ATTRIBUTE_PROTECTION_GAIN   3
 Protections in this. More...
 
#define MSG_TYPE_ATTRIBUTE_PROTECTION_LOSS   4
 context are pretty generic - things like reflection or lifesave are also under the protection category. More...
 
#define MSG_TYPE_ATTRIBUTE_RACE   6
 Race-related changes. More...
 
#define MSG_TYPE_ATTRIBUTE_STAT_GAIN   9
 
#define MSG_TYPE_ATTRIBUTE_STAT_LOSS   10
 
#define MSG_TYPE_BOOK   1
 
#define MSG_TYPE_BOOK_CLASP_1   1
 
#define MSG_TYPE_BOOK_CLASP_2   2
 
#define MSG_TYPE_BOOK_ELEGANT_1   3
 
#define MSG_TYPE_BOOK_ELEGANT_2   4
 
#define MSG_TYPE_BOOK_QUARTO_1   5
 
#define MSG_TYPE_BOOK_QUARTO_2   6
 
#define MSG_TYPE_BOOK_SPELL_EVOKER   7
 
#define MSG_TYPE_BOOK_SPELL_PRAYER   8
 
#define MSG_TYPE_BOOK_SPELL_PYRO   9
 
#define MSG_TYPE_BOOK_SPELL_SORCERER   10
 
#define MSG_TYPE_BOOK_SPELL_SUMMONER   11
 
#define MSG_TYPE_CARD   2
 
#define MSG_TYPE_CARD_ELEGANT_1   4
 
#define MSG_TYPE_CARD_ELEGANT_2   5
 
#define MSG_TYPE_CARD_ELEGANT_3   6
 
#define MSG_TYPE_CARD_MONEY_1   10
 
#define MSG_TYPE_CARD_MONEY_2   11
 
#define MSG_TYPE_CARD_MONEY_3   12
 
#define MSG_TYPE_CARD_SIMPLE_1   1
 
#define MSG_TYPE_CARD_SIMPLE_2   2
 
#define MSG_TYPE_CARD_SIMPLE_3   3
 
#define MSG_TYPE_CARD_STRANGE_1   7
 
#define MSG_TYPE_CARD_STRANGE_2   8
 
#define MSG_TYPE_CARD_STRANGE_3   9
 
#define MSG_TYPE_CLIENT   20
 Client originated Messages. More...
 
#define MSG_TYPE_CLIENT_COMMAND   3
 DrawInfoCmd() More...
 
#define MSG_TYPE_CLIENT_CONFIG   1
 Local configuration issues. More...
 
#define MSG_TYPE_CLIENT_DEBUG   5
 General debug messages. More...
 
#define MSG_TYPE_CLIENT_ERROR   9
 Bad things happening. More...
 
#define MSG_TYPE_CLIENT_METASERVER   7
 Metaserver messages. More...
 
#define MSG_TYPE_CLIENT_NOTICE   6
 Non-critical note to player. More...
 
#define MSG_TYPE_CLIENT_QUERY   4
 handle_query() and prompts More...
 
#define MSG_TYPE_CLIENT_SCRIPT   8
 Script related messages. More...
 
#define MSG_TYPE_CLIENT_SERVER   2
 Server configuration issues. More...
 
#define MSG_TYPE_COMMAND   10
 Responses to commands, eg, who. More...
 
#define MSG_TYPE_COMMAND_BODY   3
 
#define MSG_TYPE_COMMAND_CONFIG   7
 bowmode, petmode, applymode More...
 
#define MSG_TYPE_COMMAND_DEBUG   10
 Various debug type commands. More...
 
#define MSG_TYPE_COMMAND_DM   17
 DM related commands. More...
 
#define MSG_TYPE_COMMAND_ERROR   11
 Bad syntax/can't use command. More...
 
#define MSG_TYPE_COMMAND_EXAMINE   14
 Player examining something. More...
 
#define MSG_TYPE_COMMAND_FAILURE   13
 Failed result from command. More...
 
#define MSG_TYPE_COMMAND_HELP   16
 Help related information. More...
 
#define MSG_TYPE_COMMAND_INFO   8
 Generic info: resistances, etc. More...
 
#define MSG_TYPE_COMMAND_INVENTORY   15
 Inventory listing. More...
 
#define MSG_TYPE_COMMAND_MALLOC   4
 
#define MSG_TYPE_COMMAND_MAPS   2
 
#define MSG_TYPE_COMMAND_NEWPLAYER   18
 Create a new character - not really a command, but is responding to player input. More...
 
#define MSG_TYPE_COMMAND_QUESTS   9
 Quest info. More...
 
#define MSG_TYPE_COMMAND_STATISTICS   6
 
#define MSG_TYPE_COMMAND_SUCCESS   12
 Successful result from command. More...
 
#define MSG_TYPE_COMMAND_WEATHER   5
 
#define MSG_TYPE_COMMAND_WHO   1
 
#define MSG_TYPE_COMMUNICATION   15
 Communication between players. More...
 
#define MSG_TYPE_COMMUNICATION_CHAT   8
 Party message. More...
 
#define MSG_TYPE_COMMUNICATION_EMOTE   5
 Player emotes. More...
 
#define MSG_TYPE_COMMUNICATION_ME   3
 Player me's a message. More...
 
#define MSG_TYPE_COMMUNICATION_PARTY   6
 Party message. More...
 
#define MSG_TYPE_COMMUNICATION_RANDOM   1
 Random event (coin toss) More...
 
#define MSG_TYPE_COMMUNICATION_SAY   2
 Player says something. More...
 
#define MSG_TYPE_COMMUNICATION_SHOUT   7
 Party message. More...
 
#define MSG_TYPE_COMMUNICATION_TELL   4
 Player tells something. More...
 
#define MSG_TYPE_DIALOG   6
 NPCs, magic mouths, and altars. More...
 
#define MSG_TYPE_DIALOG_ALTAR   2
 A message from an altar. More...
 
#define MSG_TYPE_DIALOG_MAGIC_EAR   3
 Magic ear. More...
 
#define MSG_TYPE_DIALOG_NPC   1
 A message from the npc. More...
 
#define MSG_TYPE_ITEM   17
 Item related information. More...
 
#define MSG_TYPE_ITEM_ADD   2
 Item added to inventory. More...
 
#define MSG_TYPE_ITEM_CHANGE   3
 Item has changed in some way. More...
 
#define MSG_TYPE_ITEM_INFO   4
 Information related to items. More...
 
#define MSG_TYPE_ITEM_REMOVE   1
 Item removed from inv. More...
 
#define MSG_TYPE_LAST   21
 
#define MSG_TYPE_MISC   18
 Messages that don't go elsewhere. More...
 
#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, what it deals in. More...
 
#define MSG_TYPE_SHOP_MISC   4
 Random messages. More...
 
#define MSG_TYPE_SHOP_PAYMENT   2
 Messages about payment, lack of funds. More...
 
#define MSG_TYPE_SHOP_SELL   3
 Messages about selling items. More...
 
#define MSG_TYPE_SIGN   4
 
#define MSG_TYPE_SIGN_BASIC   1
 
#define MSG_TYPE_SIGN_DIR_BOTH   4
 
#define MSG_TYPE_SIGN_DIR_LEFT   2
 
#define MSG_TYPE_SIGN_DIR_RIGHT   3
 
#define MSG_TYPE_SIGN_MAGIC_MOUTH   5
 
#define MSG_TYPE_SKILL   12
 Messages related to skill use. More...
 
#define MSG_TYPE_SKILL_ERROR   2
 Doing something wrong. More...
 
#define MSG_TYPE_SKILL_FAILURE   4
 Failure in using skill. More...
 
#define MSG_TYPE_SKILL_LIST   6
 List of skills. More...
 
#define MSG_TYPE_SKILL_MISSING   1
 Don't have the skill. More...
 
#define MSG_TYPE_SKILL_PRAY   5
 Praying related messages. More...
 
#define MSG_TYPE_SKILL_SUCCESS   3
 Successfully used skill. More...
 
#define MSG_TYPE_SPELL   16
 Spell related info. More...
 
#define MSG_TYPE_SPELL_END   4
 A spell ends. More...
 
#define MSG_TYPE_SPELL_ERROR   6
 Spell failure messages. More...
 
#define MSG_TYPE_SPELL_FAILURE   3
 Spell failure messages. More...
 
#define MSG_TYPE_SPELL_HEAL   1
 Healing related spells. More...
 
#define MSG_TYPE_SPELL_INFO   9
 random info about spell, not related to failure/success More...
 
#define MSG_TYPE_SPELL_PERCEIVE_SELF   7
 Perceive self messages. More...
 
#define MSG_TYPE_SPELL_PET   2
 Pet related messages. More...
 
#define MSG_TYPE_SPELL_SUCCESS   5
 Spell succeeded messages. More...
 
#define MSG_TYPE_SPELL_TARGET   8
 Target of non attack spell. More...
 
#define MSG_TYPE_VICTIM   19
 Something bad is happening to the player. More...
 
#define MSG_TYPE_VICTIM_DIED   5
 Player died! More...
 
#define MSG_TYPE_VICTIM_SPELL   4
 Someone cast a bad spell on the player. More...
 
#define MSG_TYPE_VICTIM_STEAL   3
 Someone tried to steal from the player. More...
 
#define MSG_TYPE_VICTIM_SWAMP   1
 Player is sinking in a swamp. More...
 
#define MSG_TYPE_VICTIM_WAS_HIT   2
 Player was hit by something. More...
 
#define MSG_TYPE_VICTIM_WAS_PUSHED   6
 Player was pushed or attempted pushed. More...
 

Detailed Description

Macro Definition Documentation

#define MSG_SUBTYPE_NONE   0
#define MSG_TYPE_ADMIN   8
#define MSG_TYPE_ADMIN_DM   4
#define MSG_TYPE_ADMIN_ERROR   9

Error on command, setup, etc.

Definition at line 480 of file newclient.h.

#define MSG_TYPE_ADMIN_HISCORE   5

Hiscore list.

Definition at line 476 of file newclient.h.

Referenced by hiscore_check(), and hiscore_display().

#define MSG_TYPE_ADMIN_LOADSAVE   6

load/save operations

Definition at line 477 of file newclient.h.

Referenced by apply_savebed(), emergency_save(), knowledge_write_player_data(), quest_write_player_data(), save_player(), and swap_map().

#define MSG_TYPE_ADMIN_LOGIN   7

login messages/errors

Definition at line 478 of file newclient.h.

Referenced by check_login(), check_name(), key_change_class(), key_confirm_quit(), receive_play_again(), and wrong_password().

#define MSG_TYPE_ADMIN_NEWS   2

Definition at line 473 of file newclient.h.

Referenced by send_news().

#define MSG_TYPE_ADMIN_PLAYER   3
#define MSG_TYPE_ADMIN_RULES   1

Definition at line 472 of file newclient.h.

Referenced by send_rules().

#define MSG_TYPE_ADMIN_VERSION   8

version info

Definition at line 479 of file newclient.h.

Referenced by add_me_cmd(), and command_version().

#define MSG_TYPE_APPLY   13
#define MSG_TYPE_APPLY_BADBODY   7

Don't have body to use object.

Definition at line 602 of file newclient.h.

Referenced by apply_check_apply_restrictions().

#define MSG_TYPE_APPLY_BUILD   9
#define MSG_TYPE_APPLY_CURSED   5

Applied a cursed object (BAD)

Definition at line 600 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
#define MSG_TYPE_APPLY_FAILURE   4
#define MSG_TYPE_APPLY_PROHIBITION   8

Class/god prohibiiton on obj.

Definition at line 603 of file newclient.h.

Referenced by apply_check_apply_restrictions(), and apply_check_race_restrictions().

#define MSG_TYPE_APPLY_SUCCESS   3
#define MSG_TYPE_APPLY_TRAP   6

Have activated a trap.

Definition at line 601 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
#define MSG_TYPE_ATTACK   14
#define MSG_TYPE_ATTACK_DID_HIT   1

Player hit something else.

Definition at line 607 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 610 of file newclient.h.

Referenced by kill_object().

#define MSG_TYPE_ATTACK_FUMBLE   3

Player fumbled attack.

Definition at line 609 of file newclient.h.

Referenced by attack_ob_simple().

#define MSG_TYPE_ATTACK_MISS   9

attack didn't hit

Definition at line 615 of file newclient.h.

Referenced by do_skill_attack().

#define MSG_TYPE_ATTACK_NOATTACK   7

You avoid attacking.

Definition at line 613 of file newclient.h.

Referenced by move_player_attack().

#define MSG_TYPE_ATTACK_NOKEY   6

Keys are like attacks, so...

Definition at line 612 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 611 of file newclient.h.

Referenced by kill_object().

#define MSG_TYPE_ATTACK_PET_HIT   2

Players pet hit something else.

Definition at line 608 of file newclient.h.

Referenced by attack_message(), and poison_living().

#define MSG_TYPE_ATTACK_PUSHED   8

Pushed a friendly player.

Definition at line 614 of file newclient.h.

#define MSG_TYPE_ATTRIBUTE   11
#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_GAIN   1

Atacktypes here refer to.

Definition at line 532 of file newclient.h.

Referenced by change_abil().

#define MSG_TYPE_ATTRIBUTE_ATTACKTYPE_LOSS   2

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

Definition at line 533 of file newclient.h.

Referenced by change_abil().

#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_END   8
#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_START   7

Start of a bad effect to the player.

Definition at line 558 of file newclient.h.

Referenced by change_abil(), confuse_living(), infect_object(), move_symptom(), paralyze_living(), poison_living(), poisoning_type_process(), and slow_living().

#define MSG_TYPE_ATTRIBUTE_GOD   15
#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_END   14

End of a good effect.

Definition at line 569 of file newclient.h.

Referenced by change_abil(), and hide().

#define MSG_TYPE_ATTRIBUTE_GOOD_EFFECT_START   13

Start of a good effect to the player.

Definition at line 566 of file newclient.h.

Referenced by change_abil().

#define MSG_TYPE_ATTRIBUTE_LEVEL_GAIN   11

Definition at line 564 of file newclient.h.

Referenced by player_lvl_adj().

#define MSG_TYPE_ATTRIBUTE_LEVEL_LOSS   12

Definition at line 565 of file newclient.h.

Referenced by player_lvl_adj().

#define MSG_TYPE_ATTRIBUTE_MOVE   5

A change in the movement type of the player.

Definition at line 554 of file newclient.h.

Referenced by change_abil().

#define MSG_TYPE_ATTRIBUTE_PROTECTION_GAIN   3

Protections in this.

Definition at line 542 of file newclient.h.

Referenced by change_abil(), and dragon_eat_flesh().

#define MSG_TYPE_ATTRIBUTE_PROTECTION_LOSS   4

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

Definition at line 543 of file newclient.h.

Referenced by change_abil().

#define MSG_TYPE_ATTRIBUTE_RACE   6

Race-related changes.

Definition at line 557 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

Definition at line 562 of file newclient.h.

Referenced by change_abil(), and remove_depletion().

#define MSG_TYPE_ATTRIBUTE_STAT_LOSS   10

Definition at line 563 of file newclient.h.

Referenced by change_abil(), drain_specific_stat(), and kill_player_not_permadeath().

#define MSG_TYPE_BOOK   1

Definition at line 370 of file newclient.h.

#define MSG_TYPE_BOOK_CLASP_1   1

Definition at line 401 of file newclient.h.

#define MSG_TYPE_BOOK_CLASP_2   2

Definition at line 402 of file newclient.h.

#define MSG_TYPE_BOOK_ELEGANT_1   3

Definition at line 403 of file newclient.h.

#define MSG_TYPE_BOOK_ELEGANT_2   4

Definition at line 404 of file newclient.h.

#define MSG_TYPE_BOOK_QUARTO_1   5

Definition at line 405 of file newclient.h.

#define MSG_TYPE_BOOK_QUARTO_2   6

Definition at line 406 of file newclient.h.

#define MSG_TYPE_BOOK_SPELL_EVOKER   7

Definition at line 407 of file newclient.h.

#define MSG_TYPE_BOOK_SPELL_PRAYER   8

Definition at line 408 of file newclient.h.

#define MSG_TYPE_BOOK_SPELL_PYRO   9

Definition at line 409 of file newclient.h.

#define MSG_TYPE_BOOK_SPELL_SORCERER   10

Definition at line 410 of file newclient.h.

#define MSG_TYPE_BOOK_SPELL_SUMMONER   11

Definition at line 411 of file newclient.h.

#define MSG_TYPE_CARD   2

Definition at line 371 of file newclient.h.

#define MSG_TYPE_CARD_ELEGANT_1   4

Definition at line 417 of file newclient.h.

#define MSG_TYPE_CARD_ELEGANT_2   5

Definition at line 418 of file newclient.h.

#define MSG_TYPE_CARD_ELEGANT_3   6

Definition at line 419 of file newclient.h.

#define MSG_TYPE_CARD_MONEY_1   10

Definition at line 423 of file newclient.h.

#define MSG_TYPE_CARD_MONEY_2   11

Definition at line 424 of file newclient.h.

#define MSG_TYPE_CARD_MONEY_3   12

Definition at line 425 of file newclient.h.

#define MSG_TYPE_CARD_SIMPLE_1   1

Definition at line 414 of file newclient.h.

#define MSG_TYPE_CARD_SIMPLE_2   2

Definition at line 415 of file newclient.h.

#define MSG_TYPE_CARD_SIMPLE_3   3

Definition at line 416 of file newclient.h.

#define MSG_TYPE_CARD_STRANGE_1   7

Definition at line 420 of file newclient.h.

#define MSG_TYPE_CARD_STRANGE_2   8

Definition at line 421 of file newclient.h.

#define MSG_TYPE_CARD_STRANGE_3   9

Definition at line 422 of file newclient.h.

#define MSG_TYPE_CLIENT   20

Client originated Messages.

Definition at line 395 of file newclient.h.

#define MSG_TYPE_CLIENT_COMMAND   3

DrawInfoCmd()

Definition at line 661 of file newclient.h.

#define MSG_TYPE_CLIENT_CONFIG   1

Local configuration issues.

Definition at line 659 of file newclient.h.

#define MSG_TYPE_CLIENT_DEBUG   5

General debug messages.

Definition at line 663 of file newclient.h.

#define MSG_TYPE_CLIENT_ERROR   9

Bad things happening.

Definition at line 667 of file newclient.h.

#define MSG_TYPE_CLIENT_METASERVER   7

Metaserver messages.

Definition at line 665 of file newclient.h.

#define MSG_TYPE_CLIENT_NOTICE   6

Non-critical note to player.

Definition at line 664 of file newclient.h.

Referenced by knowledge_display(), knowledge_do_display(), knowledge_give(), and knowledge_show().

#define MSG_TYPE_CLIENT_QUERY   4

handle_query() and prompts

Definition at line 662 of file newclient.h.

#define MSG_TYPE_CLIENT_SCRIPT   8

Script related messages.

Definition at line 666 of file newclient.h.

#define MSG_TYPE_CLIENT_SERVER   2

Server configuration issues.

Definition at line 660 of file newclient.h.

#define MSG_TYPE_COMMAND   10

Responses to commands, eg, who.

Definition at line 379 of file newclient.h.

Referenced by arch_info(), basic_emote(), change_spell(), check_login(), check_pick(), 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_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_overlay_reset(), command_overlay_save(), command_party(), command_party_rejoin(), command_passwd(), command_patch(), command_peaceful(), command_petmode(), command_pickup(), command_players(), command_possess(), command_quit(), 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_shutdown(), 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_unarmed_skill(), command_unloadplugin(), command_use(), command_usekeys(), command_uskill(), command_whereabouts(), command_wimpy(), command_wizcast(), command_wizpass(), current_map_info(), current_region_info(), 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(), get_dm_object(), get_other_player_from_name(), get_spell_by_name(), help_topics(), hiscore_check(), i18n_list_languages(), inventory(), key_change_class(), key_roll_stat(), knowledge_alchemy_attempt(), knowledge_do_attempt(), knowledge_item_can_be_used_alchemy(), knowledge_show(), knowledge_show_monster_detail(), list_players(), lock_item_cmd(), look_at(), malloc_info(), map_info(), mark_item_cmd(), new_player_cmd(), party_form(), party_help(), party_join(), party_leave(), pick_up(), pick_up_object(), plugins_display_list(), print_los(), print_tod(), push_ob(), put_object_in_sack(), quest_display(), quest_help(), quest_info(), quest_list(), quest_set_state(), quest_start(), 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(), trap_see(), and use_alchemy().

#define MSG_TYPE_COMMAND_BODY   3

Definition at line 501 of file newclient.h.

Referenced by command_body().

#define MSG_TYPE_COMMAND_CONFIG   7
#define MSG_TYPE_COMMAND_DEBUG   10

Various debug type commands.

Definition at line 508 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
#define MSG_TYPE_COMMAND_ERROR   11
#define MSG_TYPE_COMMAND_EXAMINE   14

Player examining something.

Definition at line 512 of file newclient.h.

Referenced by examine(), examine_monster(), knowledge_item_can_be_used_alchemy(), knowledge_show_monster_detail(), and look_at().

#define MSG_TYPE_COMMAND_FAILURE   13
#define MSG_TYPE_COMMAND_HELP   16

Help related information.

Definition at line 514 of file newclient.h.

Referenced by party_help().

#define MSG_TYPE_COMMAND_INFO   8
#define MSG_TYPE_COMMAND_INVENTORY   15

Inventory listing.

Definition at line 513 of file newclient.h.

Referenced by inventory().

#define MSG_TYPE_COMMAND_MALLOC   4

Definition at line 502 of file newclient.h.

Referenced by malloc_info().

#define MSG_TYPE_COMMAND_MAPS   2

Definition at line 500 of file newclient.h.

Referenced by command_style_map_info(), and map_info().

#define MSG_TYPE_COMMAND_NEWPLAYER   18

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

Definition at line 516 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 507 of file newclient.h.

#define MSG_TYPE_COMMAND_STATISTICS   6

Definition at line 504 of file newclient.h.

Referenced by command_statistics().

#define MSG_TYPE_COMMAND_SUCCESS   12
#define MSG_TYPE_COMMAND_WEATHER   5

Definition at line 503 of file newclient.h.

#define MSG_TYPE_COMMAND_WHO   1

Definition at line 499 of file newclient.h.

Referenced by display_who_entry(), and list_players().

#define MSG_TYPE_COMMUNICATION   15
#define MSG_TYPE_COMMUNICATION_CHAT   8

Party message.

Definition at line 624 of file newclient.h.

Referenced by command_chat().

#define MSG_TYPE_COMMUNICATION_EMOTE   5

Player emotes.

Definition at line 621 of file newclient.h.

Referenced by basic_emote().

#define MSG_TYPE_COMMUNICATION_ME   3

Player me's a message.

Definition at line 619 of file newclient.h.

Referenced by command_me().

#define MSG_TYPE_COMMUNICATION_PARTY   6

Party message.

Definition at line 622 of file newclient.h.

Referenced by command_party(), and party_send_message().

#define MSG_TYPE_COMMUNICATION_RANDOM   1

Random event (coin toss)

Definition at line 617 of file newclient.h.

Referenced by command_cointoss().

#define MSG_TYPE_COMMUNICATION_SAY   2

Player says something.

Definition at line 618 of file newclient.h.

Referenced by monster_communicate().

#define MSG_TYPE_COMMUNICATION_SHOUT   7

Party message.

Definition at line 623 of file newclient.h.

Referenced by command_shout().

#define MSG_TYPE_COMMUNICATION_TELL   4

Player tells something.

Definition at line 620 of file newclient.h.

Referenced by command_reply(), and do_tell().

#define MSG_TYPE_DIALOG   6

NPCs, magic mouths, and altars.

Definition at line 375 of file newclient.h.

Referenced by monster_do_say(), monster_do_talk_npc(), and operate_altar().

#define MSG_TYPE_DIALOG_ALTAR   2

A message from an altar.

Definition at line 466 of file newclient.h.

Referenced by operate_altar().

#define MSG_TYPE_DIALOG_MAGIC_EAR   3

Magic ear.

Definition at line 467 of file newclient.h.

Referenced by monster_do_talk_npc().

#define MSG_TYPE_DIALOG_NPC   1

A message from the npc.

Definition at line 465 of file newclient.h.

Referenced by monster_do_say().

#define MSG_TYPE_ITEM   17
#define MSG_TYPE_ITEM_ADD   2

Item added to inventory.

Definition at line 639 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 640 of file newclient.h.

Referenced by god_enchants_weapon(), improve_weapon_magic(), remove_force(), and transmute_item_to_flower().

#define MSG_TYPE_ITEM_INFO   4

Information related to items.

Definition at line 641 of file newclient.h.

Referenced by cast_identify(), find_key(), god_enchants_weapon(), and identify_object_with_skill().

#define MSG_TYPE_ITEM_REMOVE   1

Item removed from inv.

Definition at line 638 of file newclient.h.

Referenced by attempt_steal(), follower_remove_given_items(), player_attack_door(), process_object(), and save_life().

#define MSG_TYPE_LAST   21

Definition at line 396 of file newclient.h.

Referenced by command_strings().

#define MSG_TYPE_MISC   18
#define MSG_TYPE_MONUMENT   5

Definition at line 374 of file newclient.h.

#define MSG_TYPE_MONUMENT_GRAVESTONE_1   7

Definition at line 457 of file newclient.h.

#define MSG_TYPE_MONUMENT_GRAVESTONE_2   8

Definition at line 458 of file newclient.h.

#define MSG_TYPE_MONUMENT_GRAVESTONE_3   9

Definition at line 459 of file newclient.h.

#define MSG_TYPE_MONUMENT_STATUE_1   4

Definition at line 454 of file newclient.h.

#define MSG_TYPE_MONUMENT_STATUE_2   5

Definition at line 455 of file newclient.h.

#define MSG_TYPE_MONUMENT_STATUE_3   6

Definition at line 456 of file newclient.h.

#define MSG_TYPE_MONUMENT_STONE_1   1

Definition at line 451 of file newclient.h.

#define MSG_TYPE_MONUMENT_STONE_2   2

Definition at line 452 of file newclient.h.

#define MSG_TYPE_MONUMENT_STONE_3   3

Definition at line 453 of file newclient.h.

#define MSG_TYPE_MONUMENT_WALL_1   10

Definition at line 460 of file newclient.h.

#define MSG_TYPE_MONUMENT_WALL_2   11

Definition at line 461 of file newclient.h.

#define MSG_TYPE_MONUMENT_WALL_3   12

Definition at line 462 of file newclient.h.

#define MSG_TYPE_MOTD   7

Definition at line 376 of file newclient.h.

Referenced by display_motd().

#define MSG_TYPE_PAPER   3

Definition at line 372 of file newclient.h.

#define MSG_TYPE_PAPER_ENVELOPE_1   8

Definition at line 435 of file newclient.h.

#define MSG_TYPE_PAPER_ENVELOPE_2   9

Definition at line 436 of file newclient.h.

#define MSG_TYPE_PAPER_LETTER_NEW_1   6

Definition at line 433 of file newclient.h.

#define MSG_TYPE_PAPER_LETTER_NEW_2   7

Definition at line 434 of file newclient.h.

#define MSG_TYPE_PAPER_LETTER_OLD_1   4

Definition at line 431 of file newclient.h.

#define MSG_TYPE_PAPER_LETTER_OLD_2   5

Definition at line 432 of file newclient.h.

#define MSG_TYPE_PAPER_NOTE_1   1

Definition at line 428 of file newclient.h.

#define MSG_TYPE_PAPER_NOTE_2   2

Definition at line 429 of file newclient.h.

#define MSG_TYPE_PAPER_NOTE_3   3

Definition at line 430 of file newclient.h.

#define MSG_TYPE_PAPER_SCROLL_MAGIC   14

Definition at line 441 of file newclient.h.

#define MSG_TYPE_PAPER_SCROLL_NEW_1   12

Definition at line 439 of file newclient.h.

#define MSG_TYPE_PAPER_SCROLL_NEW_2   13

Definition at line 440 of file newclient.h.

#define MSG_TYPE_PAPER_SCROLL_OLD_1   10

Definition at line 437 of file newclient.h.

#define MSG_TYPE_PAPER_SCROLL_OLD_2   11

Definition at line 438 of file newclient.h.

#define MSG_TYPE_SHOP   9
#define MSG_TYPE_SHOP_LISTING   1

Shop listings - inventory, what it deals in.

Definition at line 486 of file newclient.h.

Referenced by shop_describe(), and shop_inventory_type_apply().

#define MSG_TYPE_SHOP_MISC   4

Random messages.

Definition at line 493 of file newclient.h.

Referenced by shop_describe(), and shop_mat_type_move_on().

#define MSG_TYPE_SHOP_PAYMENT   2

Messages about payment, lack of funds.

Definition at line 489 of file newclient.h.

Referenced by can_pay(), and shop_pay_unpaid().

#define MSG_TYPE_SHOP_SELL   3

Messages about selling items.

Definition at line 492 of file newclient.h.

Referenced by sell_item().

#define MSG_TYPE_SIGN   4

Definition at line 373 of file newclient.h.

Referenced by trigger_connected().

#define MSG_TYPE_SIGN_BASIC   1

Definition at line 444 of file newclient.h.

#define MSG_TYPE_SIGN_DIR_BOTH   4

Definition at line 447 of file newclient.h.

#define MSG_TYPE_SIGN_DIR_LEFT   2

Definition at line 445 of file newclient.h.

#define MSG_TYPE_SIGN_DIR_RIGHT   3

Definition at line 446 of file newclient.h.

#define MSG_TYPE_SIGN_MAGIC_MOUTH   5

Definition at line 448 of file newclient.h.

#define MSG_TYPE_SKILL   12
#define MSG_TYPE_SKILL_ERROR   2
#define MSG_TYPE_SKILL_FAILURE   4
#define MSG_TYPE_SKILL_LIST   6

List of skills.

Definition at line 587 of file newclient.h.

Referenced by show_skills().

#define MSG_TYPE_SKILL_MISSING   1
#define MSG_TYPE_SKILL_PRAY   5

Praying related messages.

Definition at line 586 of file newclient.h.

Referenced by god_intervention(), and god_removes_curse().

#define MSG_TYPE_SKILL_SUCCESS   3
#define MSG_TYPE_SPELL   16
#define MSG_TYPE_SPELL_END   4

A spell ends.

Definition at line 629 of file newclient.h.

Referenced by handle_newcs_player().

#define MSG_TYPE_SPELL_ERROR   6
#define MSG_TYPE_SPELL_FAILURE   3
#define MSG_TYPE_SPELL_HEAL   1

Healing related spells.

Definition at line 626 of file newclient.h.

Referenced by cast_heal(), and cure_disease().

#define MSG_TYPE_SPELL_INFO   9

random info about spell, not related to failure/success

Definition at line 634 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 632 of file newclient.h.

Referenced by perceive_self().

#define MSG_TYPE_SPELL_PET   2

Pet related messages.

Definition at line 627 of file newclient.h.

Referenced by pets_follow_owner(), pets_move_golem(), and pets_summon_golem().

#define MSG_TYPE_SPELL_SUCCESS   5
#define MSG_TYPE_SPELL_TARGET   8

Target of non attack spell.

Definition at line 633 of file newclient.h.

Referenced by cast_bless(), and charge_mana_effect().

#define MSG_TYPE_VICTIM   19
#define MSG_TYPE_VICTIM_DIED   5

Player died!

Definition at line 654 of file newclient.h.

Referenced by kill_player(), kill_player_not_permadeath(), and kill_player_permadeath().

#define MSG_TYPE_VICTIM_SPELL   4

Someone cast a bad spell on the player.

Definition at line 651 of file newclient.h.

Referenced by cast_curse(), charge_mana_effect(), and swap_random_stats().

#define MSG_TYPE_VICTIM_STEAL   3

Someone tried to steal from the player.

Definition at line 648 of file newclient.h.

Referenced by attempt_steal().

#define MSG_TYPE_VICTIM_SWAMP   1

Player is sinking in a swamp.

Definition at line 646 of file newclient.h.

Referenced by deep_swamp_type_move_on(), and deep_swamp_type_process().

#define MSG_TYPE_VICTIM_WAS_HIT   2
#define MSG_TYPE_VICTIM_WAS_PUSHED   6

Player was pushed or attempted pushed.

Definition at line 655 of file newclient.h.

Referenced by push_ob().