Crossfire Server, Branches 1.12
R18729
|
#include <treasure.h>
Data Fields | |
struct treasurestruct * | items |
const char * | name |
struct treasureliststruct * | next |
sint16 | total_chance |
treasureliststruct represents one logical group of items to be generated together.
Definition at line 111 of file treasure.h.
struct treasurestruct* treasureliststruct::items |
Items in this list, linked
Definition at line 119 of file treasure.h.
Referenced by become_follower(), cast_raise_dead_spell(), check_special_prayers(), create_one_treasure(), create_treasure(), describe_monster(), determine_holy_arch(), dragon_ability_gain(), dump_monster_treasure(), dump_monster_treasure_rec(), CREResourcesWindow::fillTreasures(), find_ingred_cost(), find_treasure_by_name(), free_all_treasures(), god_intervention(), load_treasures(), resurrect_player(), CRETreasurePanel::setTreasure(), and summon_object().
const char* treasureliststruct::name |
Usually monster-name/combination
Definition at line 112 of file treasure.h.
Referenced by check_treasurelist(), find_treasurelist(), free_all_treasures(), load_treasures(), CRETreasurePanel::setTreasure(), summon_object(), and CREUtils::treasureNode().
struct treasureliststruct* treasureliststruct::next |
Next treasure-item in linked list
Definition at line 118 of file treasure.h.
Referenced by CREResourcesWindow::fillTreasures(), find_treasurelist(), free_all_treasures(), load_treasures(), malloc_info(), and CRETreasurePanel::setTreasure().
sint16 treasureliststruct::total_chance |
If non-zero, only 1 item on this list should be generated. The total_chance contains the sum of the chance for this list.
Definition at line 113 of file treasure.h.
Referenced by create_one_treasure(), create_treasure(), CREResourcesWindow::fillTreasures(), load_treasures(), resurrect_player(), and CREUtils::treasureNode().