blob: 5da63707fa4eb7b818d9548e085173d08b7fd3cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include "../common.hpp"
namespace game {
enum {
TILE_NONE,
TILE_DIRT,
TILE_WALL
};
void worldgen(world::tile_t *tile, world::tile_index_t x,
procgen::perlin_noise_t *perlin);
namespace assets {
typedef struct {
render::oriented_sprite_4M_t head_idle, body_idle;
render::oriented_sprite_4M2_t legs_idle, legs_walking;
} human_assets_t;
extern human_assets_t human;
extern sf::Texture tile_dirt;
extern sf::Texture tile_wall;
void load(void);
}
};
|