diff --git a/README.md b/README.md index 8786fc6..02b7aa3 100644 --- a/README.md +++ b/README.md @@ -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: ```cpp -#include +#include #include using namespace pandemonium; diff --git a/binding_generator.py b/binding_generator.py index a58dcf7..7a48fa8 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -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 = [] @@ -422,11 +422,11 @@ def generate_class_implementation(icalls, used_classes, c, use_template_get_node 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.h"') @@ -686,8 +686,8 @@ def generate_icall_header(icalls): source.append("#include ") source.append("") - source.append("#include ") - source.append("#include ") + source.append("#include ") + source.append("#include ") source.append('#include "Object.h"') source.append("") source.append("") @@ -780,7 +780,7 @@ def generate_icall_header(icalls): def generate_type_registry(classes): source = [] - source.append('#include "TagDB.h"') + source.append('#include "tag_db.h"') source.append("#include ") source.append("\n") diff --git a/include/core/AABB.h b/include/core/aabb.h similarity index 98% rename from include/core/AABB.h rename to include/core/aabb.h index 71c5bb2..5253bc5 100644 --- a/include/core/AABB.h +++ b/include/core/aabb.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* AABB.h */ +/* aabb.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,7 +31,7 @@ #ifndef AABB_H #define AABB_H -#include "Vector3.h" +#include "vector3.h" #include diff --git a/include/core/Array.h b/include/core/array.h similarity index 98% rename from include/core/Array.h rename to include/core/array.h index d8ceef8..fad66fc 100644 --- a/include/core/Array.h +++ b/include/core/array.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Array.h */ +/* array.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ diff --git a/include/core/Basis.h b/include/core/basis.h similarity index 99% rename from include/core/Basis.h rename to include/core/basis.h index 01cdb45..6dbf684 100644 --- a/include/core/Basis.h +++ b/include/core/basis.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Basis.h */ +/* basis.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,9 +33,9 @@ #include -#include "Defs.h" +#include "defs.h" -#include "Vector3.h" +#include "vector3.h" namespace pandemonium { diff --git a/include/core/Color.h b/include/core/color.h similarity index 97% rename from include/core/Color.h rename to include/core/color.h index 170f73c..d7e4e67 100644 --- a/include/core/Color.h +++ b/include/core/color.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Color.h */ +/* color.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -35,8 +35,8 @@ #include -#include "Defs.h" -#include "String.h" +#include "defs.h" +#include "ustring.h" namespace pandemonium { diff --git a/include/core/CoreTypes.h b/include/core/core_types.h similarity index 77% rename from include/core/CoreTypes.h rename to include/core/core_types.h index 4d453a8..74738ad 100644 --- a/include/core/CoreTypes.h +++ b/include/core/core_types.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* CoreTypes.h */ +/* core_types.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,33 +31,33 @@ #ifndef CORETYPES_H #define CORETYPES_H -#include "Defs.h" +#include "defs.h" -#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 "aabb.h" +#include "array.h" +#include "basis.h" +#include "color.h" +#include "dictionary.h" +#include "node_path.h" +#include "plane.h" +#include "pool_arrays.h" +#include "quaternion.h" +#include "rid.h" +#include "rect2.h" +#include "rect2i.h" +#include "ustring.h" +#include "string_name.h" +#include "transform.h" +#include "transform_2d.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.h" +#include "wrapped.h" #endif // CORETYPES_H diff --git a/include/core/Defs.h b/include/core/defs.h similarity index 99% rename from include/core/Defs.h rename to include/core/defs.h index fe17b26..db70974 100644 --- a/include/core/Defs.h +++ b/include/core/defs.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Defs.h */ +/* 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.h b/include/core/dictionary.h similarity index 96% rename from include/core/Dictionary.h rename to include/core/dictionary.h index 69378d5..3f6b129 100644 --- a/include/core/Dictionary.h +++ b/include/core/dictionary.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Dictionary.h */ +/* dictionary.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,8 +31,8 @@ #ifndef DICTIONARY_H #define DICTIONARY_H -#include "Array.h" -#include "Variant.h" +#include "array.h" +#include "variant.h" #include diff --git a/include/core/Mathp.h b/include/core/math_funcs.h similarity index 96% rename from include/core/Mathp.h rename to include/core/math_funcs.h index 27b8f94..1df29b8 100644 --- a/include/core/Mathp.h +++ b/include/core/math_funcs.h @@ -31,7 +31,7 @@ #ifndef PANDEMONIUM_MATH_H #define PANDEMONIUM_MATH_H -#include "Defs.h" +#include "defs.h" #include namespace pandemonium { diff --git a/include/core/NodePath.h b/include/core/node_path.h similarity index 100% rename from include/core/NodePath.h rename to include/core/node_path.h diff --git a/include/core/Pandemonium.h b/include/core/pandemonium.h similarity index 99% rename from include/core/Pandemonium.h rename to include/core/pandemonium.h index a7934f3..d3c1d4f 100644 --- a/include/core/Pandemonium.h +++ b/include/core/pandemonium.h @@ -38,14 +38,14 @@ #include #include -#include "CoreTypes.h" -#include "Ref.h" -#include "TagDB.h" -#include "Variant.h" +#include "core_types.h" +#include "reference.h" +#include "tag_db.h" +#include "variant.h" #include "Object.h" -#include "PandemoniumGlobal.h" +#include "pandemonium_global.h" #include diff --git a/include/core/PandemoniumGlobal.h b/include/core/pandemonium_global.h similarity index 96% rename from include/core/PandemoniumGlobal.h rename to include/core/pandemonium_global.h index a9a8a81..913a176 100644 --- a/include/core/PandemoniumGlobal.h +++ b/include/core/pandemonium_global.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* PandemoniumGlobal.h */ +/* pandemonium_global.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,8 +33,8 @@ #include -#include "Array.h" -#include "String.h" +#include "array.h" +#include "ustring.h" namespace pandemonium { diff --git a/include/core/PandemoniumProfiling.h b/include/core/pandemonium_profiling.h similarity index 96% rename from include/core/PandemoniumProfiling.h rename to include/core/pandemonium_profiling.h index adb4a9e..0001171 100644 --- a/include/core/PandemoniumProfiling.h +++ b/include/core/pandemonium_profiling.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* PandemoniumProfiling.h */ +/* pandemonium_profiling.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,7 +31,7 @@ #ifndef PANDEMONIUM_PROFILING_HPP #define PANDEMONIUM_PROFILING_HPP -#include "Defs.h" +#include "defs.h" namespace pandemonium { diff --git a/include/core/Plane.h b/include/core/plane.h similarity index 99% rename from include/core/Plane.h rename to include/core/plane.h index 1053596..22809aa 100644 --- a/include/core/Plane.h +++ b/include/core/plane.h @@ -31,7 +31,7 @@ #ifndef PLANE_H #define PLANE_H -#include "Vector3.h" +#include "vector3.h" #include diff --git a/include/core/PoolArrays.h b/include/core/pool_arrays.h similarity index 99% rename from include/core/PoolArrays.h rename to include/core/pool_arrays.h index 9796544..7fd6981 100644 --- a/include/core/PoolArrays.h +++ b/include/core/pool_arrays.h @@ -31,14 +31,14 @@ #ifndef POOLARRAYS_H #define POOLARRAYS_H -#include "Defs.h" +#include "defs.h" -#include "Color.h" -#include "PandemoniumGlobal.h" -#include "String.h" -#include "Vector2.h" -#include "Vector2i.h" -#include "Vector3.h" +#include "color.h" +#include "pandemonium_global.h" +#include "ustring.h" +#include "vector2.h" +#include "vector2i.h" +#include "vector3.h" #include diff --git a/include/core/Projection.h b/include/core/projection.h similarity index 98% rename from include/core/Projection.h rename to include/core/projection.h index 18a8ff8..db29b63 100644 --- a/include/core/Projection.h +++ b/include/core/projection.h @@ -31,11 +31,11 @@ #ifndef CAMERA_MATRIX_H #define CAMERA_MATRIX_H -#include "Defs.h" -#include "Mathp.h" -#include "Plane.h" -#include "Rect2.h" -#include "Transform.h" +#include "defs.h" +#include "math_funcs.h" +#include "plane.h" +#include "rect2.h" +#include "transform.h" #include diff --git a/include/core/Quaternion.h b/include/core/quaternion.h similarity index 99% rename from include/core/Quaternion.h rename to include/core/quaternion.h index f8930be..327fdf2 100644 --- a/include/core/Quaternion.h +++ b/include/core/quaternion.h @@ -33,9 +33,9 @@ #include -#include "Vector3.h" +#include "vector3.h" -// #include "Basis.h" +// #include "basis.h" namespace pandemonium { diff --git a/include/core/Rect2.h b/include/core/rect2.h similarity index 99% rename from include/core/Rect2.h rename to include/core/rect2.h index bb58779..217a6ab 100644 --- a/include/core/Rect2.h +++ b/include/core/rect2.h @@ -31,7 +31,7 @@ #ifndef RECT2_H #define RECT2_H -#include "Vector2.h" +#include "vector2.h" #include diff --git a/include/core/Rect2i.h b/include/core/rect2i.h similarity index 96% rename from include/core/Rect2i.h rename to include/core/rect2i.h index 56a7b86..e8cc624 100644 --- a/include/core/Rect2i.h +++ b/include/core/rect2i.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Rect2.h */ +/* rect2.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -31,7 +31,7 @@ #ifndef RECT2I_H #define RECT2I_H -#include "Vector2i.h" +#include "vector2i.h" #include diff --git a/include/core/Ref.h b/include/core/reference.h similarity index 99% rename from include/core/Ref.h rename to include/core/reference.h index cf95461..1d7de27 100644 --- a/include/core/Ref.h +++ b/include/core/reference.h @@ -31,9 +31,9 @@ #ifndef REF_H #define REF_H -#include "PandemoniumGlobal.h" +#include "pandemonium_global.h" #include "Reference.h" -#include "Variant.h" +#include "variant.h" namespace pandemonium { diff --git a/include/core/RID.h b/include/core/rid.h similarity index 97% rename from include/core/RID.h rename to include/core/rid.h index d20baf7..f529b18 100644 --- a/include/core/RID.h +++ b/include/core/rid.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* RID.h */ +/* rid.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ diff --git a/include/core/StringName.h b/include/core/string_name.h similarity index 97% rename from include/core/StringName.h rename to include/core/string_name.h index 5098277..4ac0a82 100644 --- a/include/core/StringName.h +++ b/include/core/string_name.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* String.h */ +/* string.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ diff --git a/include/core/TagDB.h b/include/core/tag_db.h similarity index 100% rename from include/core/TagDB.h rename to include/core/tag_db.h diff --git a/include/core/Transform.h b/include/core/transform.h similarity index 98% rename from include/core/Transform.h rename to include/core/transform.h index ce65e85..767936c 100644 --- a/include/core/Transform.h +++ b/include/core/transform.h @@ -31,10 +31,10 @@ #ifndef TRANSFORM_H #define TRANSFORM_H -#include "Basis.h" +#include "basis.h" -#include "AABB.h" -#include "Plane.h" +#include "aabb.h" +#include "plane.h" namespace pandemonium { diff --git a/include/core/Transform2D.h b/include/core/transform_2d.h similarity index 99% rename from include/core/Transform2D.h rename to include/core/transform_2d.h index 4fd8733..c2d5078 100644 --- a/include/core/Transform2D.h +++ b/include/core/transform_2d.h @@ -31,7 +31,7 @@ #ifndef TRANSFORM2D_H #define TRANSFORM2D_H -#include "Vector2.h" +#include "vector2.h" namespace pandemonium { diff --git a/include/core/String.h b/include/core/ustring.h similarity index 100% rename from include/core/String.h rename to include/core/ustring.h diff --git a/include/core/Variant.h b/include/core/variant.h similarity index 94% rename from include/core/Variant.h rename to include/core/variant.h index 3ce6218..8052251 100644 --- a/include/core/Variant.h +++ b/include/core/variant.h @@ -33,28 +33,28 @@ #include -#include "Defs.h" +#include "defs.h" -#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" +#include "aabb.h" +#include "basis.h" +#include "color.h" +#include "node_path.h" +#include "plane.h" +#include "pool_arrays.h" +#include "projection.h" +#include "quaternion.h" +#include "rid.h" +#include "rect2.h" +#include "rect2i.h" +#include "ustring.h" +#include "transform.h" +#include "transform_2d.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.h b/include/core/vector2.h similarity index 99% rename from include/core/Vector2.h rename to include/core/vector2.h index acb6fe5..d536e96 100644 --- a/include/core/Vector2.h +++ b/include/core/vector2.h @@ -33,9 +33,9 @@ #include -#include "Defs.h" +#include "defs.h" -#include +#include namespace pandemonium { diff --git a/include/core/Vector2i.h b/include/core/vector2i.h similarity index 96% rename from include/core/Vector2i.h rename to include/core/vector2i.h index c075cf0..914014f 100644 --- a/include/core/Vector2i.h +++ b/include/core/vector2i.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Vector2.h */ +/* vector2.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,9 +33,9 @@ #include -#include "Defs.h" +#include "defs.h" -#include +#include namespace pandemonium { diff --git a/include/core/Vector3.h b/include/core/vector3.h similarity index 99% rename from include/core/Vector3.h rename to include/core/vector3.h index 5540272..8ae90d8 100644 --- a/include/core/Vector3.h +++ b/include/core/vector3.h @@ -33,9 +33,9 @@ #include -#include "Defs.h" +#include "defs.h" -#include +#include namespace pandemonium { diff --git a/include/core/Vector3i.h b/include/core/vector3i.h similarity index 96% rename from include/core/Vector3i.h rename to include/core/vector3i.h index 7d000cd..7533059 100644 --- a/include/core/Vector3i.h +++ b/include/core/vector3i.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Vector2.h */ +/* vector2.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,9 +33,9 @@ #include -#include "Defs.h" +#include "defs.h" -#include +#include namespace pandemonium { diff --git a/include/core/Vector4.h b/include/core/vector4.h similarity index 96% rename from include/core/Vector4.h rename to include/core/vector4.h index a5d773c..86d14e2 100644 --- a/include/core/Vector4.h +++ b/include/core/vector4.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Vector2.h */ +/* vector2.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,9 +33,9 @@ #include -#include "Defs.h" +#include "defs.h" -#include +#include namespace pandemonium { diff --git a/include/core/Vector4i.h b/include/core/vector4i.h similarity index 96% rename from include/core/Vector4i.h rename to include/core/vector4i.h index 2ea9543..63dc755 100644 --- a/include/core/Vector4i.h +++ b/include/core/vector4i.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Vector2.h */ +/* vector2.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ @@ -33,9 +33,9 @@ #include -#include "Defs.h" +#include "defs.h" -#include +#include namespace pandemonium { diff --git a/include/core/Wrapped.h b/include/core/wrapped.h similarity index 97% rename from include/core/Wrapped.h rename to include/core/wrapped.h index e218b67..f2e0e02 100644 --- a/include/core/Wrapped.h +++ b/include/core/wrapped.h @@ -1,5 +1,5 @@ /*************************************************************************/ -/* Wrapped.h */ +/* wrapped.h */ /*************************************************************************/ /* This file is part of: */ /* PANDEMONIUM ENGINE */ diff --git a/src/core/AABB.cpp b/src/core/aabb.cpp similarity index 99% rename from src/core/AABB.cpp rename to src/core/aabb.cpp index c6100f8..4bbe18b 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.h" -#include "Plane.h" -#include "Vector3.h" +#include "aabb.h" +#include "plane.h" +#include "vector3.h" #include diff --git a/src/core/Array.cpp b/src/core/array.cpp similarity index 98% rename from src/core/Array.cpp rename to src/core/array.cpp index f1b3a1a..6ebfd89 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.h" -#include "PandemoniumGlobal.h" -#include "Variant.h" -#include "String.h" +#include "array.h" +#include "pandemonium_global.h" +#include "variant.h" +#include "ustring.h" #include diff --git a/src/core/Basis.cpp b/src/core/basis.cpp similarity index 99% rename from src/core/Basis.cpp rename to src/core/basis.cpp index f295885..bf270a9 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.h" -#include "Defs.h" -#include "Quaternion.h" -#include "Vector3.h" +#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.h" +#include "quaternion.h" namespace pandemonium { diff --git a/src/core/Color.cpp b/src/core/color.cpp similarity index 99% rename from src/core/Color.cpp rename to src/core/color.cpp index ef6ef6a..ed6d715 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.h" -#include "Defs.h" -#include "String.h" +#include "color.h" +#include "defs.h" +#include "ustring.h" #include #include diff --git a/src/core/Dictionary.cpp b/src/core/dictionary.cpp similarity index 98% rename from src/core/Dictionary.cpp rename to src/core/dictionary.cpp index 1dec099..8e32ea1 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.h" -#include "Array.h" -#include "PandemoniumGlobal.h" -#include "Variant.h" +#include "dictionary.h" +#include "array.h" +#include "pandemonium_global.h" +#include "variant.h" namespace pandemonium { diff --git a/src/core/NodePath.cpp b/src/core/node_path.cpp similarity index 98% rename from src/core/NodePath.cpp rename to src/core/node_path.cpp index e69005b..a59f7a5 100644 --- a/src/core/NodePath.cpp +++ b/src/core/node_path.cpp @@ -28,9 +28,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "NodePath.h" -#include "PandemoniumGlobal.h" -#include "String.h" +#include "node_path.h" +#include "pandemonium_global.h" +#include "ustring.h" #include diff --git a/src/core/PandemoniumGlobal.cpp b/src/core/pandemonium_global.cpp similarity index 98% rename from src/core/PandemoniumGlobal.cpp rename to src/core/pandemonium_global.cpp index 93aaff7..0556c24 100644 --- a/src/core/PandemoniumGlobal.cpp +++ b/src/core/pandemonium_global.cpp @@ -28,12 +28,12 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "PandemoniumGlobal.h" +#include "pandemonium_global.h" -#include "String.h" -#include "Array.h" +#include "ustring.h" +#include "array.h" -#include "Wrapped.h" +#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/PandemoniumProfiling.cpp b/src/core/pandemonium_profiling.cpp similarity index 92% rename from src/core/PandemoniumProfiling.cpp rename to src/core/pandemonium_profiling.cpp index 9162d72..1dbe55c 100644 --- a/src/core/PandemoniumProfiling.cpp +++ b/src/core/pandemonium_profiling.cpp @@ -1,5 +1,5 @@ -#include "PandemoniumProfiling.h" +#include "pandemonium_profiling.h" #include "OS.h" diff --git a/src/core/Plane.cpp b/src/core/plane.cpp similarity index 99% rename from src/core/Plane.cpp rename to src/core/plane.cpp index d3ef80e..3d6a94d 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.h" +#include "plane.h" -#include "Mathp.h" +#include "math_funcs.h" #include diff --git a/src/core/PoolArrays.cpp b/src/core/pool_arrays.cpp similarity index 99% rename from src/core/PoolArrays.cpp rename to src/core/pool_arrays.cpp index dff3bcc..53656a9 100644 --- a/src/core/PoolArrays.cpp +++ b/src/core/pool_arrays.cpp @@ -28,14 +28,14 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#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 "pool_arrays.h" +#include "color.h" +#include "defs.h" +#include "pandemonium_global.h" +#include "ustring.h" +#include "vector2.h" +#include "vector2i.h" +#include "vector3.h" #include diff --git a/src/core/Projection.cpp b/src/core/projection.cpp similarity index 99% rename from src/core/Projection.cpp rename to src/core/projection.cpp index 07465a3..7b9711c 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.h" +#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 similarity index 99% rename from src/core/Quaternion.cpp rename to src/core/quaternion.cpp index bf42196..d13a85e 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.h" -#include "Basis.h" -#include "Defs.h" -#include "Vector3.h" +#include "quaternion.h" +#include "basis.h" +#include "defs.h" +#include "vector3.h" #include diff --git a/src/core/Rect2.cpp b/src/core/rect2.cpp similarity index 98% rename from src/core/Rect2.cpp rename to src/core/rect2.cpp index e272b14..84521d6 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.h" -#include "String.h" -#include "Transform2D.h" -#include "Vector2.h" +#include "rect2.h" +#include "ustring.h" +#include "transform_2d.h" +#include "vector2.h" #include diff --git a/src/core/Rect2i.cpp b/src/core/rect2i.cpp similarity index 97% rename from src/core/Rect2i.cpp rename to src/core/rect2i.cpp index 1660358..5410d4b 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.h" -#include "String.h" -#include "Vector2i.h" +#include "rect2i.h" +#include "ustring.h" +#include "vector2i.h" namespace pandemonium { diff --git a/src/core/RID.cpp b/src/core/rid.cpp similarity index 98% rename from src/core/RID.cpp rename to src/core/rid.cpp index 1f7eb26..65d9cb1 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.h" +#include "rid.h" #include -#include "PandemoniumGlobal.h" +#include "pandemonium_global.h" namespace pandemonium { diff --git a/src/core/StringName.cpp b/src/core/string_name.cpp similarity index 96% rename from src/core/StringName.cpp rename to src/core/string_name.cpp index 3bacb94..466a5b3 100644 --- a/src/core/StringName.cpp +++ b/src/core/string_name.cpp @@ -28,13 +28,13 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "StringName.h" +#include "string_name.h" -#include "Array.h" -#include "PandemoniumGlobal.h" -#include "NodePath.h" -#include "PoolArrays.h" -#include "Variant.h" +#include "array.h" +#include "pandemonium_global.h" +#include "node_path.h" +#include "pool_arrays.h" +#include "variant.h" #include diff --git a/src/core/TagDB.cpp b/src/core/tag_db.cpp similarity index 98% rename from src/core/TagDB.cpp rename to src/core/tag_db.cpp index e5dc732..b65efb5 100644 --- a/src/core/TagDB.cpp +++ b/src/core/tag_db.cpp @@ -28,11 +28,11 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "TagDB.h" +#include "tag_db.h" #include -#include +#include namespace pandemonium { diff --git a/src/core/Transform.cpp b/src/core/transform.cpp similarity index 98% rename from src/core/Transform.cpp rename to src/core/transform.cpp index d825c20..cbce8a8 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.h" +#include "transform.h" -#include "Basis.h" +#include "basis.h" -#include "AABB.h" -#include "Plane.h" +#include "aabb.h" +#include "plane.h" -#include "Quaternion.h" +#include "quaternion.h" namespace pandemonium { diff --git a/src/core/Transform2D.cpp b/src/core/transform_2d.cpp similarity index 99% rename from src/core/Transform2D.cpp rename to src/core/transform_2d.cpp index cb71efc..aef0a31 100644 --- a/src/core/Transform2D.cpp +++ b/src/core/transform_2d.cpp @@ -28,10 +28,10 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Transform2D.h" -#include "Rect2.h" -#include "String.h" -#include "Vector2.h" +#include "transform_2d.h" +#include "rect2.h" +#include "ustring.h" +#include "vector2.h" #include diff --git a/src/core/String.cpp b/src/core/ustring.cpp similarity index 99% rename from src/core/String.cpp rename to src/core/ustring.cpp index b54a039..f7d7d5b 100644 --- a/src/core/String.cpp +++ b/src/core/ustring.cpp @@ -28,13 +28,13 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "String.h" +#include "ustring.h" -#include "Array.h" -#include "PandemoniumGlobal.h" -#include "NodePath.h" -#include "PoolArrays.h" -#include "Variant.h" +#include "array.h" +#include "pandemonium_global.h" +#include "node_path.h" +#include "pool_arrays.h" +#include "variant.h" #include diff --git a/src/core/Variant.cpp b/src/core/variant.cpp similarity index 99% rename from src/core/Variant.cpp rename to src/core/variant.cpp index 3b87a7e..31045ba 100644 --- a/src/core/Variant.cpp +++ b/src/core/variant.cpp @@ -28,13 +28,13 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "Variant.h" +#include "variant.h" #include -#include "CoreTypes.h" -#include "Defs.h" -#include "PandemoniumGlobal.h" +#include "core_types.h" +#include "defs.h" +#include "pandemonium_global.h" #include "Object.h" namespace pandemonium { diff --git a/src/core/Vector2.cpp b/src/core/vector2.cpp similarity index 98% rename from src/core/Vector2.cpp rename to src/core/vector2.cpp index ede46c7..4cf54d1 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.h" +#include "vector2.h" #include -#include "String.h" +#include "ustring.h" namespace pandemonium { diff --git a/src/core/Vector2i.cpp b/src/core/vector2i.cpp similarity index 98% rename from src/core/Vector2i.cpp rename to src/core/vector2i.cpp index f04d669..0f1aff8 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.h" +#include "vector2i.h" #include -#include "String.h" +#include "ustring.h" namespace pandemonium { diff --git a/src/core/Vector3.cpp b/src/core/vector3.cpp similarity index 98% rename from src/core/Vector3.cpp rename to src/core/vector3.cpp index 0e214b9..9dd805d 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.h" +#include "vector3.h" -#include "String.h" +#include "ustring.h" #include -#include "Basis.h" +#include "basis.h" namespace pandemonium { diff --git a/src/core/Vector3i.cpp b/src/core/vector3i.cpp similarity index 98% rename from src/core/Vector3i.cpp rename to src/core/vector3i.cpp index 94c05cd..0aa95ce 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.h" +#include "vector3i.h" #include -#include "String.h" +#include "ustring.h" namespace pandemonium { diff --git a/src/core/Vector4.cpp b/src/core/vector4.cpp similarity index 98% rename from src/core/Vector4.cpp rename to src/core/vector4.cpp index 930b37a..83e0b27 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.h" +#include "vector4.h" #include -#include "String.h" +#include "ustring.h" namespace pandemonium { diff --git a/src/core/Vector4i.cpp b/src/core/vector4i.cpp similarity index 98% rename from src/core/Vector4i.cpp rename to src/core/vector4i.cpp index 4c1a6be..c6a4ace 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.h" +#include "vector4i.h" #include -#include "String.h" +#include "ustring.h" namespace pandemonium { diff --git a/test/src/init.cpp b/test/src/init.cpp index a8be237..872dd5d 100644 --- a/test/src/init.cpp +++ b/test/src/init.cpp @@ -28,7 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include +#include #include using namespace pandemonium;