From 1a198c4589459cd33568cd437f7125794c2a2ff6 Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 23 Oct 2023 14:14:03 +0200 Subject: [PATCH] Use .h header files instead of .hpp. --- README.md | 4 +- binding_generator.py | 46 ++++++++-------- include/core/{AABB.hpp => AABB.h} | 4 +- include/core/{Array.hpp => Array.h} | 2 +- include/core/{Basis.hpp => Basis.h} | 6 +-- include/core/{Color.hpp => Color.h} | 6 +-- include/core/{CoreTypes.hpp => CoreTypes.h} | 54 +++++++++---------- include/core/{Defs.hpp => Defs.h} | 4 +- include/core/{Dictionary.hpp => Dictionary.h} | 6 +-- include/core/{Mathp.hpp => Mathp.h} | 4 +- include/core/{NodePath.hpp => NodePath.h} | 2 +- include/core/{Godot.hpp => Pandemonium.h} | 14 ++--- .../{GodotGlobal.hpp => PandemoniumGlobal.h} | 6 +-- ...otProfiling.hpp => PandemoniumProfiling.h} | 4 +- include/core/{Plane.hpp => Plane.h} | 4 +- include/core/{PoolArrays.hpp => PoolArrays.h} | 16 +++--- include/core/{Projection.hpp => Projection.h} | 12 ++--- include/core/{Quaternion.hpp => Quaternion.h} | 4 +- include/core/{RID.hpp => RID.h} | 2 +- include/core/{Rect2.hpp => Rect2.h} | 4 +- include/core/{Rect2i.hpp => Rect2i.h} | 4 +- include/core/{Ref.hpp => Ref.h} | 8 +-- include/core/{String.hpp => String.h} | 2 +- include/core/{StringName.hpp => StringName.h} | 2 +- include/core/{TagDB.hpp => TagDB.h} | 2 +- include/core/{Transform.hpp => Transform.h} | 8 +-- .../core/{Transform2D.hpp => Transform2D.h} | 4 +- include/core/{Variant.hpp => Variant.h} | 44 +++++++-------- include/core/{Vector2.hpp => Vector2.h} | 6 +-- include/core/{Vector2i.hpp => Vector2i.h} | 6 +-- include/core/{Vector3.hpp => Vector3.h} | 6 +-- include/core/{Vector3i.hpp => Vector3i.h} | 6 +-- include/core/{Vector4.hpp => Vector4.h} | 6 +-- include/core/{Vector4i.hpp => Vector4i.h} | 6 +-- include/core/{Wrapped.hpp => Wrapped.h} | 2 +- misc/hooks/pre-commit-clang-format | 4 +- misc/scripts/clang_format.sh | 2 +- src/core/AABB.cpp | 6 +-- src/core/Array.cpp | 8 +-- src/core/Basis.cpp | 10 ++-- src/core/Color.cpp | 6 +-- src/core/Dictionary.cpp | 8 +-- src/core/NodePath.cpp | 6 +-- ...{GodotGlobal.cpp => PandemoniumGlobal.cpp} | 8 +-- ...Profiling.cpp => PandemoniumProfiling.cpp} | 4 +- src/core/Plane.cpp | 4 +- src/core/PoolArrays.cpp | 16 +++--- src/core/Projection.cpp | 2 +- src/core/Quaternion.cpp | 8 +-- src/core/RID.cpp | 4 +- src/core/Rect2.cpp | 8 +-- src/core/Rect2i.cpp | 6 +-- src/core/String.cpp | 12 ++--- src/core/StringName.cpp | 12 ++--- src/core/TagDB.cpp | 4 +- src/core/Transform.cpp | 10 ++-- src/core/Transform2D.cpp | 8 +-- src/core/Variant.cpp | 10 ++-- src/core/Vector2.cpp | 4 +- src/core/Vector2i.cpp | 4 +- src/core/Vector3.cpp | 6 +-- src/core/Vector3i.cpp | 4 +- src/core/Vector4.cpp | 4 +- src/core/Vector4i.cpp | 4 +- test/src/init.cpp | 4 +- 65 files changed, 256 insertions(+), 256 deletions(-) rename include/core/{AABB.hpp => AABB.h} (97%) rename include/core/{Array.hpp => Array.h} (98%) rename include/core/{Basis.hpp => Basis.h} (99%) rename include/core/{Color.hpp => Color.h} (97%) rename include/core/{CoreTypes.hpp => CoreTypes.h} (76%) rename include/core/{Defs.hpp => Defs.h} (98%) rename include/core/{Dictionary.hpp => Dictionary.h} (96%) rename include/core/{Mathp.hpp => Mathp.h} (95%) rename include/core/{NodePath.hpp => NodePath.h} (97%) rename include/core/{Godot.hpp => Pandemonium.h} (99%) rename include/core/{GodotGlobal.hpp => PandemoniumGlobal.h} (96%) rename include/core/{GodotProfiling.hpp => PandemoniumProfiling.h} (96%) rename include/core/{Plane.hpp => Plane.h} (97%) rename include/core/{PoolArrays.hpp => PoolArrays.h} (98%) rename include/core/{Projection.hpp => Projection.h} (96%) rename include/core/{Quaternion.hpp => Quaternion.h} (97%) rename include/core/{RID.hpp => RID.h} (97%) rename include/core/{Rect2.hpp => Rect2.h} (98%) rename include/core/{Rect2i.hpp => Rect2i.h} (96%) rename include/core/{Ref.hpp => Ref.h} (97%) rename include/core/{String.hpp => String.h} (98%) rename include/core/{StringName.hpp => StringName.h} (97%) rename include/core/{TagDB.hpp => TagDB.h} (97%) rename include/core/{Transform.hpp => Transform.h} (97%) rename include/core/{Transform2D.hpp => Transform2D.h} (98%) rename include/core/{Variant.hpp => Variant.h} (92%) rename include/core/{Vector2.hpp => Vector2.h} (98%) rename include/core/{Vector2i.hpp => Vector2i.h} (95%) rename include/core/{Vector3.hpp => Vector3.h} (98%) rename include/core/{Vector3i.hpp => Vector3i.h} (95%) rename include/core/{Vector4.hpp => Vector4.h} (95%) rename include/core/{Vector4i.hpp => Vector4i.h} (95%) rename include/core/{Wrapped.hpp => Wrapped.h} (97%) rename src/core/{GodotGlobal.cpp => PandemoniumGlobal.cpp} (98%) rename src/core/{GodotProfiling.cpp => PandemoniumProfiling.cpp} (89%) diff --git a/README.md b/README.md index 90c0d2c..8786fc6 100644 --- a/README.md +++ b/README.md @@ -156,8 +156,8 @@ You can optionally add the following options to the SCons command line: Create `init.cpp` under `SimpleLibrary/src/` and add the following code: ```cpp -#include -#include +#include +#include using namespace pandemonium; diff --git a/binding_generator.py b/binding_generator.py index a7aae53..a58dcf7 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -23,13 +23,13 @@ def get_file_list(api_filepath, output_dir, headers=False, sources=False): include_gen_folder = Path(output_dir) / "include" / "gen" source_gen_folder = Path(output_dir) / "src" / "gen" for _class in classes: - header_filename = include_gen_folder / (strip_name(_class["name"]) + ".hpp") + header_filename = include_gen_folder / (strip_name(_class["name"]) + ".h") source_filename = source_gen_folder / (strip_name(_class["name"]) + ".cpp") if headers: files.append(str(header_filename.as_posix())) if sources: files.append(str(source_filename.as_posix())) - icall_header_filename = include_gen_folder / "__icalls.hpp" + icall_header_filename = include_gen_folder / "__icalls.h" register_types_filename = source_gen_folder / "__register_types.cpp" init_method_bindings_filename = source_gen_folder / "__init_method_bindings.cpp" if headers: @@ -79,7 +79,7 @@ def generate_bindings(api_filepath, use_template_get_node, output_dir="."): impl = generate_class_implementation(icalls, used_classes, c, use_template_get_node) - header_filename = include_gen_folder / (strip_name(c["name"]) + ".hpp") + header_filename = include_gen_folder / (strip_name(c["name"]) + ".h") with header_filename.open("w+") as header_file: header_file.write(header) @@ -87,7 +87,7 @@ def generate_bindings(api_filepath, use_template_get_node, output_dir="."): with source_filename.open("w+") as source_file: source_file.write(impl) - icall_header_filename = include_gen_folder / "__icalls.hpp" + icall_header_filename = include_gen_folder / "__icalls.h" with icall_header_filename.open("w+") as icall_header_file: icall_header_file.write(generate_icall_header(icalls)) @@ -137,17 +137,17 @@ def generate_class_header(used_classes, c, use_template_get_node): source.append("#include ") source.append("") - source.append("#include ") + source.append("#include ") class_name = strip_name(c["name"]) # Ref is not included in object.h in Pandemonium either, # so don't include it here because it's not needed if class_name != "Object" and class_name != "Reference": - source.append("#include ") + source.append("#include ") ref_allowed = True else: - source.append("#include ") + source.append("#include ") ref_allowed = False included = [] @@ -157,17 +157,17 @@ def generate_class_header(used_classes, c, use_template_get_node): used_class_name = remove_enum_prefix(extract_nested_type(used_class)) if used_class_name not in included: included.append(used_class_name) - source.append('#include "' + used_class_name + '.hpp"') + source.append('#include "' + used_class_name + '.h"') elif is_enum(used_class) and is_nested_type(used_class) and not is_nested_type(used_class, class_name): used_class_name = remove_enum_prefix(used_class) if used_class_name not in included: included.append(used_class_name) - source.append('#include "' + used_class_name + '.hpp"') + source.append('#include "' + used_class_name + '.h"') source.append("") if c["base_class"] != "": - source.append('#include "' + strip_name(c["base_class"]) + '.hpp"') + source.append('#include "' + strip_name(c["base_class"]) + '.h"') source.append("namespace pandemonium {") source.append("") @@ -418,18 +418,18 @@ def generate_class_implementation(icalls, used_classes, c, use_template_get_node ref_allowed = class_name != "Object" and class_name != "Reference" source = [] - source.append('#include "' + class_name + '.hpp"') + source.append('#include "' + class_name + '.h"') source.append("") source.append("") - source.append("#include ") - source.append("#include ") - source.append("#include ") + source.append("#include ") + source.append("#include ") + source.append("#include ") - source.append("#include ") + source.append("#include ") source.append("") - source.append('#include "__icalls.hpp"') + source.append('#include "__icalls.h"') source.append("") source.append("") @@ -437,7 +437,7 @@ def generate_class_implementation(icalls, used_classes, c, use_template_get_node if is_enum(used_class): continue else: - source.append('#include "' + strip_name(used_class) + '.hpp"') + source.append('#include "' + strip_name(used_class) + '.h"') source.append("") source.append("") @@ -686,9 +686,9 @@ def generate_icall_header(icalls): source.append("#include ") source.append("") - source.append("#include ") - source.append("#include ") - source.append('#include "Object.hpp"') + source.append("#include ") + source.append("#include ") + source.append('#include "Object.h"') source.append("") source.append("") @@ -780,12 +780,12 @@ def generate_icall_header(icalls): def generate_type_registry(classes): source = [] - source.append('#include "TagDB.hpp"') + source.append('#include "TagDB.h"') source.append("#include ") source.append("\n") for c in classes: - source.append("#include <" + strip_name(c["name"]) + ".hpp>") + source.append("#include <" + strip_name(c["name"]) + ".h>") source.append("") source.append("") @@ -828,7 +828,7 @@ def generate_init_method_bindings(classes): source = [] for c in classes: - source.append("#include <" + strip_name(c["name"]) + ".hpp>") + source.append("#include <" + strip_name(c["name"]) + ".h>") source.append("") source.append("") diff --git a/include/core/AABB.hpp b/include/core/AABB.h similarity index 97% rename from include/core/AABB.hpp rename to include/core/AABB.h index 6d8529a..71c5bb2 100644 --- a/include/core/AABB.hpp +++ b/include/core/AABB.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* AABB.hpp */ +/* AABB.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,7 +31,7 @@ #ifndef AABB_H #define AABB_H -#include "Vector3.hpp" +#include "Vector3.h" #include diff --git a/include/core/Array.hpp b/include/core/Array.h similarity index 98% rename from include/core/Array.hpp rename to include/core/Array.h index d446ea1..d8ceef8 100644 --- a/include/core/Array.hpp +++ b/include/core/Array.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Array.hpp */ +/* Array.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ diff --git a/include/core/Basis.hpp b/include/core/Basis.h similarity index 99% rename from include/core/Basis.hpp rename to include/core/Basis.h index f815373..01cdb45 100644 --- a/include/core/Basis.hpp +++ b/include/core/Basis.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Basis.hpp */ +/* Basis.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,9 +33,9 @@ #include -#include "Defs.hpp" +#include "Defs.h" -#include "Vector3.hpp" +#include "Vector3.h" namespace pandemonium { diff --git a/include/core/Color.hpp b/include/core/Color.h similarity index 97% rename from include/core/Color.hpp rename to include/core/Color.h index e675928..170f73c 100644 --- a/include/core/Color.hpp +++ b/include/core/Color.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Color.hpp */ +/* Color.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -35,8 +35,8 @@ #include -#include "Defs.hpp" -#include "String.hpp" +#include "Defs.h" +#include "String.h" namespace pandemonium { diff --git a/include/core/CoreTypes.hpp b/include/core/CoreTypes.h similarity index 76% rename from include/core/CoreTypes.hpp rename to include/core/CoreTypes.h index add6fc4..4d453a8 100644 --- a/include/core/CoreTypes.hpp +++ b/include/core/CoreTypes.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* CoreTypes.hpp */ +/* CoreTypes.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,33 +31,33 @@ #ifndef CORETYPES_H #define CORETYPES_H -#include "Defs.hpp" +#include "Defs.h" -#include "AABB.hpp" -#include "Array.hpp" -#include "Basis.hpp" -#include "Color.hpp" -#include "Dictionary.hpp" -#include "NodePath.hpp" -#include "Plane.hpp" -#include "PoolArrays.hpp" -#include "Quaternion.hpp" -#include "RID.hpp" -#include "Rect2.hpp" -#include "Rect2i.hpp" -#include "String.hpp" -#include "StringName.hpp" -#include "Transform.hpp" -#include "Transform2D.hpp" -#include "Projection.hpp" -#include "Variant.hpp" -#include "Vector2.hpp" -#include "Vector2i.hpp" -#include "Vector3.hpp" -#include "Vector3i.hpp" -#include "Vector4.hpp" -#include "Vector4i.hpp" +#include "AABB.h" +#include "Array.h" +#include "Basis.h" +#include "Color.h" +#include "Dictionary.h" +#include "NodePath.h" +#include "Plane.h" +#include "PoolArrays.h" +#include "Quaternion.h" +#include "RID.h" +#include "Rect2.h" +#include "Rect2i.h" +#include "String.h" +#include "StringName.h" +#include "Transform.h" +#include "Transform2D.h" +#include "Projection.h" +#include "Variant.h" +#include "Vector2.h" +#include "Vector2i.h" +#include "Vector3.h" +#include "Vector3i.h" +#include "Vector4.h" +#include "Vector4i.h" -#include "Wrapped.hpp" +#include "Wrapped.h" #endif // CORETYPES_H diff --git a/include/core/Defs.hpp b/include/core/Defs.h similarity index 98% rename from include/core/Defs.hpp rename to include/core/Defs.h index b682071..fe17b26 100644 --- a/include/core/Defs.hpp +++ b/include/core/Defs.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Defs.hpp */ +/* Defs.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -87,7 +87,7 @@ enum class Error { } // namespace pandemonium -#include +#include // alloca() is non-standard. When using MSVC, it's in malloc.h. #if defined(__linux__) || defined(__APPLE__) diff --git a/include/core/Dictionary.hpp b/include/core/Dictionary.h similarity index 96% rename from include/core/Dictionary.hpp rename to include/core/Dictionary.h index 9a0e0a2..69378d5 100644 --- a/include/core/Dictionary.hpp +++ b/include/core/Dictionary.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Dictionary.hpp */ +/* Dictionary.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,8 +31,8 @@ #ifndef DICTIONARY_H #define DICTIONARY_H -#include "Array.hpp" -#include "Variant.hpp" +#include "Array.h" +#include "Variant.h" #include diff --git a/include/core/Mathp.hpp b/include/core/Mathp.h similarity index 95% rename from include/core/Mathp.hpp rename to include/core/Mathp.h index d52d19a..27b8f94 100644 --- a/include/core/Mathp.hpp +++ b/include/core/Mathp.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Math.hpp */ +/* Math.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,7 +31,7 @@ #ifndef PANDEMONIUM_MATH_H #define PANDEMONIUM_MATH_H -#include "Defs.hpp" +#include "Defs.h" #include namespace pandemonium { diff --git a/include/core/NodePath.hpp b/include/core/NodePath.h similarity index 97% rename from include/core/NodePath.hpp rename to include/core/NodePath.h index 59d2348..6005b96 100644 --- a/include/core/NodePath.hpp +++ b/include/core/NodePath.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* NodePath.hpp */ +/* NodePath.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ diff --git a/include/core/Godot.hpp b/include/core/Pandemonium.h similarity index 99% rename from include/core/Godot.hpp rename to include/core/Pandemonium.h index 6e0586a..a7934f3 100644 --- a/include/core/Godot.hpp +++ b/include/core/Pandemonium.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Pandemonium.hpp */ +/* Pandemonium.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -38,14 +38,14 @@ #include #include -#include "CoreTypes.hpp" -#include "Ref.hpp" -#include "TagDB.hpp" -#include "Variant.hpp" +#include "CoreTypes.h" +#include "Ref.h" +#include "TagDB.h" +#include "Variant.h" -#include "Object.hpp" +#include "Object.h" -#include "PandemoniumGlobal.hpp" +#include "PandemoniumGlobal.h" #include diff --git a/include/core/GodotGlobal.hpp b/include/core/PandemoniumGlobal.h similarity index 96% rename from include/core/GodotGlobal.hpp rename to include/core/PandemoniumGlobal.h index 3c0e163..a9a8a81 100644 --- a/include/core/GodotGlobal.hpp +++ b/include/core/PandemoniumGlobal.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* PandemoniumGlobal.hpp */ +/* PandemoniumGlobal.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,8 +33,8 @@ #include -#include "Array.hpp" -#include "String.hpp" +#include "Array.h" +#include "String.h" namespace pandemonium { diff --git a/include/core/GodotProfiling.hpp b/include/core/PandemoniumProfiling.h similarity index 96% rename from include/core/GodotProfiling.hpp rename to include/core/PandemoniumProfiling.h index 00d45ce..adb4a9e 100644 --- a/include/core/GodotProfiling.hpp +++ b/include/core/PandemoniumProfiling.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* PandemoniumProfiling.hpp */ +/* PandemoniumProfiling.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,7 +31,7 @@ #ifndef PANDEMONIUM_PROFILING_HPP #define PANDEMONIUM_PROFILING_HPP -#include "Defs.hpp" +#include "Defs.h" namespace pandemonium { diff --git a/include/core/Plane.hpp b/include/core/Plane.h similarity index 97% rename from include/core/Plane.hpp rename to include/core/Plane.h index a401581..1053596 100644 --- a/include/core/Plane.hpp +++ b/include/core/Plane.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Plane.hpp */ +/* Plane.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,7 +31,7 @@ #ifndef PLANE_H #define PLANE_H -#include "Vector3.hpp" +#include "Vector3.h" #include diff --git a/include/core/PoolArrays.hpp b/include/core/PoolArrays.h similarity index 98% rename from include/core/PoolArrays.hpp rename to include/core/PoolArrays.h index 2426cb8..9796544 100644 --- a/include/core/PoolArrays.hpp +++ b/include/core/PoolArrays.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* PoolArrays.hpp */ +/* PoolArrays.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,14 +31,14 @@ #ifndef POOLARRAYS_H #define POOLARRAYS_H -#include "Defs.hpp" +#include "Defs.h" -#include "Color.hpp" -#include "PandemoniumGlobal.hpp" -#include "String.hpp" -#include "Vector2.hpp" -#include "Vector2i.hpp" -#include "Vector3.hpp" +#include "Color.h" +#include "PandemoniumGlobal.h" +#include "String.h" +#include "Vector2.h" +#include "Vector2i.h" +#include "Vector3.h" #include diff --git a/include/core/Projection.hpp b/include/core/Projection.h similarity index 96% rename from include/core/Projection.hpp rename to include/core/Projection.h index 93518ca..18a8ff8 100644 --- a/include/core/Projection.hpp +++ b/include/core/Projection.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Projection.hpp */ +/* Projection.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,11 +31,11 @@ #ifndef CAMERA_MATRIX_H #define CAMERA_MATRIX_H -#include "Defs.hpp" -#include "Mathp.hpp" -#include "Plane.hpp" -#include "Rect2.hpp" -#include "Transform.hpp" +#include "Defs.h" +#include "Mathp.h" +#include "Plane.h" +#include "Rect2.h" +#include "Transform.h" #include diff --git a/include/core/Quaternion.hpp b/include/core/Quaternion.h similarity index 97% rename from include/core/Quaternion.hpp rename to include/core/Quaternion.h index 79650f4..f8930be 100644 --- a/include/core/Quaternion.hpp +++ b/include/core/Quaternion.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Quaternion.hpp */ +/* Quaternion.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,7 +33,7 @@ #include -#include "Vector3.hpp" +#include "Vector3.h" // #include "Basis.h" diff --git a/include/core/RID.hpp b/include/core/RID.h similarity index 97% rename from include/core/RID.hpp rename to include/core/RID.h index 7e1e56e..d20baf7 100644 --- a/include/core/RID.hpp +++ b/include/core/RID.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* RID.hpp */ +/* RID.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ diff --git a/include/core/Rect2.hpp b/include/core/Rect2.h similarity index 98% rename from include/core/Rect2.hpp rename to include/core/Rect2.h index 0c46148..bb58779 100644 --- a/include/core/Rect2.hpp +++ b/include/core/Rect2.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Rect2.hpp */ +/* Rect2.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,7 +31,7 @@ #ifndef RECT2_H #define RECT2_H -#include "Vector2.hpp" +#include "Vector2.h" #include diff --git a/include/core/Rect2i.hpp b/include/core/Rect2i.h similarity index 96% rename from include/core/Rect2i.hpp rename to include/core/Rect2i.h index 111e0d8..56a7b86 100644 --- a/include/core/Rect2i.hpp +++ b/include/core/Rect2i.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Rect2.hpp */ +/* Rect2.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,7 +31,7 @@ #ifndef RECT2I_H #define RECT2I_H -#include "Vector2i.hpp" +#include "Vector2i.h" #include diff --git a/include/core/Ref.hpp b/include/core/Ref.h similarity index 97% rename from include/core/Ref.hpp rename to include/core/Ref.h index 5e028fb..cf95461 100644 --- a/include/core/Ref.hpp +++ b/include/core/Ref.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Ref.hpp */ +/* Ref.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,9 +31,9 @@ #ifndef REF_H #define REF_H -#include "PandemoniumGlobal.hpp" -#include "Reference.hpp" -#include "Variant.hpp" +#include "PandemoniumGlobal.h" +#include "Reference.h" +#include "Variant.h" namespace pandemonium { diff --git a/include/core/String.hpp b/include/core/String.h similarity index 98% rename from include/core/String.hpp rename to include/core/String.h index bcee7b3..67be4d6 100644 --- a/include/core/String.hpp +++ b/include/core/String.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* String.hpp */ +/* String.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ diff --git a/include/core/StringName.hpp b/include/core/StringName.h similarity index 97% rename from include/core/StringName.hpp rename to include/core/StringName.h index be638ab..5098277 100644 --- a/include/core/StringName.hpp +++ b/include/core/StringName.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* String.hpp */ +/* String.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ diff --git a/include/core/TagDB.hpp b/include/core/TagDB.h similarity index 97% rename from include/core/TagDB.hpp rename to include/core/TagDB.h index d88b5b5..14042e2 100644 --- a/include/core/TagDB.hpp +++ b/include/core/TagDB.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* TagDB.hpp */ +/* TagDB.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ diff --git a/include/core/Transform.hpp b/include/core/Transform.h similarity index 97% rename from include/core/Transform.hpp rename to include/core/Transform.h index f90ec42..ce65e85 100644 --- a/include/core/Transform.hpp +++ b/include/core/Transform.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Transform.hpp */ +/* Transform.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,10 +31,10 @@ #ifndef TRANSFORM_H #define TRANSFORM_H -#include "Basis.hpp" +#include "Basis.h" -#include "AABB.hpp" -#include "Plane.hpp" +#include "AABB.h" +#include "Plane.h" namespace pandemonium { diff --git a/include/core/Transform2D.hpp b/include/core/Transform2D.h similarity index 98% rename from include/core/Transform2D.hpp rename to include/core/Transform2D.h index b7668fe..4fd8733 100644 --- a/include/core/Transform2D.hpp +++ b/include/core/Transform2D.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Transform2D.hpp */ +/* Transform2D.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,7 +31,7 @@ #ifndef TRANSFORM2D_H #define TRANSFORM2D_H -#include "Vector2.hpp" +#include "Vector2.h" namespace pandemonium { diff --git a/include/core/Variant.hpp b/include/core/Variant.h similarity index 92% rename from include/core/Variant.hpp rename to include/core/Variant.h index b04dec1..3ce6218 100644 --- a/include/core/Variant.hpp +++ b/include/core/Variant.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Variant.hpp */ +/* Variant.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,28 +33,28 @@ #include -#include "Defs.hpp" +#include "Defs.h" -#include "AABB.hpp" -#include "Basis.hpp" -#include "Color.hpp" -#include "NodePath.hpp" -#include "Plane.hpp" -#include "PoolArrays.hpp" -#include "Projection.hpp" -#include "Quaternion.hpp" -#include "RID.hpp" -#include "Rect2.hpp" -#include "Rect2i.hpp" -#include "String.hpp" -#include "Transform.hpp" -#include "Transform2D.hpp" -#include "Vector2.hpp" -#include "Vector2i.hpp" -#include "Vector3.hpp" -#include "Vector3i.hpp" -#include "Vector4.hpp" -#include "Vector4i.hpp" +#include "AABB.h" +#include "Basis.h" +#include "Color.h" +#include "NodePath.h" +#include "Plane.h" +#include "PoolArrays.h" +#include "Projection.h" +#include "Quaternion.h" +#include "RID.h" +#include "Rect2.h" +#include "Rect2i.h" +#include "String.h" +#include "Transform.h" +#include "Transform2D.h" +#include "Vector2.h" +#include "Vector2i.h" +#include "Vector3.h" +#include "Vector3i.h" +#include "Vector4.h" +#include "Vector4i.h" namespace pandemonium { diff --git a/include/core/Vector2.hpp b/include/core/Vector2.h similarity index 98% rename from include/core/Vector2.hpp rename to include/core/Vector2.h index fdf9b72..acb6fe5 100644 --- a/include/core/Vector2.hpp +++ b/include/core/Vector2.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Vector2.hpp */ +/* Vector2.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,9 +33,9 @@ #include -#include "Defs.hpp" +#include "Defs.h" -#include +#include namespace pandemonium { diff --git a/include/core/Vector2i.hpp b/include/core/Vector2i.h similarity index 95% rename from include/core/Vector2i.hpp rename to include/core/Vector2i.h index c2c2fee..c075cf0 100644 --- a/include/core/Vector2i.hpp +++ b/include/core/Vector2i.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Vector2.hpp */ +/* Vector2.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,9 +33,9 @@ #include -#include "Defs.hpp" +#include "Defs.h" -#include +#include namespace pandemonium { diff --git a/include/core/Vector3.hpp b/include/core/Vector3.h similarity index 98% rename from include/core/Vector3.hpp rename to include/core/Vector3.h index cf91a5d..5540272 100644 --- a/include/core/Vector3.hpp +++ b/include/core/Vector3.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Vector3.hpp */ +/* Vector3.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,9 +33,9 @@ #include -#include "Defs.hpp" +#include "Defs.h" -#include +#include namespace pandemonium { diff --git a/include/core/Vector3i.hpp b/include/core/Vector3i.h similarity index 95% rename from include/core/Vector3i.hpp rename to include/core/Vector3i.h index 7ff2b48..7d000cd 100644 --- a/include/core/Vector3i.hpp +++ b/include/core/Vector3i.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Vector2.hpp */ +/* Vector2.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,9 +33,9 @@ #include -#include "Defs.hpp" +#include "Defs.h" -#include +#include namespace pandemonium { diff --git a/include/core/Vector4.hpp b/include/core/Vector4.h similarity index 95% rename from include/core/Vector4.hpp rename to include/core/Vector4.h index 12e2d21..a5d773c 100644 --- a/include/core/Vector4.hpp +++ b/include/core/Vector4.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Vector2.hpp */ +/* Vector2.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,9 +33,9 @@ #include -#include "Defs.hpp" +#include "Defs.h" -#include +#include namespace pandemonium { diff --git a/include/core/Vector4i.hpp b/include/core/Vector4i.h similarity index 95% rename from include/core/Vector4i.hpp rename to include/core/Vector4i.h index 4c07803..2ea9543 100644 --- a/include/core/Vector4i.hpp +++ b/include/core/Vector4i.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Vector2.hpp */ +/* Vector2.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,9 +33,9 @@ #include -#include "Defs.hpp" +#include "Defs.h" -#include +#include namespace pandemonium { diff --git a/include/core/Wrapped.hpp b/include/core/Wrapped.h similarity index 97% rename from include/core/Wrapped.hpp rename to include/core/Wrapped.h index bf402cd..e218b67 100644 --- a/include/core/Wrapped.hpp +++ b/include/core/Wrapped.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Wrapped.hpp */ +/* Wrapped.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ diff --git a/misc/hooks/pre-commit-clang-format b/misc/hooks/pre-commit-clang-format index 9ca708d..35c77cb 100644 --- a/misc/hooks/pre-commit-clang-format +++ b/misc/hooks/pre-commit-clang-format @@ -30,8 +30,8 @@ DELETE_OLD_PATCHES=false PARSE_EXTS=true # File types to parse. Only effective when PARSE_EXTS is true. -# FILE_EXTS=".c .h .cpp .hpp" -FILE_EXTS=".c .h .cpp .hpp .cc .hh .cxx .m .mm .inc .java .glsl" +# FILE_EXTS=".c .h .cpp .h" +FILE_EXTS=".c .h .cpp .h .cc .hh .cxx .m .mm .inc .java .glsl" # Use pygmentize instead of cat to parse diff with highlighting. # Install it with `pip install pygments` (Linux) or `easy_install Pygments` (Mac) diff --git a/misc/scripts/clang_format.sh b/misc/scripts/clang_format.sh index 0d1511e..7703168 100644 --- a/misc/scripts/clang_format.sh +++ b/misc/scripts/clang_format.sh @@ -6,7 +6,7 @@ set -uo pipefail IFS=$'\n\t' -CLANG_FORMAT_FILE_EXTS=(".c" ".h" ".cpp" ".hpp" ".cc" ".hh" ".cxx" ".m" ".mm" ".inc" ".java" ".glsl") +CLANG_FORMAT_FILE_EXTS=(".c" ".h" ".cpp" ".h" ".cc" ".hh" ".cxx" ".m" ".mm" ".inc" ".java" ".glsl") # Loops through all text files tracked by Git. git grep -zIl '' | diff --git a/src/core/AABB.cpp b/src/core/AABB.cpp index 476f234..c6100f8 100644 --- a/src/core/AABB.cpp +++ b/src/core/AABB.cpp @@ -28,9 +28,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "AABB.hpp" -#include "Plane.hpp" -#include "Vector3.hpp" +#include "AABB.h" +#include "Plane.h" +#include "Vector3.h" #include diff --git a/src/core/Array.cpp b/src/core/Array.cpp index 326cec9..f1b3a1a 100644 --- a/src/core/Array.cpp +++ b/src/core/Array.cpp @@ -28,10 +28,10 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Array.hpp" -#include "PandemoniumGlobal.hpp" -#include "Variant.hpp" -#include "String.hpp" +#include "Array.h" +#include "PandemoniumGlobal.h" +#include "Variant.h" +#include "String.h" #include diff --git a/src/core/Basis.cpp b/src/core/Basis.cpp index 4cfd260..f295885 100644 --- a/src/core/Basis.cpp +++ b/src/core/Basis.cpp @@ -28,10 +28,10 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Basis.hpp" -#include "Defs.hpp" -#include "Quaternion.hpp" -#include "Vector3.hpp" +#include "Basis.h" +#include "Defs.h" +#include "Quaternion.h" +#include "Vector3.h" #include @@ -636,7 +636,7 @@ Basis::Basis(const Vector3 &p_euler) { } // namespace pandemonium -#include "Quaternion.hpp" +#include "Quaternion.h" namespace pandemonium { diff --git a/src/core/Color.cpp b/src/core/Color.cpp index a69bda2..ef6ef6a 100644 --- a/src/core/Color.cpp +++ b/src/core/Color.cpp @@ -28,9 +28,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Color.hpp" -#include "Defs.hpp" -#include "String.hpp" +#include "Color.h" +#include "Defs.h" +#include "String.h" #include #include diff --git a/src/core/Dictionary.cpp b/src/core/Dictionary.cpp index 33d1c45..1dec099 100644 --- a/src/core/Dictionary.cpp +++ b/src/core/Dictionary.cpp @@ -28,10 +28,10 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Dictionary.hpp" -#include "Array.hpp" -#include "PandemoniumGlobal.hpp" -#include "Variant.hpp" +#include "Dictionary.h" +#include "Array.h" +#include "PandemoniumGlobal.h" +#include "Variant.h" namespace pandemonium { diff --git a/src/core/NodePath.cpp b/src/core/NodePath.cpp index 01a23bd..e69005b 100644 --- a/src/core/NodePath.cpp +++ b/src/core/NodePath.cpp @@ -28,9 +28,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "NodePath.hpp" -#include "PandemoniumGlobal.hpp" -#include "String.hpp" +#include "NodePath.h" +#include "PandemoniumGlobal.h" +#include "String.h" #include diff --git a/src/core/GodotGlobal.cpp b/src/core/PandemoniumGlobal.cpp similarity index 98% rename from src/core/GodotGlobal.cpp rename to src/core/PandemoniumGlobal.cpp index 3b36eaa..93aaff7 100644 --- a/src/core/GodotGlobal.cpp +++ b/src/core/PandemoniumGlobal.cpp @@ -28,12 +28,12 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "PandemoniumGlobal.hpp" +#include "PandemoniumGlobal.h" -#include "String.hpp" -#include "Array.hpp" +#include "String.h" +#include "Array.h" -#include "Wrapped.hpp" +#include "Wrapped.h" static GDCALLINGCONV void *wrapper_create(void *data, const void *type_tag, pandemonium_object *instance) { pandemonium::_Wrapped *wrapper_memory = (pandemonium::_Wrapped *)pandemonium::api->pandemonium_alloc(sizeof(pandemonium::_Wrapped)); diff --git a/src/core/GodotProfiling.cpp b/src/core/PandemoniumProfiling.cpp similarity index 89% rename from src/core/GodotProfiling.cpp rename to src/core/PandemoniumProfiling.cpp index 5e2fe08..9162d72 100644 --- a/src/core/GodotProfiling.cpp +++ b/src/core/PandemoniumProfiling.cpp @@ -1,7 +1,7 @@ -#include "PandemoniumProfiling.hpp" +#include "PandemoniumProfiling.h" -#include "OS.hpp" +#include "OS.h" #include diff --git a/src/core/Plane.cpp b/src/core/Plane.cpp index 7a36958..d3ef80e 100644 --- a/src/core/Plane.cpp +++ b/src/core/Plane.cpp @@ -28,9 +28,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Plane.hpp" +#include "Plane.h" -#include "Mathp.hpp" +#include "Mathp.h" #include diff --git a/src/core/PoolArrays.cpp b/src/core/PoolArrays.cpp index 483e192..dff3bcc 100644 --- a/src/core/PoolArrays.cpp +++ b/src/core/PoolArrays.cpp @@ -28,14 +28,14 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "PoolArrays.hpp" -#include "Color.hpp" -#include "Defs.hpp" -#include "PandemoniumGlobal.hpp" -#include "String.hpp" -#include "Vector2.hpp" -#include "Vector2i.hpp" -#include "Vector3.hpp" +#include "PoolArrays.h" +#include "Color.h" +#include "Defs.h" +#include "PandemoniumGlobal.h" +#include "String.h" +#include "Vector2.h" +#include "Vector2i.h" +#include "Vector3.h" #include diff --git a/src/core/Projection.cpp b/src/core/Projection.cpp index 4625263..07465a3 100644 --- a/src/core/Projection.cpp +++ b/src/core/Projection.cpp @@ -28,7 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Projection.hpp" +#include "Projection.h" void Projection::set_identity() { for (int i = 0; i < 4; i++) { diff --git a/src/core/Quaternion.cpp b/src/core/Quaternion.cpp index 7fff4e4..bf42196 100644 --- a/src/core/Quaternion.cpp +++ b/src/core/Quaternion.cpp @@ -28,10 +28,10 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Quaternion.hpp" -#include "Basis.hpp" -#include "Defs.hpp" -#include "Vector3.hpp" +#include "Quaternion.h" +#include "Basis.h" +#include "Defs.h" +#include "Vector3.h" #include diff --git a/src/core/RID.cpp b/src/core/RID.cpp index 56a8165..1f7eb26 100644 --- a/src/core/RID.cpp +++ b/src/core/RID.cpp @@ -28,11 +28,11 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "RID.hpp" +#include "RID.h" #include -#include "PandemoniumGlobal.hpp" +#include "PandemoniumGlobal.h" namespace pandemonium { diff --git a/src/core/Rect2.cpp b/src/core/Rect2.cpp index 048dc96..e272b14 100644 --- a/src/core/Rect2.cpp +++ b/src/core/Rect2.cpp @@ -28,10 +28,10 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Rect2.hpp" -#include "String.hpp" -#include "Transform2D.hpp" -#include "Vector2.hpp" +#include "Rect2.h" +#include "String.h" +#include "Transform2D.h" +#include "Vector2.h" #include diff --git a/src/core/Rect2i.cpp b/src/core/Rect2i.cpp index eec810c..1660358 100644 --- a/src/core/Rect2i.cpp +++ b/src/core/Rect2i.cpp @@ -28,9 +28,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Rect2i.hpp" -#include "String.hpp" -#include "Vector2i.hpp" +#include "Rect2i.h" +#include "String.h" +#include "Vector2i.h" namespace pandemonium { diff --git a/src/core/String.cpp b/src/core/String.cpp index b80e037..b54a039 100644 --- a/src/core/String.cpp +++ b/src/core/String.cpp @@ -28,13 +28,13 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "String.hpp" +#include "String.h" -#include "Array.hpp" -#include "PandemoniumGlobal.hpp" -#include "NodePath.hpp" -#include "PoolArrays.hpp" -#include "Variant.hpp" +#include "Array.h" +#include "PandemoniumGlobal.h" +#include "NodePath.h" +#include "PoolArrays.h" +#include "Variant.h" #include diff --git a/src/core/StringName.cpp b/src/core/StringName.cpp index d3cf9b8..3bacb94 100644 --- a/src/core/StringName.cpp +++ b/src/core/StringName.cpp @@ -28,13 +28,13 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "StringName.hpp" +#include "StringName.h" -#include "Array.hpp" -#include "PandemoniumGlobal.hpp" -#include "NodePath.hpp" -#include "PoolArrays.hpp" -#include "Variant.hpp" +#include "Array.h" +#include "PandemoniumGlobal.h" +#include "NodePath.h" +#include "PoolArrays.h" +#include "Variant.h" #include diff --git a/src/core/TagDB.cpp b/src/core/TagDB.cpp index 37aa857..e5dc732 100644 --- a/src/core/TagDB.cpp +++ b/src/core/TagDB.cpp @@ -28,11 +28,11 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "TagDB.hpp" +#include "TagDB.h" #include -#include +#include namespace pandemonium { diff --git a/src/core/Transform.cpp b/src/core/Transform.cpp index b9a211c..d825c20 100644 --- a/src/core/Transform.cpp +++ b/src/core/Transform.cpp @@ -28,14 +28,14 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Transform.hpp" +#include "Transform.h" -#include "Basis.hpp" +#include "Basis.h" -#include "AABB.hpp" -#include "Plane.hpp" +#include "AABB.h" +#include "Plane.h" -#include "Quaternion.hpp" +#include "Quaternion.h" namespace pandemonium { diff --git a/src/core/Transform2D.cpp b/src/core/Transform2D.cpp index a6229a7..cb71efc 100644 --- a/src/core/Transform2D.cpp +++ b/src/core/Transform2D.cpp @@ -28,10 +28,10 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Transform2D.hpp" -#include "Rect2.hpp" -#include "String.hpp" -#include "Vector2.hpp" +#include "Transform2D.h" +#include "Rect2.h" +#include "String.h" +#include "Vector2.h" #include diff --git a/src/core/Variant.cpp b/src/core/Variant.cpp index 72e7c6a..3b87a7e 100644 --- a/src/core/Variant.cpp +++ b/src/core/Variant.cpp @@ -28,14 +28,14 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Variant.hpp" +#include "Variant.h" #include -#include "CoreTypes.hpp" -#include "Defs.hpp" -#include "PandemoniumGlobal.hpp" -#include "Object.hpp" +#include "CoreTypes.h" +#include "Defs.h" +#include "PandemoniumGlobal.h" +#include "Object.h" namespace pandemonium { diff --git a/src/core/Vector2.cpp b/src/core/Vector2.cpp index a5d5702..ede46c7 100644 --- a/src/core/Vector2.cpp +++ b/src/core/Vector2.cpp @@ -28,11 +28,11 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Vector2.hpp" +#include "Vector2.h" #include -#include "String.hpp" +#include "String.h" namespace pandemonium { diff --git a/src/core/Vector2i.cpp b/src/core/Vector2i.cpp index 98999f4..f04d669 100644 --- a/src/core/Vector2i.cpp +++ b/src/core/Vector2i.cpp @@ -28,11 +28,11 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Vector2i.hpp" +#include "Vector2i.h" #include -#include "String.hpp" +#include "String.h" namespace pandemonium { diff --git a/src/core/Vector3.cpp b/src/core/Vector3.cpp index e79d212..0e214b9 100644 --- a/src/core/Vector3.cpp +++ b/src/core/Vector3.cpp @@ -28,13 +28,13 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Vector3.hpp" +#include "Vector3.h" -#include "String.hpp" +#include "String.h" #include -#include "Basis.hpp" +#include "Basis.h" namespace pandemonium { diff --git a/src/core/Vector3i.cpp b/src/core/Vector3i.cpp index cccdf15..94c05cd 100644 --- a/src/core/Vector3i.cpp +++ b/src/core/Vector3i.cpp @@ -28,11 +28,11 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Vector3i.hpp" +#include "Vector3i.h" #include -#include "String.hpp" +#include "String.h" namespace pandemonium { diff --git a/src/core/Vector4.cpp b/src/core/Vector4.cpp index 57a7386..930b37a 100644 --- a/src/core/Vector4.cpp +++ b/src/core/Vector4.cpp @@ -28,11 +28,11 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Vector4.hpp" +#include "Vector4.h" #include -#include "String.hpp" +#include "String.h" namespace pandemonium { diff --git a/src/core/Vector4i.cpp b/src/core/Vector4i.cpp index f07b9ee..4c1a6be 100644 --- a/src/core/Vector4i.cpp +++ b/src/core/Vector4i.cpp @@ -28,11 +28,11 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Vector4i.hpp" +#include "Vector4i.h" #include -#include "String.hpp" +#include "String.h" namespace pandemonium { diff --git a/test/src/init.cpp b/test/src/init.cpp index e68afa8..a8be237 100644 --- a/test/src/init.cpp +++ b/test/src/init.cpp @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include -#include +#include +#include using namespace pandemonium;