summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--src/level-main.cpp (renamed from src/scene-main.cpp)4
-rw-r--r--src/level-main.hpp (renamed from src/scene-main.hpp)6
-rw-r--r--src/pke-at.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 75bb9bd..c0e9f52 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ bin/pke-at: ## Builds the pke-at executable
bin/pke-at: obj/main.o
bin/pke-at: obj/pke-at-settings.o
bin/pke-at: obj/pke-at.o
-bin/pke-at: obj/scene-main.o
+bin/pke-at: obj/level-main.o
$(CXX) -v -std=c++23 $(BUILD_MODE_FLAGS) $(INCS) $^ $(LDFLAGS) $(CXXFLAGS) -o $@
.PHONY: clean
diff --git a/src/scene-main.cpp b/src/level-main.cpp
index 3e75b7c..d0cfcba 100644
--- a/src/scene-main.cpp
+++ b/src/level-main.cpp
@@ -1,9 +1,9 @@
-#include "scene-main.hpp"
+#include "level-main.hpp"
#include "pke/level.hpp"
-struct pke_scene_main_master {
+struct pke_level_main_master {
pke_level *level;
} main_mstr;
diff --git a/src/scene-main.hpp b/src/level-main.hpp
index 1fbabff..16d5c76 100644
--- a/src/scene-main.hpp
+++ b/src/level-main.hpp
@@ -1,5 +1,5 @@
-#ifndef PKE_AT_SCENE_MAIN_HPP
-#define PKE_AT_SCENE_MAIN_HPP
+#ifndef PKE_AT_LEVEL_MAIN_HPP
+#define PKE_AT_LEVEL_MAIN_HPP
#include "pke/level-types.hpp"
@@ -8,4 +8,4 @@ void pke_at_level_main_init();
void pke_at_level_main_tick(double delta);
void pke_at_level_main_teardown();
-#endif /* PKE_AT_SCENE_MAIN_HPP */
+#endif /* PKE_AT_LEVEL_MAIN_HPP */
diff --git a/src/pke-at.cpp b/src/pke-at.cpp
index f62343e..f256a10 100644
--- a/src/pke-at.cpp
+++ b/src/pke-at.cpp
@@ -3,7 +3,7 @@
#include "pke-at.hpp"
#include "pke/level.hpp"
-#include "scene-main.hpp"
+#include "level-main.hpp"
struct pke_at_master {
struct pke_at_master_states {