Crossfire Server, Branches 1.12
R18729
|
#include <object.h>
Data Fields | |
object | clone |
struct archt * | head |
struct archt * | more |
const char * | name |
struct archt * | next |
int | reference_count |
sint8 | tail_x |
sint8 | tail_y |
The archetype structure is a set of rules on how to generate and manipulate objects which point to archetypes. This probably belongs in arch.h, but there really doesn't appear to be much left in the archetype - all it really is is a holder for the object and pointers. This structure should get removed, and just replaced by the object structure
object archt::clone |
An object from which to do copy_object()
Definition at line 326 of file object.h.
Referenced by add_god_to_list(), add_one_item(), add_statbonus(), animate_object(), animate_weapon(), apply_changes_to_player(), arch_to_object(), CREUtils::archetypeNode(), CREUtils::artifactNode(), become_follower(), build_class_list_reply(), build_race_list_reply(), calc_skill_exp(), calculate_difficulty(), can_build_over(), cast_cone(), cast_create_food(), cfapi_archetype_get_property(), cfapi_object_set_property(), change_abil(), check_login(), check_special_prayers(), check_spells(), command_create(), command_statistics(), cost_string_from_value(), create_all_treasures(), create_one_treasure(), CREFormulaePanel::CREFormulaePanel(), describe_monster(), determine_holy_arch(), dragon_ability_gain(), drain_wand_charge(), dump_abilities(), dump_alchemy_costs(), dump_arch(), dump_gods(), dump_monster_treasure(), dump_monster_treasure_rec(), dump_object(), dump_spells(), enter_map(), find_archetype_by_object_name(), find_archetype_by_object_type_name(), find_better_arrow(), find_ingred_cost(), find_next_coin(), find_treasure_by_name(), first_arch_pass(), fix_object(), fix_stopped_arrow(), fix_summon_pet(), follow_owner(), CREUtils::formulaeNode(), free_arch(), gate_type_process(), generate_monster_arch(), get_archetype_by_skill_name(), get_archetype_by_type_subtype(), get_god_for_race(), get_multi_size(), get_player(), get_player_archetype(), get_spell_by_name(), god_gives_present(), god_intervention(), identify(), improve_armour(), init_dynamic(), init_gods(), init_mon_info(), init_races(), init_skills(), insert_multisquare_ob_in_map(), insert_ob_in_map_at(), is_dragon_pl(), is_special_equipment(), is_true_undead(), key_change_class(), local_check_loaded_object(), magic_wall(), main(), make_formula_book(), map2_add_ob(), monster_can_pick(), monster_check_apply(), ob_blocked(), object_create_arch(), pay_from_container(), player_can_view(), pntr_to_god_obj(), polymorph_item(), polymorph_living(), pray_at_altar(), process_map(), put_a_monster(), query_base_name(), query_cost(), query_cost_string(), recharge(), remove_statbonus(), second_arch_pass(), sell_item(), set_abs_magic(), set_ob_key_value_s(), set_object_face_main(), set_object_face_other(), CREAnimationPanel::setAnimation(), CREFacePanel::setFace(), CRETreasurePanel::setTreasure(), sort_archetypes(), spellpath_msg(), spring_trap(), START_TEST(), summon_golem(), summon_object(), teleport(), transfer_ob(), transport_type_apply(), trigger_connected(), worship_forbids_use(), write_on_item(), and write_scroll().
struct archt* archt::head |
The main part of a linked object
Definition at line 324 of file object.h.
Referenced by cfapi_archetype_get_property(), first_arch_pass(), and START_TEST().
struct archt* archt::more |
Next part of a linked object
Definition at line 325 of file object.h.
Referenced by cfapi_archetype_get_property(), command_create(), dump_all_archetypes(), CREResourcesWindow::fillArchetypes(), fix_container_multipart(), fix_multipart_object(), fix_summon_pet(), free_all_archs(), generate_monster_arch(), get_multi_size(), hit_player(), init_archetable(), insert_multisquare_ob_in_map(), local_check_loaded_object(), malloc_info(), move_creator(), ob_blocked(), object_create_arch(), place_monsters(), put_a_monster(), CREAnimationPanel::setAnimation(), CREFacePanel::setFace(), CRETreasurePanel::setTreasure(), START_TEST(), and summon_object().
const char* archt::name |
More definite name, like "generate_kobold"
Definition at line 322 of file object.h.
Referenced by add_arch(), add_book_to_list(), alchemy_failure_effect(), animate_weapon(), apply_builder_item(), apply_builder_remove(), apply_builder_wall(), apply_builder_window(), apply_map_builder(), CREUtils::archetypeNode(), attempt_recipe(), build_class_list_reply(), build_race_list_reply(), can_build_over(), cast_cone(), cast_raise_dead_spell(), cfapi_archetype_get_property(), cfapi_object_get_property(), check_inv_recursive(), check_item(), check_login(), check_pick(), check_spells(), command_resistances(), command_use(), common_ob_move_on(), common_pre_ob_move_on(), convert_item(), count_unpaid(), CREFormulaePanel::CREFormulaePanel(), Crossfire_Object_CheckArchInventory(), deathstrike_living(), dispel_rune(), do_tell(), dragon_ability_gain(), dragon_eat_flesh(), dragon_level_gain(), dump_abilities(), dump_gods(), dump_monster_treasure(), dump_object(), dump_races(), dump_spells(), eat_item(), find_transmution_ob(), fix_flesh_item(), fix_walls(), free_arch(), get_connection_rune(), get_exit_seed(), get_spell_by_name(), hit_map(), hit_player(), hit_with_one_attacktype(), init_races(), is_road(), key_change_class(), legal_artifact_combination(), load_treasures(), local_check_loaded_object(), main(), make_map_walls(), matches_sacrifice(), move_duplicator(), pay_from_container(), perceive_self(), pick_joined_wall(), pray_at_altar(), print_monsters(), process_events(), process_map(), remove_marking_runes(), remove_ob(), replace_insert_ob_in_map(), resurrect_player(), save_throw_object(), second_arch_pass(), should_director_abort(), START_TEST(), summon_object(), transmute_materialname(), and try_find_archetype().
struct archt* archt::next |
Next archetype in a linked list
Definition at line 323 of file object.h.
Referenced by build_class_list_reply(), build_race_list_reply(), cast_create_food(), cfapi_archetype_get_property(), check_spells(), CREFormulaePanel::CREFormulaePanel(), dump_abilities(), dump_all_archetypes(), dump_monster_treasure(), dump_spells(), CREResourcesWindow::fillArchetypes(), find_archetype_by_object_name(), find_archetype_by_object_type_name(), find_ingred_cost(), first_arch_pass(), free_all_archs(), get_archetype_by_skill_name(), get_archetype_by_type_subtype(), get_player_archetype(), get_spell_by_name(), init_archetable(), init_dynamic(), init_gods(), init_mon_info(), init_skills(), main(), malloc_info(), polymorph_item(), polymorph_living(), print_monsters(), CREAnimationPanel::setAnimation(), CREFacePanel::setFace(), CRETreasurePanel::setTreasure(), spellpath_msg(), and START_TEST().
int archt::reference_count |
How many times this temporary archetype is used. If 0, "permanent" archetype.
Definition at line 329 of file object.h.
Referenced by copy_object(), fix_flesh_item(), free_object2(), and local_check_loaded_object().
sint8 archt::tail_x |
Definition at line 327 of file object.h.
Referenced by first_arch_pass(), local_check_loaded_object(), and map2_add_ob().
sint8 archt::tail_y |
Where the lower right most portion of the object is in comparison to the head.
Definition at line 327 of file object.h.
Referenced by first_arch_pass(), local_check_loaded_object(), and map2_add_ob().