![]() |
Crossfire Server, Trunk
1.75.0
|
The archetype structure is a set of rules on how to generate and manipulate objects which point to archetypes. More...
#include <object.h>
Data Fields | |
object | clone |
An object from which to do object_copy() More... | |
archetype * | head |
The main part of a linked object. More... | |
archetype * | more |
Next part of a linked object. More... | |
sstring | name |
More definite name, like "generate_kobold". More... | |
int | reference_count |
How many times this temporary archetype is used. More... | |
int8_t | tail_x |
int8_t | tail_y |
Where the lower right most portion of the object is in comparison to the head. More... | |
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 archetype::clone |
An object from which to do object_copy()
Definition at line 487 of file object.h.
Referenced by account_char_add(), add_god_to_list(), add_statbonus(), alchemy_object(), animate_object(), annotate_ob(), apply_changes_to_player(), apply_race_and_class(), arch_to_object(), artifact_describe(), artifact_get_face(), asset_destroy(), assets_finish_archetypes_for_play(), build_race_list_reply(), calculate_difficulty(), can_build_over(), can_pay(), cast_create_food(), cfapi_archetype_get_property(), cfapi_object_set_property(), change_abil(), change_object(), check_loaded_object(), check_login(), check_probe(), check_race_and_class(), command_create(), command_statistics(), cost_approx_str(), cost_string_from_value(), create_player_cmd(), determine_holy_arch(), do_each_skill(), do_item_conversion(), do_monster(), do_spellpath_msg(), doWrite(), dragon_ability_gain(), drain_wand_charge(), dump_abilities(), dump_alchemy_costs(), dump_arch(), dump_gods(), esrv_update_stats(), find_better_arrow(), find_enclosed_spot(), find_next_coin(), fix_object(), fix_player(), fix_summon_pet(), food_each(), free_arch(), gate_type_process(), generate_monster_arch(), get_archetype_struct(), get_player(), get_player_archetype(), god_gives_present(), god_intervention(), hit_with_drain(), identify(), init_dynamic(), is_dragon_pl(), is_special_equipment(), is_true_undead(), key_change_class(), knowledge_alchemy_can_use_item(), knowledge_alchemy_detail(), knowledge_alchemy_summary(), knowledge_god_detail(), knowledge_god_face(), ArchetypeLoader::load(), magic_wall(), make_formula_book(), make_item_from_recipe(), map2_add_ob(), monster_check_apply(), move_aura(), ob_blocked(), object_create_arch(), object_dump(), object_get_multi_size(), object_insert_in_map_at(), object_set_value_s(), pay_from_container(), pets_summon_golem(), pets_summon_object(), place_fountain_with_specials(), play_sound_player_only(), player_can_view(), polymorph_item(), pray_at_altar(), price_base(), process_map(), put_a_monster(), recharge(), recipe_find_ingredient_cost(), recipe_get_face(), Archetypes::recursive_update(), remove_special_prayers(), remove_statbonus(), Archetypes::replace(), save_object_in_sb(), sell_item(), send_arch_info(), send_class_info(), send_race_info(), set_abs_magic(), set_object_face_main(), set_object_face_other(), spring_trap(), transport_type_apply(), trigger_connected(), while(), worship_forbids_use(), ArtifactWriter::write(), write_on_item(), and write_scroll().
archetype* archetype::head |
The main part of a linked object.
Definition at line 485 of file object.h.
Referenced by artifact_get_face(), cfapi_archetype_get_property(), do_monster(), get_archetype_struct(), ArchetypeLoader::load(), and ArchetypeWriter::write().
archetype* archetype::more |
Next part of a linked object.
Definition at line 486 of file object.h.
Referenced by cfapi_archetype_get_property(), change_object(), check_loaded_object(), command_create(), doWrite(), fix_container_multipart(), fix_summon_pet(), get_archetype_struct(), hit_player(), move_creator(), ob_blocked(), object_create_arch(), object_fix_multipart(), object_get_multi_size(), object_handle_death_animation(), pets_summon_object(), place_monsters(), and put_a_monster().
sstring archetype::name |
More definite name, like "generate_kobold".
Definition at line 484 of file object.h.
Referenced by add_book_to_list(), alchemy_failure_effect(), animate_weapon(), apply_builder_item(), apply_builder_wall(), apply_builder_window(), apply_map_builder(), attempt_recipe(), can_build_over(), cfapi_archetype_get_property(), cfapi_object_get_property(), check_inv_recursive(), check_loaded_object(), command_use(), common_pre_ob_move_on(), count_coins(), create_player_cmd(), deathstrike_living(), do_item_conversion(), do_single_item(), doWrite(), dump_abilities(), dump_gods(), eat_item(), find_recipe(), find_transmution_ob(), fix_flesh_item(), fix_object(), fix_summon_pet(), fix_walls(), free_arch(), get_archetype_struct(), get_exit_seed(), get_ob_diff(), hit_map(), hit_player(), is_road(), key_change_class(), knowledge_alchemy_attempt(), legal_artifact_combination(), ArchetypeLoader::load(), make_map_walls(), matches_sacrifice(), mon_info_msg(), move_duplicator(), move_teleporter(), object_dump(), object_find_by_arch_name(), object_find_by_type_and_arch_name(), object_in_icecube(), object_insert_in_ob(), pets_summon_object(), pick_joined_wall(), place_fountain_with_specials(), pray_at_altar(), print_monsters(), process_events(), Archetypes::recursive_update(), save_object_in_sb(), save_throw_object(), shop_price_buy(), shop_price_sell(), should_director_abort(), transmute_materialname(), while(), and writeItem().
int archetype::reference_count |
How many times this temporary archetype is used.
If 0, "permanent" archetype.
Definition at line 490 of file object.h.
Referenced by cast_detection(), check_loaded_object(), fix_flesh_item(), object_copy_no_speed(), object_free(), and save_object_in_sb().
int8_t archetype::tail_x |
Definition at line 488 of file object.h.
Referenced by check_loaded_object(), ArchetypeLoader::load(), and map2_add_ob().
int8_t archetype::tail_y |
Where the lower right most portion of the object is in comparison to the head.
Definition at line 488 of file object.h.
Referenced by check_loaded_object(), ArchetypeLoader::load(), and map2_add_ob().