summaryrefslogtreecommitdiffhomepage
path: root/editor
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 /editor
parent07a9588271d30c69353dbea840eddeb519c472c5 (diff)
zw
Diffstat (limited to 'editor')
-rw-r--r--editor/app.cpp2
-rw-r--r--editor/app.hpp4
-rw-r--r--editor/editor.hpp2
-rw-r--r--editor/ground-editor.hpp2
-rw-r--r--editor/scenery-editor.hpp2
-rw-r--r--editor/vobj-editor.hpp2
-rw-r--r--editor/wall-editor.hpp2
7 files changed, 8 insertions, 8 deletions
diff --git a/editor/app.cpp b/editor/app.cpp
index 7cb0075a..94e78576 100644
--- a/editor/app.cpp
+++ b/editor/app.cpp
@@ -97,7 +97,7 @@ std::shared_ptr<critter> app::ensure_player_character(world& w)
return ret;
}
-void app::reset_world(struct world&& w_)
+void app::reset_world(class world&& w_)
{
if (!M)
return;
diff --git a/editor/app.hpp b/editor/app.hpp
index 8e76a9dd..5aefe4f5 100644
--- a/editor/app.hpp
+++ b/editor/app.hpp
@@ -30,7 +30,7 @@ namespace floormat {
struct fm_settings;
struct floormat_main;
-struct world;
+class world;
struct chunk;
class ground_atlas;
class anim_atlas;
@@ -97,7 +97,7 @@ private:
void maybe_initialize_chunk_(const chunk_coords_& pos, chunk& c);
void update_character(float dt);
void reset_world();
- void reset_world(struct world&& w);
+ void reset_world(class world&& w);
void draw() override;
diff --git a/editor/editor.hpp b/editor/editor.hpp
index 07f5e332..69a5277f 100644
--- a/editor/editor.hpp
+++ b/editor/editor.hpp
@@ -14,7 +14,7 @@
namespace floormat {
-struct world;
+class world;
class anim_atlas;
class ground_atlas;
struct app;
diff --git a/editor/ground-editor.hpp b/editor/ground-editor.hpp
index 5f2399ff..55afec92 100644
--- a/editor/ground-editor.hpp
+++ b/editor/ground-editor.hpp
@@ -10,7 +10,7 @@
namespace floormat {
-struct world;
+class world;
struct ground_info;
class ground_editor final
diff --git a/editor/scenery-editor.hpp b/editor/scenery-editor.hpp
index dec74b95..873124a8 100644
--- a/editor/scenery-editor.hpp
+++ b/editor/scenery-editor.hpp
@@ -8,7 +8,7 @@ namespace floormat {
class anim_atlas;
struct global_coords;
-struct world;
+class world;
struct app;
class scenery_editor final
diff --git a/editor/vobj-editor.hpp b/editor/vobj-editor.hpp
index e92c6abe..d5af27ba 100644
--- a/editor/vobj-editor.hpp
+++ b/editor/vobj-editor.hpp
@@ -7,7 +7,7 @@
namespace floormat {
-struct world;
+class world;
struct global_coords;
struct object;
class anim_atlas;
diff --git a/editor/wall-editor.hpp b/editor/wall-editor.hpp
index 4379a909..159135a0 100644
--- a/editor/wall-editor.hpp
+++ b/editor/wall-editor.hpp
@@ -8,7 +8,7 @@
namespace floormat {
-struct world;
+class world;
class wall_atlas;
class wall_editor