Can now drag an item out of inventory and drop on the ground, then pick it back up, and put it in a loot container, and then back again. Still buggy but working for now.
This commit is contained in:
parent
68e50342e5
commit
119b3ed11d
7 changed files with 58 additions and 6 deletions
|
@ -18,6 +18,8 @@ namespace System {
|
|||
void device(DinkyECS::World &world, DinkyECS::Entity actor, DinkyECS::Entity item);
|
||||
void plan_motion(DinkyECS::World& world, Point move_to);
|
||||
std::wstring draw_map(GameLevel level, size_t view_x, size_t view_y, int compass_dir);
|
||||
DinkyECS::Entity spawn_item(GameLevel& level, const std::string& name);
|
||||
bool drop_item(GameLevel& level, DinkyECS::Entity item);
|
||||
|
||||
void enemy_ai(GameLevel &level);
|
||||
void combat(GameLevel &level, int attack_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue