forked from NotAShelf/rogged
initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ie3b66d17f6f660c9b9a719210bd86f9f6a6a6964
This commit is contained in:
commit
b381e2efbd
29 changed files with 1633 additions and 0 deletions
14
src/items.h
Normal file
14
src/items.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#ifndef ITEMS_H
|
||||
#define ITEMS_H
|
||||
|
||||
#include "common.h"
|
||||
|
||||
// Item functions - types already defined in common.h
|
||||
|
||||
// Spawn items for a floor
|
||||
void item_spawn(Item items[], int *count, Map *map, int floor);
|
||||
|
||||
// Use an item
|
||||
void item_use(Player *p, Item *i);
|
||||
|
||||
#endif // ITEMS_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue