I have a test now that can generate a map image so I'll make it look nice there before bringing the code into the game.
This commit is contained in:
parent
cfefffe1cc
commit
2c011079a8
7 changed files with 103 additions and 50 deletions
|
@ -19,12 +19,12 @@ namespace System {
|
|||
void init_positions(World &world, SpatialMap &collider);
|
||||
void device(World &world, Entity actor, Entity item);
|
||||
void plan_motion(World& world, Position move_to);
|
||||
std::wstring draw_map(GameLevel level, size_t view_x, size_t view_y, int compass_dir);
|
||||
std::wstring draw_map(GameLevel& level, size_t view_x, size_t view_y, int compass_dir);
|
||||
Entity spawn_item(World& world, const string& name);
|
||||
bool drop_item(GameLevel& level, Entity item);
|
||||
|
||||
void enemy_ai(GameLevel &level);
|
||||
void combat(GameLevel &level, int attack_id);
|
||||
void combat(GameLevel& level, int attack_id);
|
||||
|
||||
std::shared_ptr<sf::Shader> sprite_effect(GameLevel &level, Entity entity);
|
||||
void player_status(GameLevel &level);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue