chore: added UTILS_ prefix to include guards

main
Sara 2024-05-29 23:05:39 +02:00
parent ccf149b2c6
commit 7251a29ecd
5 changed files with 15 additions and 15 deletions

View File

@ -1,5 +1,5 @@
#ifndef GAME_MODE_HPP #ifndef UTILS_GAME_MODE_HPP
#define GAME_MODE_HPP #define UTILS_GAME_MODE_HPP
#include <godot_cpp/classes/packed_scene.hpp> #include <godot_cpp/classes/packed_scene.hpp>
#include <godot_cpp/classes/resource.hpp> #include <godot_cpp/classes/resource.hpp>
@ -26,4 +26,4 @@ private:
}; };
} }
#endif // !GAME_MODE_HPP #endif // !UTILS_GAME_MODE_HPP

View File

@ -1,5 +1,5 @@
#ifndef GAME_ROOT_HPP #ifndef UTILS_GAME_ROOT_HPP
#define GAME_ROOT_HPP #define UTILS_GAME_ROOT_HPP
#include "game_mode.hpp" #include "game_mode.hpp"
#include "game_state.hpp" #include "game_state.hpp"
@ -146,4 +146,4 @@ private:
}; };
} }
#endif // !GAME_ROOT_HPP #endif // !UTILS_GAME_ROOT_HPP

View File

@ -1,5 +1,5 @@
#ifndef GAME_STATE_HPP #ifndef UTILS_GAME_STATE_HPP
#define GAME_STATE_HPP #define UTILS_GAME_STATE_HPP
#include <godot_cpp/classes/resource.hpp> #include <godot_cpp/classes/resource.hpp>
@ -15,4 +15,4 @@ public:
}; };
} }
#endif // !GAME_STATE_HPP #endif // !UTILS_GAME_STATE_HPP

View File

@ -1,5 +1,5 @@
#ifndef LEVEL_HPP #ifndef UTILS_LEVEL_HPP
#define LEVEL_HPP #define UTILS_LEVEL_HPP
#include "game_mode.hpp" #include "game_mode.hpp"
#include <godot_cpp/classes/node3d.hpp> #include <godot_cpp/classes/node3d.hpp>
@ -22,4 +22,4 @@ private:
}; };
} }
#endif // !LEVEL_HPP #endif // !UTILS_LEVEL_HPP

View File

@ -1,5 +1,5 @@
#ifndef PLAYER_INPUT_HPP #ifndef UTILS_PLAYER_INPUT_HPP
#define PLAYER_INPUT_HPP #define UTILS_PLAYER_INPUT_HPP
#include <optional> #include <optional>
#include <godot_cpp/classes/input.hpp> #include <godot_cpp/classes/input.hpp>
@ -107,4 +107,4 @@ private:
} }
#endif // !PLAYER_INPUT_HPP #endif // !UTILS_PLAYER_INPUT_HPP