Crossfire Server, Trunk  R20763
archt Struct Reference

#include <object.h>

+ Collaboration diagram for archt:

Data Fields

object clone
 
struct archthead
 
struct archtmore
 
const char * name
 
struct archtnext
 
int reference_count
 
int8_t tail_x
 
int8_t tail_y
 

Detailed Description

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

Definition at line 465 of file object.h.

Field Documentation

◆ clone

object archt::clone

An object from which to do object_copy()

Definition at line 470 of file object.h.

Referenced by account_char_add(), add_god_to_list(), add_statbonus(), addArchetypes(), alchemyTable(), animate_object(), animate_weapon(), apply_changes_to_player(), apply_race_and_class(), arch_to_object(), CREUtils::archetypeNode(), artifact_describe(), artifact_get_face(), CREUtils::artifactNode(), become_follower(), CREMapInformationManager::browseMaps(), build_class_list_reply(), build_race_list_reply(), calc_skill_exp(), calculate_difficulty(), can_build_over(), cast_cone(), cast_create_food(), cast_detection(), cfapi_archetype_get_property(), cfapi_object_set_property(), change_abil(), change_object(), check_generators(), check_login(), check_probe(), check_race_and_class(), check_spells(), check_summoned(), command_create(), command_statistics(), CREArtifactPanel::computeMadeViaAlchemy(), cost_approx_str(), cost_string_from_value(), create_all_treasures(), create_one_treasure(), create_player_cmd(), CRECombatSimulator::CRECombatSimulator(), 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_spells(), esrv_update_stats(), CREResourcesWindow::fillArchetypes(), 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_player(), fix_summon_pet(), 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_player(), get_player_archetype(), get_spell_by_name(), god_gives_present(), god_intervention(), identify(), improve_armour(), init_archetable(), init_dynamic(), init_gods(), init_mon_info(), init_races(), init_skills(), is_dragon_pl(), is_special_equipment(), is_true_undead(), key_change_class(), knowledge_alchemy_can_use_item(), knowledge_alchemy_detail(), knowledge_alchemy_face(), knowledge_alchemy_summary(), knowledge_god_detail(), knowledge_god_face(), knowledge_monster_detail(), knowledge_monster_face(), knowledge_monster_summary(), knowledge_monster_validate(), local_check_loaded_object(), magic_wall(), main(), make_formula_book(), map2_add_ob(), monster_can_pick(), monster_check_apply(), monsterFight(), monsterTable(), ob_blocked(), object_create_arch(), object_dump(), object_get_multi_size(), object_insert_in_map_at(), object_set_value_s(), old_describe_monster(), CREMainWindow::onReportAlchemy(), CREMainWindow::onReportDuplicate(), CREMainWindow::onReportPlayer(), CREMainWindow::onReportSpellDamage(), CREMainWindow::onReportSpells(), CREMainWindow::onReportSummon(), pay_from_container(), pets_summon_golem(), pets_summon_object(), place_fountain_with_specials(), player_can_view(), pntr_to_god_obj(), polymorph_item(), polymorph_living(), pray_at_altar(), price_base(), process_map(), put_a_monster(), recharge(), remove_special_prayers(), remove_statbonus(), reportSummon(), save_object(), second_arch_pass(), sell_item(), send_arch_info(), send_map_info(), send_race_info(), set_abs_magic(), set_object_face_main(), set_object_face_other(), CREWrapperFormulae::setFormulae(), CREFacePanel::setItem(), CRETreasurePanel::setItem(), CREArchetypePanel::setItem(), CREFormulaePanel::setItem(), CREArtifactPanel::setItem(), CREAnimationPanel::setItem(), sort_archetypes(), spellpath_msg(), spellsTable(), spring_trap(), START_TEST(), transport_type_apply(), treasure_find_matching_type(), trigger_connected(), worship_forbids_use(), write_on_item(), and write_scroll().

◆ head

struct archt* archt::head

◆ more

◆ name

const char* archt::name

More definite name, like "generate_kobold"

Definition at line 466 of file object.h.

Referenced by add_arch(), add_book_to_list(), addArchetypes(), alchemy_failure_effect(), animate_weapon(), apply_builder_item(), apply_builder_remove(), apply_builder_wall(), apply_builder_window(), apply_map_builder(), CREUtils::archetypeNode(), artifact_get_face(), attempt_recipe(), CREMapInformationManager::browseMaps(), 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_generators(), check_inv_recursive(), check_spells(), check_summoned(), CREMapInformationManager::checkInventory(), command_use(), common_ob_move_on(), common_pre_ob_move_on(), CREArtifactPanel::computeMadeViaAlchemy(), convert_item(), count_unpaid(), create_player_cmd(), CRECombatSimulator::CRECombatSimulator(), CREFormulaePanel::CREFormulaePanel(), deathstrike_living(), do_tell(), dump_abilities(), dump_gods(), dump_monster_treasure(), dump_races(), dump_spells(), eat_item(), examine_monster(), CRECombatSimulator::fight(), find_transmution_ob(), fix_flesh_item(), fix_object(), fix_summon_pet(), fix_walls(), free_arch(), get_exit_seed(), get_ob_diff(), get_spell_by_name(), CREMapInformationManager::getArchetypeUse(), hit_map(), hit_player(), init_archetable(), init_races(), is_road(), key_change_class(), knowledge_alchemy_attempt(), legal_artifact_combination(), load_treasures(), local_check_loaded_object(), main(), make_map_walls(), matches_sacrifice(), mon_info_msg(), mood_change(), move_duplicator(), object_dump(), object_find_by_arch_name(), object_find_by_type_and_arch_name(), CREMainWindow::onReportDuplicate(), CREMainWindow::onReportPlayer(), pets_summon_object(), pick_joined_wall(), place_fountain_with_specials(), pray_at_altar(), print_monsters(), CREMapInformationManager::process(), process_events(), resurrect_player(), save_object(), save_throw_object(), second_arch_pass(), send_map_info(), CREWrapperArchetype::setArchetype(), should_director_abort(), show_commands(), START_TEST(), transmute_materialname(), and try_find_archetype().

◆ next

◆ reference_count

int archt::reference_count

How many times this temporary archetype is used. If 0, "permanent" archetype.

Definition at line 473 of file object.h.

Referenced by cast_detection(), fix_flesh_item(), local_check_loaded_object(), object_copy(), object_free2(), and save_object().

◆ tail_x

int8_t archt::tail_x

Definition at line 471 of file object.h.

Referenced by first_arch_pass(), local_check_loaded_object(), map2_add_ob(), and monsterFight().

◆ tail_y

int8_t archt::tail_y

Where the lower right most portion of the object is in comparison to the head.

Definition at line 471 of file object.h.

Referenced by first_arch_pass(), local_check_loaded_object(), map2_add_ob(), and monsterFight().


The documentation for this struct was generated from the following file: