summaryrefslogtreecommitdiffhomepage
path: root/floormat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-13 05:31:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-13 05:31:32 +0100
commitcbf13666d2db374f1564441b1f68371ac69cf096 (patch)
treea9bce22d12262ea98e74128f6fb10e04b1459579 /floormat
parent07a9588271d30c69353dbea840eddeb519c472c5 (diff)
zw
Diffstat (limited to 'floormat')
-rw-r--r--floormat/main.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/floormat/main.hpp b/floormat/main.hpp
index 27404fe3..ead48a8d 100644
--- a/floormat/main.hpp
+++ b/floormat/main.hpp
@@ -13,7 +13,7 @@ struct fm_settings;
struct floormat_app;
struct tile_shader;
struct lightmap_shader;
-struct world;
+class world;
struct scenery;
class anim_atlas;
struct clickable;
@@ -69,9 +69,9 @@ struct floormat_main
[[nodiscard]] static bool check_chunk_visible(const Vector2d& offset, const Vector2i& size) noexcept;
virtual struct meshes meshes() noexcept = 0;
- virtual struct world& world() noexcept = 0;
- virtual struct world& reset_world() noexcept = 0;
- virtual struct world& reset_world(struct world&& w) noexcept = 0;
+ virtual class world& world() noexcept = 0;
+ virtual class world& reset_world() noexcept = 0;
+ virtual class world& reset_world(class world&& w) noexcept = 0;
virtual SDL_Window* window() noexcept = 0;
Vector2 dpi_scale() const noexcept { return _dpi_scale; }
static int get_mods() noexcept;