Use .h header files instead of .hpp.

This commit is contained in:
Relintai 2023-10-23 14:14:03 +02:00
parent e08a32544b
commit 1a198c4589
65 changed files with 256 additions and 256 deletions

View File

@ -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 <Pandemonium.hpp>
#include <Reference.hpp>
#include <Pandemonium.h>
#include <Reference.h>
using namespace pandemonium;

View File

@ -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 <cstdint>")
source.append("")
source.append("#include <core/CoreTypes.hpp>")
source.append("#include <core/CoreTypes.h>")
class_name = strip_name(c["name"])
# Ref<T> 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 <core/Ref.hpp>")
source.append("#include <core/Ref.h>")
ref_allowed = True
else:
source.append("#include <core/TagDB.hpp>")
source.append("#include <core/TagDB.h>")
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 <core/PandemoniumGlobal.hpp>")
source.append("#include <core/CoreTypes.hpp>")
source.append("#include <core/Ref.hpp>")
source.append("#include <core/PandemoniumGlobal.h>")
source.append("#include <core/CoreTypes.h>")
source.append("#include <core/Ref.h>")
source.append("#include <core/Pandemonium.hpp>")
source.append("#include <core/Pandemonium.h>")
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 <stdint.h>")
source.append("")
source.append("#include <core/PandemoniumGlobal.hpp>")
source.append("#include <core/CoreTypes.hpp>")
source.append('#include "Object.hpp"')
source.append("#include <core/PandemoniumGlobal.h>")
source.append("#include <core/CoreTypes.h>")
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 <typeinfo>")
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("")

View File

@ -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 <cstdlib>

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* Array.hpp */
/* Array.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* Basis.hpp */
/* Basis.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */
@ -33,9 +33,9 @@
#include <gdn/basis.h>
#include "Defs.hpp"
#include "Defs.h"
#include "Vector3.hpp"
#include "Vector3.h"
namespace pandemonium {

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* Color.hpp */
/* Color.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */
@ -35,8 +35,8 @@
#include <cmath>
#include "Defs.hpp"
#include "String.hpp"
#include "Defs.h"
#include "String.h"
namespace pandemonium {

View File

@ -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

View File

@ -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 <PandemoniumGlobal.hpp>
#include <PandemoniumGlobal.h>
// alloca() is non-standard. When using MSVC, it's in malloc.h.
#if defined(__linux__) || defined(__APPLE__)

View File

@ -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 <gdn/dictionary.h>

View File

@ -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 <cmath>
namespace pandemonium {

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* NodePath.hpp */
/* NodePath.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* Pandemonium.hpp */
/* Pandemonium.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */
@ -38,14 +38,14 @@
#include <nativescript/pandemonium_nativescript.h>
#include <typeinfo>
#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 <type_traits>

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* PandemoniumGlobal.hpp */
/* PandemoniumGlobal.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */
@ -33,8 +33,8 @@
#include <gdnative_api_struct.gen.h>
#include "Array.hpp"
#include "String.hpp"
#include "Array.h"
#include "String.h"
namespace pandemonium {

View File

@ -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 {

View File

@ -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 <cmath>

View File

@ -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 <gdn/pool_arrays.h>

View File

@ -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 <vector>

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* Quaternion.hpp */
/* Quaternion.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */
@ -33,7 +33,7 @@
#include <cmath>
#include "Vector3.hpp"
#include "Vector3.h"
// #include "Basis.h"

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* RID.hpp */
/* RID.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */

View File

@ -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 <cmath>

View File

@ -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 <cmath>

View File

@ -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 {

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* String.hpp */
/* String.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* String.hpp */
/* String.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* TagDB.hpp */
/* TagDB.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */

View File

@ -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 {

View File

@ -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 {

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* Variant.hpp */
/* Variant.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */
@ -33,28 +33,28 @@
#include <gdn/variant.h>
#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 {

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* Vector2.hpp */
/* Vector2.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */
@ -33,9 +33,9 @@
#include <gdn/vector2.h>
#include "Defs.hpp"
#include "Defs.h"
#include <Mathp.hpp>
#include <Mathp.h>
namespace pandemonium {

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* Vector2.hpp */
/* Vector2.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */
@ -33,9 +33,9 @@
#include <gdn/vector2i.h>
#include "Defs.hpp"
#include "Defs.h"
#include <Mathp.hpp>
#include <Mathp.h>
namespace pandemonium {

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* Vector3.hpp */
/* Vector3.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */
@ -33,9 +33,9 @@
#include <gdn/vector3.h>
#include "Defs.hpp"
#include "Defs.h"
#include <Mathp.hpp>
#include <Mathp.h>
namespace pandemonium {

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* Vector2.hpp */
/* Vector2.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */
@ -33,9 +33,9 @@
#include <gdn/vector3i.h>
#include "Defs.hpp"
#include "Defs.h"
#include <Mathp.hpp>
#include <Mathp.h>
namespace pandemonium {

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* Vector2.hpp */
/* Vector2.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */
@ -33,9 +33,9 @@
#include <gdn/vector4.h>
#include "Defs.hpp"
#include "Defs.h"
#include <Mathp.hpp>
#include <Mathp.h>
namespace pandemonium {

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* Vector2.hpp */
/* Vector2.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */
@ -33,9 +33,9 @@
#include <gdn/vector4i.h>
#include "Defs.hpp"
#include "Defs.h"
#include <Mathp.hpp>
#include <Mathp.h>
namespace pandemonium {

View File

@ -1,5 +1,5 @@
/*************************************************************************/
/* Wrapped.hpp */
/* Wrapped.h */
/*************************************************************************/
/* This file is part of: */
/* PANDEMONIUM ENGINE */

View File

@ -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)

View File

@ -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 '' |

View File

@ -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 <algorithm>

View File

@ -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 <cstdlib>

View File

@ -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 <algorithm>
@ -636,7 +636,7 @@ Basis::Basis(const Vector3 &p_euler) {
} // namespace pandemonium
#include "Quaternion.hpp"
#include "Quaternion.h"
namespace pandemonium {

View File

@ -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 <gdn/color.h>
#include <cmath>

View File

@ -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 {

View File

@ -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 <gdn/node_path.h>

View File

@ -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));

View File

@ -1,7 +1,7 @@
#include "PandemoniumProfiling.hpp"
#include "PandemoniumProfiling.h"
#include "OS.hpp"
#include "OS.h"
#include <cstdio>

View File

@ -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 <cmath>

View File

@ -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 <gdn/pool_arrays.h>

View File

@ -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++) {

View File

@ -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 <cmath>

View File

@ -28,11 +28,11 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "RID.hpp"
#include "RID.h"
#include <gdn/rid.h>
#include "PandemoniumGlobal.hpp"
#include "PandemoniumGlobal.h"
namespace pandemonium {

View File

@ -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 <cmath>

View File

@ -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 {

View File

@ -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 <gdn/string.h>

View File

@ -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 <gdn/string.h>

View File

@ -28,11 +28,11 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "TagDB.hpp"
#include "TagDB.h"
#include <unordered_map>
#include <PandemoniumGlobal.hpp>
#include <PandemoniumGlobal.h>
namespace pandemonium {

View File

@ -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 {

View File

@ -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 <algorithm>

View File

@ -28,14 +28,14 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "Variant.hpp"
#include "Variant.h"
#include <gdn/variant.h>
#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 {

View File

@ -28,11 +28,11 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "Vector2.hpp"
#include "Vector2.h"
#include <gdn/vector2.h>
#include "String.hpp"
#include "String.h"
namespace pandemonium {

View File

@ -28,11 +28,11 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "Vector2i.hpp"
#include "Vector2i.h"
#include <gdn/vector2i.h>
#include "String.hpp"
#include "String.h"
namespace pandemonium {

View File

@ -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 <stdlib.h>
#include "Basis.hpp"
#include "Basis.h"
namespace pandemonium {

View File

@ -28,11 +28,11 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "Vector3i.hpp"
#include "Vector3i.h"
#include <gdn/vector3i.h>
#include "String.hpp"
#include "String.h"
namespace pandemonium {

View File

@ -28,11 +28,11 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "Vector4.hpp"
#include "Vector4.h"
#include <gdn/vector4.h>
#include "String.hpp"
#include "String.h"
namespace pandemonium {

View File

@ -28,11 +28,11 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "Vector4i.hpp"
#include "Vector4i.h"
#include <gdn/vector4i.h>
#include "String.hpp"
#include "String.h"
namespace pandemonium {

View File

@ -28,8 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include <Pandemonium.hpp>
#include <Reference.hpp>
#include <Pandemonium.h>
#include <Reference.h>
using namespace pandemonium;