Crossfire Server, Branch 1.12  R12190
Defines
Flags for messages

The following are the color flags passed to new_draw_info(). More...

Defines

#define NDI_ALL   0x200
 Inform all players of this message.
#define NDI_ALL_DMS   0x400
 Inform all logged in DMs.
#define NDI_BLACK   0
#define NDI_BLUE   5
 Actually, it is Dodger Blue.
#define NDI_BROWN   10
 Sienna.
#define NDI_COLOR_MASK   0xff
 Gives lots of room for expansion - we are using an int anyways, so we have the space to still do all the flags.
#define NDI_DK_ORANGE   6
 DarkOrange2.
#define NDI_GOLD   11
#define NDI_GREEN   7
 SeaGreen.
#define NDI_GREY   9
#define NDI_LT_GREEN   8
 DarkSeaGreen, which is actually paler Than seagreen - also background color.
#define NDI_MAX_COLOR   12
 Last value in.
#define NDI_NAVY   2
#define NDI_ORANGE   4
#define NDI_RED   3
#define NDI_TAN   12
 Khaki.
#define NDI_UNIQUE   0x100
 Print this out immediately, don't buffer.
#define NDI_WHITE   1

Detailed Description

The following are the color flags passed to new_draw_info().

We also set up some control flags

NDI = New Draw Info

Color specifications - note these match the order in xutil.c.

Note 2: Black, the default color, is 0. Thus, it does not need to be implicitly specified.


Define Documentation

#define NDI_ALL   0x200
#define NDI_ALL_DMS   0x400

Inform all logged in DMs.

Used in case of errors. Overrides NDI_ALL.

Definition at line 218 of file newclient.h.

Referenced by draw_ext_info(), save_player(), and swap_map().

#define NDI_BLACK   0
#define NDI_BLUE   5
#define NDI_BROWN   10

Sienna.

Definition at line 206 of file newclient.h.

Referenced by find_key(), initConstants(), and player_attack_door().

#define NDI_COLOR_MASK   0xff

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

Definition at line 211 of file newclient.h.

Referenced by draw_ext_info().

#define NDI_DK_ORANGE   6
#define NDI_GOLD   11

Definition at line 207 of file newclient.h.

Referenced by initConstants().

#define NDI_GREEN   7

SeaGreen.

Definition at line 202 of file newclient.h.

Referenced by display_motd(), initConstants(), runmessage(), send_news(), and send_rules().

#define NDI_GREY   9

Definition at line 205 of file newclient.h.

Referenced by initConstants(), and polymorph_melt().

#define NDI_LT_GREEN   8

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

Definition at line 203 of file newclient.h.

Referenced by command_nowiz(), do_wizard_dm(), do_wizard_hide(), and initConstants().

#define NDI_MAX_COLOR   12

Last value in.

Definition at line 210 of file newclient.h.

#define NDI_NAVY   2
#define NDI_ORANGE   4
#define NDI_RED   3
#define NDI_TAN   12

Khaki.

Definition at line 208 of file newclient.h.

Referenced by initConstants().

#define NDI_UNIQUE   0x100

Print this out immediately, don't buffer.

Definition at line 216 of file newclient.h.

Referenced by action_makes_visible(), adj_stealchance(), adjust_sign_msg(), alchemy_failure_effect(), animate_weapon(), apply_builder_floor(), apply_builder_item(), apply_builder_remove(), apply_builder_wall(), apply_builder_window(), apply_container(), apply_map_builder(), apply_savebed(), apply_sign(), apply_special(), arch_info(), armour_improver_type_apply(), attack_hth(), attack_melee_weapon(), attack_ob_simple(), attempt_do_alchemy(), attempt_jump(), attempt_recipe(), attempt_steal(), basic_emote(), become_follower(), blind_living(), blocked_link(), book_type_apply(), can_pay(), can_see_enemy(), 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_dust(), cast_heal(), cast_identify(), cast_invisible(), cast_item_curse_or_curse(), cast_light(), cast_raise_dead_spell(), cast_smite_spell(), cast_spell(), cast_word_of_recall(), cf_handle_type_apply(), change_abil(), change_spell(), charge_mana_effect(), check_login(), check_name(), check_pick(), check_race_restrictions(), check_sacrifice(), check_score(), check_special_prayers(), check_spell_expiry(), choose_cult_monster(), clock_type_apply(), command_abil(), command_addexp(), command_afk(), command_apply(), command_applymode(), command_arrest(), command_banish(), command_body(), command_bowmode(), command_brace(), command_cast_spell(), command_cointoss(), command_create(), command_debug(), command_diff(), command_drop(), command_dropall(), command_dump(), command_dumpbelow(), command_empty(), command_examine(), command_explore(), command_fire(), command_follow(), command_forget_spell(), command_free(), command_freeze(), command_goto(), command_gsay(), command_help(), command_insert_into(), command_inventory(), command_invisible(), command_kick(), command_kill_pets(), command_language(), command_learn_spell_or_prayer(), command_listen(), command_loadplugin(), command_loadtest(), command_lock_item(), command_mark(), command_me(), 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_throw(), command_title(), command_toggle_shout(), command_unloadplugin(), command_use(), command_usekeys(), command_uskill(), command_whereabouts(), command_wimpy(), command_wizcast(), command_wizpass(), confuse_living(), converter_type_move_on(), create_aura(), create_bomb(), Crossfire_Player_Message(), cure_disease(), current_map_info(), current_region_info(), deep_swamp_type_move_on(), deep_swamp_type_process(), describe_shop(), dimension_door(), dispel_rune(), display_high_score(), display_motd(), display_new_pickup(), display_who_entry(), dm_stack_peek(), dm_stack_pop(), dm_stack_push(), do_forget_spell(), do_hidden_move(), do_learn_spell(), do_skill(), do_skill_attack(), do_skill_ident2(), do_talk_npc(), do_tell(), do_throw(), do_turn(), do_wizard_dm(), do_wizard_hide(), dragon_ability_gain(), dragon_eat_flesh(), dragon_level_gain(), drain_specific_stat(), draw_ext_info(), drop(), drop_object(), eat_special_food(), emergency_save(), empty_container(), enter_exit(), enter_fixed_template_map(), enter_map(), enter_unique_map(), examine(), examine_monster(), execute_newserver_command(), execute_word_of_recall(), exit_type_apply(), find_key(), find_or_create_connection_for_map(), find_throw_ob(), fire(), fire_arch_from_position(), fire_bow(), fire_misc_object(), follow_owner(), follower_remove_given_items(), food_type_apply(), form_party(), gate_type_process(), get_dm_object(), get_other_player_from_name(), get_payment(), get_spell_by_name(), god_enchants_weapon(), god_examines_item(), god_examines_priest(), god_gives_present(), god_intervention(), god_removes_curse(), handle_newcs_player(), help_topics(), hide(), hit_with_one_attacktype(), hole_type_move_on(), identify_altar_type_move_on(), improve_armour(), improve_weapon(), improve_weapon_magic(), improve_weapon_stat(), infect_object(), initConstants(), inscribe_scroll_cmd(), inventory(), jump(), key_confirm_quit(), key_roll_stat(), kill_object(), kill_player(), lamp_type_apply(), leave(), lighter_type_apply(), list_players(), lock_item_cmd(), look_at(), magic_wall(), malloc_info(), manual_apply(), map_info(), Map_Message(), mark_item_cmd(), meditate(), move_golem(), move_marker(), move_symptom(), new_player_cmd(), npc_say(), party_help(), peacemaker_type_process(), perceive_self(), pet_move(), pick_lock(), pick_up(), pick_up_object(), player_apply(), player_attack_door(), player_lvl_adj(), plugins_display_list(), poison_living(), poison_type_apply(), poisoning_type_process(), potion_type_apply(), pray_at_altar(), prayer_failure(), prepare_weapon(), print_los(), print_tod(), probe(), process_players1(), push_ob(), put_object_in_sack(), receive_party_password(), receive_play_again(), receive_player_name(), receive_player_password(), recharge(), recursive_roll(), remove_curse(), remove_force(), resurrect_player(), runmessage(), runnotice(), sack_can_hold(), save_life(), save_player(), scroll_failure(), scroll_type_apply(), sell_item(), send_news(), send_rules(), set_pickup_mode(), shop_inventory_type_apply(), shop_mat_type_move_on(), show_commands(), show_matching_spells(), show_skills(), singing(), skill_attack(), skill_ident(), skillscroll_type_apply(), slow_living(), spell_failure(), spellbook_type_apply(), spring_trap(), start_info(), summon_golem(), summon_object(), swap_map(), swap_random_stats(), swap_stat(), tailor_god_spell(), time_info(), transmute_item_to_flower(), transport_type_apply(), trap_disarm(), trap_see(), trapdoor_type_move_on(), treasure_type_apply(), trigger_connected(), trigger_type_apply(), unapply_for_ob(), unapply_special(), use_alchemy(), use_oratory(), use_skill(), version(), weapon_improver_type_apply(), worship_forbids_use(), write_mark(), write_note(), write_on_item(), write_rune(), write_scroll(), and wrong_password().

#define NDI_WHITE   1