Crossfire Server, Branch 1.12
R12190
|
treasureliststruct represents one logical group of items to be generated together. More...
#include <treasure.h>
Data Fields | |
struct treasurestruct * | items |
Items in this list, linked. | |
const char * | name |
Usually monster-name/combination. | |
struct treasureliststruct * | next |
Next treasure-item in linked list. | |
sint16 | total_chance |
If non-zero, only 1 item on this list should be generated. |
treasureliststruct represents one logical group of items to be generated together.
Definition at line 111 of file treasure.h.
Items in this list, linked.
Definition at line 119 of file treasure.h.
Referenced by create_one_treasure(), create_treasure(), dragon_ability_gain(), dump_monster_treasure_rec(), CREResourcesWindow::fillTreasures(), find_treasure_by_name(), free_all_treasures(), load_treasures(), resurrect_player(), and CRETreasurePanel::setTreasure().
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(), and CREUtils::treasureNode().
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().
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().