diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/game.hpp | 3 | ||||
-rw-r--r-- | src/game/pseudostate.cpp | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index 3e5042c..31eb164 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -163,12 +163,11 @@ namespace game { }; enum { - TILE_NONE, + TILE_WATER = 0, // special value TILE_DIRT, TILE_DIRT_RED, TILE_STONE, TILE_STONE_RED, - TILE_WATER, TILE_GRAVEL }; diff --git a/src/game/pseudostate.cpp b/src/game/pseudostate.cpp index 5b64b9e..969b979 100644 --- a/src/game/pseudostate.cpp +++ b/src/game/pseudostate.cpp @@ -53,6 +53,11 @@ world::world_t *pseudostate_t::get_world(void) return &pimpl->world; } +double pseudostate_t::get_render_time(void) +{ + return pimpl->now; +} + void pseudostate_t::render_interface_to(render::state_t *render) { pimpl->interface.render_to(render); |