fix: removed gd:: prefix from GDREGISTER_CLASS macro uses

main
Sara 2024-08-15 20:51:40 +02:00
parent 28938ae929
commit 79c37a3ccc
1 changed files with 6 additions and 8 deletions

View File

@ -7,15 +7,13 @@
#include "spawn_point.hpp" #include "spawn_point.hpp"
#include <godot_cpp/core/class_db.hpp> #include <godot_cpp/core/class_db.hpp>
namespace gd = godot;
namespace utils { namespace utils {
void godot_cpp_utils_register_types() { void godot_cpp_utils_register_types() {
gd::GDREGISTER_CLASS(utils::GameMode); GDREGISTER_CLASS(utils::GameMode);
gd::GDREGISTER_CLASS(utils::GameRoot3D); GDREGISTER_CLASS(utils::GameRoot3D);
gd::GDREGISTER_CLASS(utils::GameState); GDREGISTER_CLASS(utils::GameState);
gd::GDREGISTER_CLASS(utils::Level3D); GDREGISTER_CLASS(utils::Level3D);
gd::GDREGISTER_CLASS(utils::PlayerInput); GDREGISTER_CLASS(utils::PlayerInput);
gd::GDREGISTER_CLASS(utils::SpawnPoint3D); GDREGISTER_CLASS(utils::SpawnPoint3D);
} }
} }