DungeonCrawl
Loading...
Searching...
No Matches
loot_generation.h
Go to the documentation of this file.
1
5
#ifndef LOOT_GENERATION_H
6
#define LOOT_GENERATION_H
7
8
#include "
../character/monster.h
"
9
#include "
../item/gear.h
"
10
#include "
../item/potion.h
"
11
20
void
generate_loot
(
character_t
* character,
gear_table_t
* gear_table,
potion_table_t
* potion_table,
int
rolls);
21
22
#endif
// LOOT_GENERATION_H
gear.h
Exposes functions for working with gear.
generate_loot
void generate_loot(character_t *character, gear_table_t *gear_table, potion_table_t *potion_table, int rolls)
Generates loot for a character by randomly selecting a number of gear and potions.
Definition
loot_generation.c:10
monster.h
Declares routines for creating and destroying monster characters.
potion.h
Exposes functions for working with potions.
character_t
Definition
character.h:26
gear_table_t
Definition
gear.h:45
potion_table_t
Definition
potion.h:26
src
item
loot_generation.h
Generated by
1.14.0