Separate headers from src and make the headers hpp
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
* This is free and unencumbered software released into the public domain.
|
||||
*/
|
||||
|
||||
#include "register_types.h"
|
||||
#include "register_types.hpp"
|
||||
|
||||
#include <gdextension_interface.h>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#include <godot_cpp/core/defs.hpp>
|
||||
#include <godot_cpp/godot.hpp>
|
||||
|
||||
#include "test.h"
|
||||
#include "test.hpp"
|
||||
|
||||
using namespace godot;
|
||||
|
||||
|
@ -1,16 +0,0 @@
|
||||
/* godot-cpp integration testing project.
|
||||
*
|
||||
* This is free and unencumbered software released into the public domain.
|
||||
*/
|
||||
|
||||
#ifndef EXAMPLE_REGISTER_TYPES_H
|
||||
#define EXAMPLE_REGISTER_TYPES_H
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
|
||||
using namespace godot;
|
||||
|
||||
void initialize_test_module(ModuleInitializationLevel p_level);
|
||||
void uninitialize_test_module(ModuleInitializationLevel p_level);
|
||||
|
||||
#endif // EXAMPLE_REGISTER_TYPES_H
|
@ -1,4 +1,4 @@
|
||||
#include "test.h"
|
||||
#include "test.hpp"
|
||||
|
||||
#include <godot_cpp/variant/utility_functions.hpp>
|
||||
|
||||
|
@ -1,17 +0,0 @@
|
||||
#ifndef TEST_H
|
||||
#define TEST_H
|
||||
|
||||
#include <godot_cpp/classes/node3d.hpp>
|
||||
|
||||
using namespace godot;
|
||||
|
||||
class Test : public Node3D {
|
||||
GDCLASS(Test, Node3D);
|
||||
|
||||
public:
|
||||
void start_test();
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
};
|
||||
#endif
|
Reference in New Issue
Block a user