mirror of
https://github.com/Relintai/gdnative_cpp.git
synced 2024-11-14 10:27:17 +01:00
Renamed the headers to follow engine side conventions.
This commit is contained in:
parent
1a198c4589
commit
5869382646
@ -156,7 +156,7 @@ You can optionally add the following options to the SCons command line:
|
|||||||
Create `init.cpp` under `SimpleLibrary/src/` and add the following code:
|
Create `init.cpp` under `SimpleLibrary/src/` and add the following code:
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
#include <Pandemonium.h>
|
#include <pandemonium.h>
|
||||||
#include <Reference.h>
|
#include <Reference.h>
|
||||||
|
|
||||||
using namespace pandemonium;
|
using namespace pandemonium;
|
||||||
|
@ -137,17 +137,17 @@ def generate_class_header(used_classes, c, use_template_get_node):
|
|||||||
source.append("#include <cstdint>")
|
source.append("#include <cstdint>")
|
||||||
source.append("")
|
source.append("")
|
||||||
|
|
||||||
source.append("#include <core/CoreTypes.h>")
|
source.append("#include <core/core_types.h>")
|
||||||
|
|
||||||
class_name = strip_name(c["name"])
|
class_name = strip_name(c["name"])
|
||||||
|
|
||||||
# Ref<T> is not included in object.h in Pandemonium either,
|
# Ref<T> is not included in object.h in Pandemonium either,
|
||||||
# so don't include it here because it's not needed
|
# so don't include it here because it's not needed
|
||||||
if class_name != "Object" and class_name != "Reference":
|
if class_name != "Object" and class_name != "Reference":
|
||||||
source.append("#include <core/Ref.h>")
|
source.append("#include <core/reference.h>")
|
||||||
ref_allowed = True
|
ref_allowed = True
|
||||||
else:
|
else:
|
||||||
source.append("#include <core/TagDB.h>")
|
source.append("#include <core/tag_db.h>")
|
||||||
ref_allowed = False
|
ref_allowed = False
|
||||||
|
|
||||||
included = []
|
included = []
|
||||||
@ -422,11 +422,11 @@ def generate_class_implementation(icalls, used_classes, c, use_template_get_node
|
|||||||
source.append("")
|
source.append("")
|
||||||
source.append("")
|
source.append("")
|
||||||
|
|
||||||
source.append("#include <core/PandemoniumGlobal.h>")
|
source.append("#include <core/pandemonium_global.h>")
|
||||||
source.append("#include <core/CoreTypes.h>")
|
source.append("#include <core/core_types.h>")
|
||||||
source.append("#include <core/Ref.h>")
|
source.append("#include <core/reference.h>")
|
||||||
|
|
||||||
source.append("#include <core/Pandemonium.h>")
|
source.append("#include <core/pandemonium.h>")
|
||||||
source.append("")
|
source.append("")
|
||||||
|
|
||||||
source.append('#include "__icalls.h"')
|
source.append('#include "__icalls.h"')
|
||||||
@ -686,8 +686,8 @@ def generate_icall_header(icalls):
|
|||||||
source.append("#include <stdint.h>")
|
source.append("#include <stdint.h>")
|
||||||
source.append("")
|
source.append("")
|
||||||
|
|
||||||
source.append("#include <core/PandemoniumGlobal.h>")
|
source.append("#include <core/pandemonium_global.h>")
|
||||||
source.append("#include <core/CoreTypes.h>")
|
source.append("#include <core/core_types.h>")
|
||||||
source.append('#include "Object.h"')
|
source.append('#include "Object.h"')
|
||||||
source.append("")
|
source.append("")
|
||||||
source.append("")
|
source.append("")
|
||||||
@ -780,7 +780,7 @@ def generate_icall_header(icalls):
|
|||||||
def generate_type_registry(classes):
|
def generate_type_registry(classes):
|
||||||
source = []
|
source = []
|
||||||
|
|
||||||
source.append('#include "TagDB.h"')
|
source.append('#include "tag_db.h"')
|
||||||
source.append("#include <typeinfo>")
|
source.append("#include <typeinfo>")
|
||||||
source.append("\n")
|
source.append("\n")
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* AABB.h */
|
/* aabb.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
@ -31,7 +31,7 @@
|
|||||||
#ifndef AABB_H
|
#ifndef AABB_H
|
||||||
#define AABB_H
|
#define AABB_H
|
||||||
|
|
||||||
#include "Vector3.h"
|
#include "vector3.h"
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* Array.h */
|
/* array.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* Basis.h */
|
/* basis.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
@ -33,9 +33,9 @@
|
|||||||
|
|
||||||
#include <gdn/basis.h>
|
#include <gdn/basis.h>
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
#include "Vector3.h"
|
#include "vector3.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* Color.h */
|
/* color.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
@ -35,8 +35,8 @@
|
|||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* CoreTypes.h */
|
/* core_types.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
@ -31,33 +31,33 @@
|
|||||||
#ifndef CORETYPES_H
|
#ifndef CORETYPES_H
|
||||||
#define CORETYPES_H
|
#define CORETYPES_H
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
#include "AABB.h"
|
#include "aabb.h"
|
||||||
#include "Array.h"
|
#include "array.h"
|
||||||
#include "Basis.h"
|
#include "basis.h"
|
||||||
#include "Color.h"
|
#include "color.h"
|
||||||
#include "Dictionary.h"
|
#include "dictionary.h"
|
||||||
#include "NodePath.h"
|
#include "node_path.h"
|
||||||
#include "Plane.h"
|
#include "plane.h"
|
||||||
#include "PoolArrays.h"
|
#include "pool_arrays.h"
|
||||||
#include "Quaternion.h"
|
#include "quaternion.h"
|
||||||
#include "RID.h"
|
#include "rid.h"
|
||||||
#include "Rect2.h"
|
#include "rect2.h"
|
||||||
#include "Rect2i.h"
|
#include "rect2i.h"
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
#include "StringName.h"
|
#include "string_name.h"
|
||||||
#include "Transform.h"
|
#include "transform.h"
|
||||||
#include "Transform2D.h"
|
#include "transform_2d.h"
|
||||||
#include "Projection.h"
|
#include "projection.h"
|
||||||
#include "Variant.h"
|
#include "variant.h"
|
||||||
#include "Vector2.h"
|
#include "vector2.h"
|
||||||
#include "Vector2i.h"
|
#include "vector2i.h"
|
||||||
#include "Vector3.h"
|
#include "vector3.h"
|
||||||
#include "Vector3i.h"
|
#include "vector3i.h"
|
||||||
#include "Vector4.h"
|
#include "vector4.h"
|
||||||
#include "Vector4i.h"
|
#include "vector4i.h"
|
||||||
|
|
||||||
#include "Wrapped.h"
|
#include "wrapped.h"
|
||||||
|
|
||||||
#endif // CORETYPES_H
|
#endif // CORETYPES_H
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* Defs.h */
|
/* defs.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
@ -87,7 +87,7 @@ enum class Error {
|
|||||||
|
|
||||||
} // namespace pandemonium
|
} // namespace pandemonium
|
||||||
|
|
||||||
#include <PandemoniumGlobal.h>
|
#include <pandemonium_global.h>
|
||||||
|
|
||||||
// alloca() is non-standard. When using MSVC, it's in malloc.h.
|
// alloca() is non-standard. When using MSVC, it's in malloc.h.
|
||||||
#if defined(__linux__) || defined(__APPLE__)
|
#if defined(__linux__) || defined(__APPLE__)
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* Dictionary.h */
|
/* dictionary.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
@ -31,8 +31,8 @@
|
|||||||
#ifndef DICTIONARY_H
|
#ifndef DICTIONARY_H
|
||||||
#define DICTIONARY_H
|
#define DICTIONARY_H
|
||||||
|
|
||||||
#include "Array.h"
|
#include "array.h"
|
||||||
#include "Variant.h"
|
#include "variant.h"
|
||||||
|
|
||||||
#include <gdn/dictionary.h>
|
#include <gdn/dictionary.h>
|
||||||
|
|
@ -31,7 +31,7 @@
|
|||||||
#ifndef PANDEMONIUM_MATH_H
|
#ifndef PANDEMONIUM_MATH_H
|
||||||
#define PANDEMONIUM_MATH_H
|
#define PANDEMONIUM_MATH_H
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
@ -38,14 +38,14 @@
|
|||||||
#include <nativescript/pandemonium_nativescript.h>
|
#include <nativescript/pandemonium_nativescript.h>
|
||||||
#include <typeinfo>
|
#include <typeinfo>
|
||||||
|
|
||||||
#include "CoreTypes.h"
|
#include "core_types.h"
|
||||||
#include "Ref.h"
|
#include "reference.h"
|
||||||
#include "TagDB.h"
|
#include "tag_db.h"
|
||||||
#include "Variant.h"
|
#include "variant.h"
|
||||||
|
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
|
|
||||||
#include "PandemoniumGlobal.h"
|
#include "pandemonium_global.h"
|
||||||
|
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* PandemoniumGlobal.h */
|
/* pandemonium_global.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
@ -33,8 +33,8 @@
|
|||||||
|
|
||||||
#include <gdnative_api_struct.gen.h>
|
#include <gdnative_api_struct.gen.h>
|
||||||
|
|
||||||
#include "Array.h"
|
#include "array.h"
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* PandemoniumProfiling.h */
|
/* pandemonium_profiling.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
@ -31,7 +31,7 @@
|
|||||||
#ifndef PANDEMONIUM_PROFILING_HPP
|
#ifndef PANDEMONIUM_PROFILING_HPP
|
||||||
#define PANDEMONIUM_PROFILING_HPP
|
#define PANDEMONIUM_PROFILING_HPP
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -31,7 +31,7 @@
|
|||||||
#ifndef PLANE_H
|
#ifndef PLANE_H
|
||||||
#define PLANE_H
|
#define PLANE_H
|
||||||
|
|
||||||
#include "Vector3.h"
|
#include "vector3.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
@ -31,14 +31,14 @@
|
|||||||
#ifndef POOLARRAYS_H
|
#ifndef POOLARRAYS_H
|
||||||
#define POOLARRAYS_H
|
#define POOLARRAYS_H
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
#include "Color.h"
|
#include "color.h"
|
||||||
#include "PandemoniumGlobal.h"
|
#include "pandemonium_global.h"
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
#include "Vector2.h"
|
#include "vector2.h"
|
||||||
#include "Vector2i.h"
|
#include "vector2i.h"
|
||||||
#include "Vector3.h"
|
#include "vector3.h"
|
||||||
|
|
||||||
#include <gdn/pool_arrays.h>
|
#include <gdn/pool_arrays.h>
|
||||||
|
|
@ -31,11 +31,11 @@
|
|||||||
#ifndef CAMERA_MATRIX_H
|
#ifndef CAMERA_MATRIX_H
|
||||||
#define CAMERA_MATRIX_H
|
#define CAMERA_MATRIX_H
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
#include "Mathp.h"
|
#include "math_funcs.h"
|
||||||
#include "Plane.h"
|
#include "plane.h"
|
||||||
#include "Rect2.h"
|
#include "rect2.h"
|
||||||
#include "Transform.h"
|
#include "transform.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
@ -33,9 +33,9 @@
|
|||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
#include "Vector3.h"
|
#include "vector3.h"
|
||||||
|
|
||||||
// #include "Basis.h"
|
// #include "basis.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -31,7 +31,7 @@
|
|||||||
#ifndef RECT2_H
|
#ifndef RECT2_H
|
||||||
#define RECT2_H
|
#define RECT2_H
|
||||||
|
|
||||||
#include "Vector2.h"
|
#include "vector2.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* Rect2.h */
|
/* rect2.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
@ -31,7 +31,7 @@
|
|||||||
#ifndef RECT2I_H
|
#ifndef RECT2I_H
|
||||||
#define RECT2I_H
|
#define RECT2I_H
|
||||||
|
|
||||||
#include "Vector2i.h"
|
#include "vector2i.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
@ -31,9 +31,9 @@
|
|||||||
#ifndef REF_H
|
#ifndef REF_H
|
||||||
#define REF_H
|
#define REF_H
|
||||||
|
|
||||||
#include "PandemoniumGlobal.h"
|
#include "pandemonium_global.h"
|
||||||
#include "Reference.h"
|
#include "Reference.h"
|
||||||
#include "Variant.h"
|
#include "variant.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* RID.h */
|
/* rid.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* String.h */
|
/* string.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
@ -31,10 +31,10 @@
|
|||||||
#ifndef TRANSFORM_H
|
#ifndef TRANSFORM_H
|
||||||
#define TRANSFORM_H
|
#define TRANSFORM_H
|
||||||
|
|
||||||
#include "Basis.h"
|
#include "basis.h"
|
||||||
|
|
||||||
#include "AABB.h"
|
#include "aabb.h"
|
||||||
#include "Plane.h"
|
#include "plane.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -31,7 +31,7 @@
|
|||||||
#ifndef TRANSFORM2D_H
|
#ifndef TRANSFORM2D_H
|
||||||
#define TRANSFORM2D_H
|
#define TRANSFORM2D_H
|
||||||
|
|
||||||
#include "Vector2.h"
|
#include "vector2.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -33,28 +33,28 @@
|
|||||||
|
|
||||||
#include <gdn/variant.h>
|
#include <gdn/variant.h>
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
#include "AABB.h"
|
#include "aabb.h"
|
||||||
#include "Basis.h"
|
#include "basis.h"
|
||||||
#include "Color.h"
|
#include "color.h"
|
||||||
#include "NodePath.h"
|
#include "node_path.h"
|
||||||
#include "Plane.h"
|
#include "plane.h"
|
||||||
#include "PoolArrays.h"
|
#include "pool_arrays.h"
|
||||||
#include "Projection.h"
|
#include "projection.h"
|
||||||
#include "Quaternion.h"
|
#include "quaternion.h"
|
||||||
#include "RID.h"
|
#include "rid.h"
|
||||||
#include "Rect2.h"
|
#include "rect2.h"
|
||||||
#include "Rect2i.h"
|
#include "rect2i.h"
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
#include "Transform.h"
|
#include "transform.h"
|
||||||
#include "Transform2D.h"
|
#include "transform_2d.h"
|
||||||
#include "Vector2.h"
|
#include "vector2.h"
|
||||||
#include "Vector2i.h"
|
#include "vector2i.h"
|
||||||
#include "Vector3.h"
|
#include "vector3.h"
|
||||||
#include "Vector3i.h"
|
#include "vector3i.h"
|
||||||
#include "Vector4.h"
|
#include "vector4.h"
|
||||||
#include "Vector4i.h"
|
#include "vector4i.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -33,9 +33,9 @@
|
|||||||
|
|
||||||
#include <gdn/vector2.h>
|
#include <gdn/vector2.h>
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
#include <Mathp.h>
|
#include <math_funcs.h>
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* Vector2.h */
|
/* vector2.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
@ -33,9 +33,9 @@
|
|||||||
|
|
||||||
#include <gdn/vector2i.h>
|
#include <gdn/vector2i.h>
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
#include <Mathp.h>
|
#include <math_funcs.h>
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -33,9 +33,9 @@
|
|||||||
|
|
||||||
#include <gdn/vector3.h>
|
#include <gdn/vector3.h>
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
#include <Mathp.h>
|
#include <math_funcs.h>
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* Vector2.h */
|
/* vector2.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
@ -33,9 +33,9 @@
|
|||||||
|
|
||||||
#include <gdn/vector3i.h>
|
#include <gdn/vector3i.h>
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
#include <Mathp.h>
|
#include <math_funcs.h>
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* Vector2.h */
|
/* vector2.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
@ -33,9 +33,9 @@
|
|||||||
|
|
||||||
#include <gdn/vector4.h>
|
#include <gdn/vector4.h>
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
#include <Mathp.h>
|
#include <math_funcs.h>
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* Vector2.h */
|
/* vector2.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
||||||
@ -33,9 +33,9 @@
|
|||||||
|
|
||||||
#include <gdn/vector4i.h>
|
#include <gdn/vector4i.h>
|
||||||
|
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
#include <Mathp.h>
|
#include <math_funcs.h>
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* Wrapped.h */
|
/* wrapped.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* PANDEMONIUM ENGINE */
|
/* PANDEMONIUM ENGINE */
|
@ -28,9 +28,9 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "AABB.h"
|
#include "aabb.h"
|
||||||
#include "Plane.h"
|
#include "plane.h"
|
||||||
#include "Vector3.h"
|
#include "vector3.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
@ -28,10 +28,10 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Array.h"
|
#include "array.h"
|
||||||
#include "PandemoniumGlobal.h"
|
#include "pandemonium_global.h"
|
||||||
#include "Variant.h"
|
#include "variant.h"
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
@ -28,10 +28,10 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Basis.h"
|
#include "basis.h"
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
#include "Quaternion.h"
|
#include "quaternion.h"
|
||||||
#include "Vector3.h"
|
#include "vector3.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
@ -636,7 +636,7 @@ Basis::Basis(const Vector3 &p_euler) {
|
|||||||
|
|
||||||
} // namespace pandemonium
|
} // namespace pandemonium
|
||||||
|
|
||||||
#include "Quaternion.h"
|
#include "quaternion.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -28,9 +28,9 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Color.h"
|
#include "color.h"
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
|
|
||||||
#include <gdn/color.h>
|
#include <gdn/color.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
@ -28,10 +28,10 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Dictionary.h"
|
#include "dictionary.h"
|
||||||
#include "Array.h"
|
#include "array.h"
|
||||||
#include "PandemoniumGlobal.h"
|
#include "pandemonium_global.h"
|
||||||
#include "Variant.h"
|
#include "variant.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -28,9 +28,9 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "NodePath.h"
|
#include "node_path.h"
|
||||||
#include "PandemoniumGlobal.h"
|
#include "pandemonium_global.h"
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
|
|
||||||
#include <gdn/node_path.h>
|
#include <gdn/node_path.h>
|
||||||
|
|
@ -28,12 +28,12 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "PandemoniumGlobal.h"
|
#include "pandemonium_global.h"
|
||||||
|
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
#include "Array.h"
|
#include "array.h"
|
||||||
|
|
||||||
#include "Wrapped.h"
|
#include "wrapped.h"
|
||||||
|
|
||||||
static GDCALLINGCONV void *wrapper_create(void *data, const void *type_tag, pandemonium_object *instance) {
|
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));
|
pandemonium::_Wrapped *wrapper_memory = (pandemonium::_Wrapped *)pandemonium::api->pandemonium_alloc(sizeof(pandemonium::_Wrapped));
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include "PandemoniumProfiling.h"
|
#include "pandemonium_profiling.h"
|
||||||
|
|
||||||
#include "OS.h"
|
#include "OS.h"
|
||||||
|
|
@ -28,9 +28,9 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Plane.h"
|
#include "plane.h"
|
||||||
|
|
||||||
#include "Mathp.h"
|
#include "math_funcs.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
@ -28,14 +28,14 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "PoolArrays.h"
|
#include "pool_arrays.h"
|
||||||
#include "Color.h"
|
#include "color.h"
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
#include "PandemoniumGlobal.h"
|
#include "pandemonium_global.h"
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
#include "Vector2.h"
|
#include "vector2.h"
|
||||||
#include "Vector2i.h"
|
#include "vector2i.h"
|
||||||
#include "Vector3.h"
|
#include "vector3.h"
|
||||||
|
|
||||||
#include <gdn/pool_arrays.h>
|
#include <gdn/pool_arrays.h>
|
||||||
|
|
@ -28,7 +28,7 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Projection.h"
|
#include "projection.h"
|
||||||
|
|
||||||
void Projection::set_identity() {
|
void Projection::set_identity() {
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
@ -28,10 +28,10 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Quaternion.h"
|
#include "quaternion.h"
|
||||||
#include "Basis.h"
|
#include "basis.h"
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
#include "Vector3.h"
|
#include "vector3.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
@ -28,10 +28,10 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Rect2.h"
|
#include "rect2.h"
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
#include "Transform2D.h"
|
#include "transform_2d.h"
|
||||||
#include "Vector2.h"
|
#include "vector2.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
@ -28,9 +28,9 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Rect2i.h"
|
#include "rect2i.h"
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
#include "Vector2i.h"
|
#include "vector2i.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -28,11 +28,11 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "RID.h"
|
#include "rid.h"
|
||||||
|
|
||||||
#include <gdn/rid.h>
|
#include <gdn/rid.h>
|
||||||
|
|
||||||
#include "PandemoniumGlobal.h"
|
#include "pandemonium_global.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -28,13 +28,13 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "StringName.h"
|
#include "string_name.h"
|
||||||
|
|
||||||
#include "Array.h"
|
#include "array.h"
|
||||||
#include "PandemoniumGlobal.h"
|
#include "pandemonium_global.h"
|
||||||
#include "NodePath.h"
|
#include "node_path.h"
|
||||||
#include "PoolArrays.h"
|
#include "pool_arrays.h"
|
||||||
#include "Variant.h"
|
#include "variant.h"
|
||||||
|
|
||||||
#include <gdn/string.h>
|
#include <gdn/string.h>
|
||||||
|
|
@ -28,11 +28,11 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "TagDB.h"
|
#include "tag_db.h"
|
||||||
|
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
#include <PandemoniumGlobal.h>
|
#include <pandemonium_global.h>
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -28,14 +28,14 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Transform.h"
|
#include "transform.h"
|
||||||
|
|
||||||
#include "Basis.h"
|
#include "basis.h"
|
||||||
|
|
||||||
#include "AABB.h"
|
#include "aabb.h"
|
||||||
#include "Plane.h"
|
#include "plane.h"
|
||||||
|
|
||||||
#include "Quaternion.h"
|
#include "quaternion.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -28,10 +28,10 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Transform2D.h"
|
#include "transform_2d.h"
|
||||||
#include "Rect2.h"
|
#include "rect2.h"
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
#include "Vector2.h"
|
#include "vector2.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
@ -28,13 +28,13 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
|
|
||||||
#include "Array.h"
|
#include "array.h"
|
||||||
#include "PandemoniumGlobal.h"
|
#include "pandemonium_global.h"
|
||||||
#include "NodePath.h"
|
#include "node_path.h"
|
||||||
#include "PoolArrays.h"
|
#include "pool_arrays.h"
|
||||||
#include "Variant.h"
|
#include "variant.h"
|
||||||
|
|
||||||
#include <gdn/string.h>
|
#include <gdn/string.h>
|
||||||
|
|
@ -28,13 +28,13 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Variant.h"
|
#include "variant.h"
|
||||||
|
|
||||||
#include <gdn/variant.h>
|
#include <gdn/variant.h>
|
||||||
|
|
||||||
#include "CoreTypes.h"
|
#include "core_types.h"
|
||||||
#include "Defs.h"
|
#include "defs.h"
|
||||||
#include "PandemoniumGlobal.h"
|
#include "pandemonium_global.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
@ -28,11 +28,11 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Vector2.h"
|
#include "vector2.h"
|
||||||
|
|
||||||
#include <gdn/vector2.h>
|
#include <gdn/vector2.h>
|
||||||
|
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -28,11 +28,11 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Vector2i.h"
|
#include "vector2i.h"
|
||||||
|
|
||||||
#include <gdn/vector2i.h>
|
#include <gdn/vector2i.h>
|
||||||
|
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -28,13 +28,13 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Vector3.h"
|
#include "vector3.h"
|
||||||
|
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "Basis.h"
|
#include "basis.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -28,11 +28,11 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Vector3i.h"
|
#include "vector3i.h"
|
||||||
|
|
||||||
#include <gdn/vector3i.h>
|
#include <gdn/vector3i.h>
|
||||||
|
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -28,11 +28,11 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Vector4.h"
|
#include "vector4.h"
|
||||||
|
|
||||||
#include <gdn/vector4.h>
|
#include <gdn/vector4.h>
|
||||||
|
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -28,11 +28,11 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include "Vector4i.h"
|
#include "vector4i.h"
|
||||||
|
|
||||||
#include <gdn/vector4i.h>
|
#include <gdn/vector4i.h>
|
||||||
|
|
||||||
#include "String.h"
|
#include "ustring.h"
|
||||||
|
|
||||||
namespace pandemonium {
|
namespace pandemonium {
|
||||||
|
|
@ -28,7 +28,7 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#include <Pandemonium.h>
|
#include <pandemonium.h>
|
||||||
#include <Reference.h>
|
#include <Reference.h>
|
||||||
|
|
||||||
using namespace pandemonium;
|
using namespace pandemonium;
|
||||||
|
Loading…
Reference in New Issue
Block a user