|
Crossfire Server
1.75.0
|
The following are the color flags passed to new_draw_info(). More...
Macros | |
| #define | NDI_ALL 0x200 |
| Inform all players of this message. More... | |
| #define | NDI_ALL_DMS 0x400 |
| Inform all logged in DMs. More... | |
| #define | NDI_BLACK 0 |
| #define | NDI_BLUE 5 |
| Actually, it is Dodger Blue. More... | |
| #define | NDI_BROWN 10 |
| Sienna. More... | |
| #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. More... | |
| #define | NDI_DELAYED 0x1000 |
| If set, then message is sent only after the player's tick completes. More... | |
| #define | NDI_DK_ORANGE 6 |
| DarkOrange2. More... | |
| #define | NDI_GOLD 11 |
| #define | NDI_GREEN 7 |
| SeaGreen. More... | |
| #define | NDI_GREY 9 |
| #define | NDI_LT_GREEN 8 |
| DarkSeaGreen, which is actually paler than seagreen - also background color. More... | |
| #define | NDI_MAX_COLOR 12 |
| Last value in. More... | |
| #define | NDI_NAVY 2 |
| #define | NDI_NO_TRANSLATE 0x800 |
| Do not attempt to translate. More... | |
| #define | NDI_ORANGE 4 |
| #define | NDI_RED 3 |
| #define | NDI_TAN 12 |
| Khaki. More... | |
| #define | NDI_UNIQUE 0x100 |
| Print immediately, don't buffer. More... | |
| #define | NDI_WHITE 1 |
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 NDI_ALL 0x200 |
Inform all players of this message.
Definition at line 271 of file newclient.h.
Referenced by apply_savebed(), attack_ob_simple(), check_login(), check_shutdown(), command_banish(), command_kick2(), command_nowiz(), command_shutdown(), command_tell_all(), create_player_cmd(), deep_swamp_type_process(), do_shutdown(), do_wizard_dm(), do_wizard_hide(), draw_ext_info(), draw_ext_info_format(), key_change_class(), key_confirm_quit(), kill_object(), kill_player_permadeath(), leave(), and unhide().
| #define NDI_ALL_DMS 0x400 |
Inform all logged in DMs.
Used in case of errors. Overrides NDI_ALL.
Definition at line 272 of file newclient.h.
Referenced by draw_ext_info(), draw_ext_info_format(), knowledge_write_player_data(), quest_write_player_data(), save_player(), and swap_map().
| #define NDI_BLACK 0 |
Definition at line 246 of file newclient.h.
Referenced by altar_type_move_on(), animate_weapon(), attack_message(), cast_transfer(), change_map_light(), do_skill_attack(), find_traps(), kill_object(), meditate(), operate_altar(), pray(), process_object(), recursive_roll(), and scroll_type_apply().
| #define NDI_BLUE 5 |
Actually, it is Dodger Blue.
Definition at line 251 of file newclient.h.
Referenced by change_abil(), command_chat(), command_me(), dragon_ability_gain(), dragon_level_gain(), examine_fluff(), key_change_class(), key_roll_stat(), Map_Message(), and spellbook_type_apply().
| #define NDI_BROWN 10 |
Sienna.
Definition at line 258 of file newclient.h.
Referenced by find_key(), 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 263 of file newclient.h.
Referenced by draw_ext_info().
| #define NDI_DELAYED 0x1000 |
If set, then message is sent only after the player's tick completes.
This allows sending eg quest information after some dialogue even though quest is processed before.
Definition at line 280 of file newclient.h.
Referenced by cfapi_player_message(), draw_ext_info(), monster_do_talk_npc(), quest_set_state(), and quest_start().
| #define NDI_DK_ORANGE 6 |
DarkOrange2.
Definition at line 252 of file newclient.h.
Referenced by apply_savebed(), check_login(), create_player_cmd(), do_wizard_hide(), key_change_class(), key_confirm_quit(), leave(), and unhide().
| #define NDI_GOLD 11 |
Definition at line 259 of file newclient.h.
Referenced by examine_fluff().
| #define NDI_GREEN 7 |
SeaGreen.
Definition at line 253 of file newclient.h.
Referenced by display_motd(), runmessage(), send_news(), and send_rules().
| #define NDI_GREY 9 |
Definition at line 257 of file newclient.h.
Referenced by polymorph_melt().
| #define NDI_LT_GREEN 8 |
DarkSeaGreen, which is actually paler than seagreen - also background color.
Definition at line 254 of file newclient.h.
Referenced by command_nowiz(), do_wizard_dm(), and do_wizard_hide().
| #define NDI_MAX_COLOR 12 |
Last value in.
Definition at line 261 of file newclient.h.
| #define NDI_NAVY 2 |
Definition at line 248 of file newclient.h.
Referenced by apply_sign(), become_follower(), blocked_link(), book_type_apply(), cast_create_town_portal(), check_spell_expiry(), do_forget_spell(), exit_type_apply(), exit_type_move_on(), god_examines_item(), god_examines_priest(), kill_player(), monster_do_say(), monster_do_talk_npc(), move_marker(), player_attack_door(), pray_at_altar(), remove_special_prayers(), runnotice(), spellbook_type_apply(), town_portal_find_force(), and trigger_connected().
| #define NDI_NO_TRANSLATE 0x800 |
Do not attempt to translate.
Either it has been already translated or will not be translatable (e.g. say/chat/shout)
Definition at line 275 of file newclient.h.
Referenced by draw_ext_info(), and draw_ext_info_format().
| #define NDI_ORANGE 4 |
Definition at line 250 of file newclient.h.
Referenced by charge_mana_effect(), command_reply(), command_toggle_shout(), Crossfire_Player_Message(), do_tell(), and ring_bell().
| #define NDI_RED 3 |
Definition at line 249 of file newclient.h.
Referenced by add_me_cmd(), apply_savebed(), command_banish(), command_freeze(), command_kick2(), command_reset(), command_shout(), command_toggle_shout(), deep_swamp_type_process(), dragon_eat_flesh(), hit_with_one_attacktype(), infect_object(), move_symptom(), player_lvl_adj(), potion_type_apply(), receive_player_password(), save_player(), save_throw_object(), show_skills(), and swap_map().
| #define NDI_TAN 12 |
Khaki.
Definition at line 260 of file newclient.h.
| #define NDI_UNIQUE 0x100 |
Print immediately, don't buffer.
Definition at line 270 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_by_living(), apply_check_apply_restrictions(), apply_check_item_power(), apply_check_owner(), apply_check_personalized_blessings(), apply_check_race_restrictions(), apply_container(), apply_manual(), apply_map_builder(), apply_savebed(), apply_sign(), apply_special(), apply_update_ranged_skill(), 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(), 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_bless(), cast_light(), cast_raise_dead_spell(), cast_smite_spell(), cast_spell(), cast_word_of_recall(), cf_handle_type_apply(), change_abil(), charge_mana_effect(), check_heal_and_mana(), check_login(), check_name(), check_pick(), check_sacrifice(), check_shutdown(), check_spell_expiry(), choose_cult_monster(), clock_type_apply(), command_abil(), command_accountpasswd(), 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_delete(), command_diff(), command_drop(), command_dropall(), command_dump(), command_empty(), command_examine(), command_face(), command_find(), 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_kick2(), command_kill_pets(), command_language(), command_learn_spell_or_prayer(), command_list(), command_listen(), command_loadplugin(), command_loadtest(), command_lock_item(), command_mark(), command_me(), command_mon_aggr(), command_nowiz(), command_overlay_reset(), command_overlay_save(), command_partial_commands(), command_party(), command_party_rejoin(), command_passwd(), command_patch(), command_peaceful(), command_petmode(), command_pickup(), command_players(), command_possess(), command_purge_quest(), command_purge_quest_definitions(), command_quest(), 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_settings(), command_shoottype(), 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_swap(), command_take(), command_teleport(), command_tell_all(), command_title(), command_toggle_shout(), command_unarmed_skill(), command_unloadplugin(), command_use(), command_usekeys(), command_uskill(), command_version(), command_whereabouts(), command_wimpy(), command_wizcast(), command_wizpass(), confuse_living(), converter_type_move_on(), create_aura(), create_bomb(), create_player_cmd(), Crossfire_Player_Message(), cure_disease(), current_map_info(), current_region_info(), deep_swamp_type_move_on(), deep_swamp_type_process(), dimension_door(), dispel_rune(), display_help_file(), display_motd(), display_new_pickup(), display_who_entry(), dm_stack_peek(), dm_stack_pop(), dm_stack_push(), do_dump(), do_follow(), do_forget_spell(), do_hidden_move(), do_learn_spell(), do_light(), do_shutdown(), do_skill(), do_skill_attack(), do_skill_by_number(), do_tell(), do_throw(), do_turn(), do_wizard_dm(), do_wizard_hide(), dragon_ability_gain(), dragon_eat_flesh(), dragon_level_gain(), drain_specific_stat(), drop(), drop_object(), eat_common(), emergency_save(), empty_container(), enter_exit(), enter_fixed_template_map(), enter_map(), enter_player_maplevel(), enter_unique_map(), examine(), examine_autoidentify(), examine_fluff(), examine_monster(), examine_rod_charge_level(), examine_wand_charge_level(), examine_weight_and_material(), exit_type_apply(), find_best_player_hth_skill(), find_key(), find_or_create_connection_for_map(), find_throw_ob(), fire(), fire_arch_from_position(), fire_bow(), fire_misc_object(), follower_remove_given_items(), food_type_apply(), gate_type_process(), get_dm_object(), get_other_player_from_name(), 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(), hiscore_check(), hiscore_display(), hit_with_one_attacktype(), hole_type_move_on(), i18n_list_languages(), identify_altar_type_move_on(), identify_object_with_skill(), improve_armour(), improve_weapon(), improve_weapon_magic(), improve_weapon_stat(), infect_object(), inscribe_scroll_cmd(), inventory(), jump(), key_change_class(), key_confirm_quit(), key_roll_stat(), kill_object(), kill_player(), kill_player_not_permadeath(), kill_player_permadeath(), knowledge_add_probe_monster(), knowledge_alchemy_attempt(), knowledge_display(), knowledge_do_attempt(), knowledge_do_display(), knowledge_give(), knowledge_item_can_be_used_alchemy(), knowledge_show(), knowledge_write_player_data(), lamp_type_apply(), leave(), lightable_type_apply(), lighter_type_apply(), list_players(), lock_item_cmd(), login_check_shutdown(), look_at(), look_at_cmd(), magic_wall(), make_matcher(), malloc_info(), map_info(), Map_Message(), mark_item_cmd(), meditate(), mimic_type_apply(), monster_can_detect_enemy(), monster_can_see_enemy(), monster_do_say(), monster_do_talk_npc(), move_marker(), move_symptom(), new_player_cmd(), paralyze_living(), party_form(), party_join(), party_leave(), peacemaker_type_process(), perceive_self(), pets_follow_owner(), pets_move(), pets_move_golem(), pets_summon_golem(), pets_summon_object(), pick_lock(), pick_up(), pick_up_object(), player_attack_door(), player_cancel_repeat(), player_lvl_adj(), player_start_repeat(), plugins_display_list(), poison_living(), poison_type_apply(), poisoning_type_process(), potion_type_apply(), power_crystal_type_apply(), pray_at_altar(), prayer_failure(), prepare_weapon(), print_los(), print_tod(), probe(), push_ob(), put_object_in_sack(), quest_display(), quest_info(), quest_list(), quest_set_state(), quest_start(), quest_write_player_data(), receive_party_password(), receive_play_again(), receive_player_name(), receive_player_password(), recharge(), recursive_roll(), remove_curse(), remove_depletion(), remove_force(), remove_special_prayers(), restore_player(), resurrect_player(), ring_bell(), runmessage(), runnotice(), sack_can_hold(), save_life(), save_player(), save_throw_object(), scroll_failure(), scroll_type_apply(), sell_item(), send_news(), send_rules(), send_updated_shoottype(), set_pickup_mode(), shop_describe(), shop_inventory_type_apply(), shop_mat_type_move_on(), shop_pay_unpaid_callback(), show_commands(), show_matching_spells(), show_skills(), singing(), skill_attack(), skill_ident(), skillscroll_type_apply(), slow_living(), spell_consume_items(), spell_failure(), spellbook_type_apply(), spring_trap(), swap_map(), swap_random_stats(), swap_stat(), tailor_god_spell(), time_info(), town_portal_destroy_existing(), town_portal_find_force(), 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(), unhide(), use_alchemy(), use_oratory(), use_skill(), 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 |
Definition at line 247 of file newclient.h.
Referenced by basic_emote(), command_cointoss(), command_party(), do_harvest(), god_intervention(), monster_communicate(), and party_send_message().