mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-08 07:52:09 +01:00
Strip the include guards when merging the headers.
This commit is contained in:
parent
dfdefa860d
commit
173a1ec5ab
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef AABB_H
|
#ifndef AABB_H
|
||||||
#define AABB_H
|
#define AABB_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* aabb.h */
|
/* aabb.h */
|
||||||
@ -434,4 +436,6 @@ AABB AABB::quantized(real_t p_unit) const {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // AABB_H
|
#endif // AABB_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef BASIS_H
|
#ifndef BASIS_H
|
||||||
#define BASIS_H
|
#define BASIS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* basis.h */
|
/* basis.h */
|
||||||
@ -377,4 +379,7 @@ Basis Basis::lerp(const Basis &p_to, const real_t &p_weight) const {
|
|||||||
|
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // BASIS_H
|
#endif // BASIS_H
|
||||||
|
//--STRIP
|
||||||
|
@ -3,8 +3,10 @@
|
|||||||
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#ifndef CHAR_RANGE_INC
|
#ifndef CHAR_RANGE_INC
|
||||||
#define CHAR_RANGE_INC
|
#define CHAR_RANGE_INC
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/typedefs.h"
|
#include "core/typedefs.h"
|
||||||
@ -1430,4 +1432,6 @@ static CharRange xid_continue[] = {
|
|||||||
{ 0x0, 0x0 },
|
{ 0x0, 0x0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // CHAR_RANGE_INC
|
#endif // CHAR_RANGE_INC
|
||||||
|
//--STRIP
|
||||||
|
@ -3,8 +3,10 @@
|
|||||||
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#ifndef CHAR_UTILS_H
|
#ifndef CHAR_UTILS_H
|
||||||
#define CHAR_UTILS_H
|
#define CHAR_UTILS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/typedefs.h"
|
#include "core/typedefs.h"
|
||||||
@ -86,4 +88,6 @@ static _FORCE_INLINE_ bool is_underscore(char32_t p_char) {
|
|||||||
return (p_char == '_');
|
return (p_char == '_');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // CHAR_UTILS_H
|
#endif // CHAR_UTILS_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef COLOR_H
|
#ifndef COLOR_H
|
||||||
#define COLOR_H
|
#define COLOR_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* color.h */
|
/* color.h */
|
||||||
@ -240,4 +242,6 @@ bool Color::operator<(const Color &p_color) const {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef COWDATA_H_
|
#ifndef COWDATA_H_
|
||||||
#define COWDATA_H_
|
#define COWDATA_H_
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* cowdata.h */
|
/* cowdata.h */
|
||||||
@ -368,4 +370,6 @@ CowData<T>::~CowData() {
|
|||||||
_unref(_ptr);
|
_unref(_ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif /* COW_H_ */
|
#endif /* COW_H_ */
|
||||||
|
//--STRIP
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef DIR_ACCESS_H
|
#ifndef DIR_ACCESS_H
|
||||||
#define DIR_ACCESS_H
|
#define DIR_ACCESS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* dir_access.h */
|
/* dir_access.h */
|
||||||
@ -135,4 +136,6 @@ struct DirAccessRef {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -3,8 +3,10 @@
|
|||||||
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#ifndef ERROR_LIST_H
|
#ifndef ERROR_LIST_H
|
||||||
#define ERROR_LIST_H
|
#define ERROR_LIST_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/** Error List. Please never compare an error against FAILED
|
/** Error List. Please never compare an error against FAILED
|
||||||
* Either do result != OK , or !result. This way, Error fail
|
* Either do result != OK , or !result. This way, Error fail
|
||||||
@ -65,4 +67,6 @@ enum Error {
|
|||||||
ERR_PRINTER_ON_FIRE, /// the parallel port printer is engulfed in flames
|
ERR_PRINTER_ON_FIRE, /// the parallel port printer is engulfed in flames
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef ERROR_MACROS_H
|
#ifndef ERROR_MACROS_H
|
||||||
#define ERROR_MACROS_H
|
#define ERROR_MACROS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/logger.h"
|
#include "core/logger.h"
|
||||||
@ -291,4 +293,6 @@ _FORCE_INLINE_ void _RLOG_MACRO_TEMPLATE_FUNC(STR str, A p0, B p1, C p2, D p3, E
|
|||||||
#define DEV_CHECK_ONCE(m_cond)
|
#define DEV_CHECK_ONCE(m_cond)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef FACE3_H
|
#ifndef FACE3_H
|
||||||
#define FACE3_H
|
#define FACE3_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* face3.h */
|
/* face3.h */
|
||||||
@ -230,4 +232,6 @@ bool Face3::intersects_aabb2(const AABB &p_aabb) const {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // FACE3_H
|
#endif // FACE3_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,33 +1,7 @@
|
|||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* file_access.cpp */
|
/* file_access.cpp */
|
||||||
/*************************************************************************/
|
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
||||||
/* This file is part of: */
|
|
||||||
/* PANDEMONIUM ENGINE */
|
|
||||||
/* https://github.com/Relintai/pandemonium_engine */
|
|
||||||
/*************************************************************************/
|
|
||||||
/* Copyright (c) 2022-present Péter Magyar. */
|
|
||||||
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
|
@ -1,36 +1,11 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef FILE_ACCESS_H
|
#ifndef FILE_ACCESS_H
|
||||||
#define FILE_ACCESS_H
|
#define FILE_ACCESS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* file_access.h */
|
/* file_access.h */
|
||||||
/*************************************************************************/
|
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
||||||
/* This file is part of: */
|
|
||||||
/* PANDEMONIUM ENGINE */
|
|
||||||
/* https://github.com/Relintai/pandemonium_engine */
|
|
||||||
/*************************************************************************/
|
|
||||||
/* Copyright (c) 2022-present Péter Magyar. */
|
|
||||||
/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */
|
|
||||||
/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */
|
|
||||||
/* */
|
|
||||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
||||||
/* a copy of this software and associated documentation files (the */
|
|
||||||
/* "Software"), to deal in the Software without restriction, including */
|
|
||||||
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
||||||
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
||||||
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
||||||
/* the following conditions: */
|
|
||||||
/* */
|
|
||||||
/* The above copyright notice and this permission notice shall be */
|
|
||||||
/* included in all copies or substantial portions of the Software. */
|
|
||||||
/* */
|
|
||||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
||||||
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
||||||
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
|
||||||
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
||||||
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
@ -209,4 +184,6 @@ struct FileAccessRef {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef HASH_MAP_H
|
#ifndef HASH_MAP_H
|
||||||
#define HASH_MAP_H
|
#define HASH_MAP_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* hash_map.h */
|
/* hash_map.h */
|
||||||
@ -640,4 +642,6 @@ private:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // HASH_MAP_H
|
#endif // HASH_MAP_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef HASH_SET_H
|
#ifndef HASH_SET_H
|
||||||
#define HASH_SET_H
|
#define HASH_SET_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* hash_set.h */
|
/* hash_set.h */
|
||||||
@ -479,4 +481,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // HASH_SET_H
|
#endif // HASH_SET_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef HASHFUNCS_H
|
#ifndef HASHFUNCS_H
|
||||||
#define HASHFUNCS_H
|
#define HASHFUNCS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* hashfuncs.h */
|
/* hashfuncs.h */
|
||||||
@ -499,4 +501,6 @@ static _FORCE_INLINE_ uint32_t fastmod(const uint32_t n, const uint64_t c, const
|
|||||||
#endif // _MSC_VER
|
#endif // _MSC_VER
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // HASHFUNCS_H
|
#endif // HASHFUNCS_H
|
||||||
|
//--STRIP
|
||||||
|
@ -19,8 +19,10 @@
|
|||||||
|
|
||||||
// Author: Tao An
|
// Author: Tao An
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#ifndef INET_ADDRESS_H
|
#ifndef INET_ADDRESS_H
|
||||||
#define INET_ADDRESS_H
|
#define INET_ADDRESS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//On windows link to ws2_32
|
//On windows link to ws2_32
|
||||||
|
|
||||||
@ -94,4 +96,6 @@ private:
|
|||||||
bool _is_unspecified;
|
bool _is_unspecified;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef GLOBALS_LIST_H
|
#ifndef GLOBALS_LIST_H
|
||||||
#define GLOBALS_LIST_H
|
#define GLOBALS_LIST_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* list.h */
|
/* list.h */
|
||||||
@ -674,4 +676,6 @@ public:
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef LOCAL_VECTOR_H
|
#ifndef LOCAL_VECTOR_H
|
||||||
#define LOCAL_VECTOR_H
|
#define LOCAL_VECTOR_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* local_vector.h */
|
/* local_vector.h */
|
||||||
@ -296,4 +298,6 @@ template <class T, class I = int32_t, bool force_trivial = false>
|
|||||||
class LocalVectori : public LocalVector<T, I, force_trivial> {
|
class LocalVectori : public LocalVector<T, I, force_trivial> {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // LOCAL_VECTOR_H
|
#endif // LOCAL_VECTOR_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef LOGGER_H
|
#ifndef LOGGER_H
|
||||||
#define LOGGER_H
|
#define LOGGER_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
|
|
||||||
class String;
|
class String;
|
||||||
@ -71,4 +72,6 @@ public:
|
|||||||
static void log_ret_ptr(String *str);
|
static void log_ret_ptr(String *str);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,13 +1,17 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef MARSHALLS_H
|
#ifndef MARSHALLS_H
|
||||||
#define MARSHALLS_H
|
#define MARSHALLS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* marshalls.h */
|
/* marshalls.h */
|
||||||
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#include "core/int_types.h"
|
#include "core/int_types.h"
|
||||||
#include "core/math_defs.h"
|
#include "core/math_defs.h"
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Miscellaneous helpers for marshalling data types, and encoding
|
* Miscellaneous helpers for marshalling data types, and encoding
|
||||||
@ -139,4 +143,6 @@ static inline double decode_double(const uint8_t *p_arr) {
|
|||||||
return md.d;
|
return md.d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef MATH_DEFS_H
|
#ifndef MATH_DEFS_H
|
||||||
#define MATH_DEFS_H
|
#define MATH_DEFS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* math_defs.h */
|
/* math_defs.h */
|
||||||
@ -95,4 +97,6 @@ typedef double real_t;
|
|||||||
typedef float real_t;
|
typedef float real_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // MATH_DEFS_H
|
#endif // MATH_DEFS_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef MATH_FUNCS_H
|
#ifndef MATH_FUNCS_H
|
||||||
#define MATH_FUNCS_H
|
#define MATH_FUNCS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* math_funcs.h */
|
/* math_funcs.h */
|
||||||
@ -641,4 +643,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // MATH_FUNCS_H
|
#endif // MATH_FUNCS_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef MEMORY_H
|
#ifndef MEMORY_H
|
||||||
#define MEMORY_H
|
#define MEMORY_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* memory.h */
|
/* memory.h */
|
||||||
@ -179,4 +181,6 @@ struct _GlobalNilClass {
|
|||||||
static _GlobalNil _nil;
|
static _GlobalNil _nil;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef MUTEX_H
|
#ifndef MUTEX_H
|
||||||
#define MUTEX_H
|
#define MUTEX_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* mutex.h */
|
/* mutex.h */
|
||||||
@ -94,4 +96,6 @@ using BinaryMutex = MutexImpl<FakeMutex>; // Non-recursive, handle with care
|
|||||||
|
|
||||||
#endif // !NO_THREADS
|
#endif // !NO_THREADS
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // MUTEX_H
|
#endif // MUTEX_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef GHASH_MAP_H
|
#ifndef GHASH_MAP_H
|
||||||
#define GHASH_MAP_H
|
#define GHASH_MAP_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* og_hash_map.h */
|
/* og_hash_map.h */
|
||||||
@ -578,4 +580,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef ORDERED_HASH_MAP_H
|
#ifndef ORDERED_HASH_MAP_H
|
||||||
#define ORDERED_HASH_MAP_H
|
#define ORDERED_HASH_MAP_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* ordered_hash_map.h */
|
/* ordered_hash_map.h */
|
||||||
@ -284,4 +286,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // ORDERED_HASH_MAP_H
|
#endif // ORDERED_HASH_MAP_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef PAGED_ALLOCATOR_H
|
#ifndef PAGED_ALLOCATOR_H
|
||||||
#define PAGED_ALLOCATOR_H
|
#define PAGED_ALLOCATOR_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* paged_allocator.h */
|
/* paged_allocator.h */
|
||||||
@ -107,4 +109,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // PAGED_ALLOCATOR_H
|
#endif // PAGED_ALLOCATOR_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef PAIR_H
|
#ifndef PAIR_H
|
||||||
#define PAIR_H
|
#define PAIR_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* pair.h */
|
/* pair.h */
|
||||||
@ -89,4 +91,6 @@ struct KeyValueSort {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // PAIR_H
|
#endif // PAIR_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
// *Really* minimal PCG32 code / (c) 2014 M.E. O'Neill / pcg-random.org
|
// *Really* minimal PCG32 code / (c) 2014 M.E. O'Neill / pcg-random.org
|
||||||
// Licensed under Apache License 2.0 (NO WARRANTY, etc. see website)
|
// Licensed under Apache License 2.0 (NO WARRANTY, etc. see website)
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#ifndef RANDOM_H
|
#ifndef RANDOM_H
|
||||||
#define RANDOM_H
|
#define RANDOM_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/typedefs.h"
|
#include "core/typedefs.h"
|
||||||
@ -15,4 +17,6 @@ uint32_t pcg32_random_r(pcg32_random_t* rng);
|
|||||||
void pcg32_srandom_r(pcg32_random_t* rng, uint64_t initstate, uint64_t initseq);
|
void pcg32_srandom_r(pcg32_random_t* rng, uint64_t initstate, uint64_t initseq);
|
||||||
uint32_t pcg32_boundedrand_r(pcg32_random_t* rng, uint32_t bound);
|
uint32_t pcg32_boundedrand_r(pcg32_random_t* rng, uint32_t bound);
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // RANDOM_H
|
#endif // RANDOM_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef PLANE_H
|
#ifndef PLANE_H
|
||||||
#define PLANE_H
|
#define PLANE_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* plane.h */
|
/* plane.h */
|
||||||
@ -104,4 +106,6 @@ bool Plane::operator!=(const Plane &p_plane) const {
|
|||||||
return normal != p_plane.normal || d != p_plane.d;
|
return normal != p_plane.normal || d != p_plane.d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // PLANE_H
|
#endif // PLANE_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef POOL_ALLOCATOR_H
|
#ifndef POOL_ALLOCATOR_H
|
||||||
#define POOL_ALLOCATOR_H
|
#define POOL_ALLOCATOR_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* pool_allocator.h */
|
/* pool_allocator.h */
|
||||||
@ -124,4 +126,6 @@ public:
|
|||||||
virtual ~PoolAllocator();
|
virtual ~PoolAllocator();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef POOL_VECTOR_H
|
#ifndef POOL_VECTOR_H
|
||||||
#define POOL_VECTOR_H
|
#define POOL_VECTOR_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* pool_vector.h */
|
/* pool_vector.h */
|
||||||
@ -709,4 +711,6 @@ void PoolVector<T>::sort() {
|
|||||||
sorter.sort(w.ptr(), len);
|
sorter.sort(w.ptr(), len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // POOL_VECTOR_H
|
#endif // POOL_VECTOR_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
|
//--STRIP
|
||||||
|
#ifndef PROJECTION_H
|
||||||
|
#define PROJECTION_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* projection.h */
|
/* projection.h */
|
||||||
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#ifndef PROJECTION_H
|
|
||||||
#define PROJECTION_H
|
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/vector.h"
|
#include "core/vector.h"
|
||||||
#include "core/math_defs.h"
|
#include "core/math_defs.h"
|
||||||
@ -163,5 +165,6 @@ Vector3 Projection::xform(const Vector3 &p_vec3) const {
|
|||||||
real_t w = matrix[0][3] * p_vec3.x + matrix[1][3] * p_vec3.y + matrix[2][3] * p_vec3.z + matrix[3][3];
|
real_t w = matrix[0][3] * p_vec3.x + matrix[1][3] * p_vec3.y + matrix[2][3] * p_vec3.z + matrix[3][3];
|
||||||
return ret / w;
|
return ret / w;
|
||||||
}
|
}
|
||||||
|
//--STRIP
|
||||||
#endif // PROJECTION_H
|
#endif // PROJECTION_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef QUATERNION_H
|
#ifndef QUATERNION_H
|
||||||
#define QUATERNION_H
|
#define QUATERNION_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* quaternion.h */
|
/* quaternion.h */
|
||||||
@ -229,4 +231,6 @@ bool Quaternion::operator!=(const Quaternion &p_quat) const {
|
|||||||
return x != p_quat.x || y != p_quat.y || z != p_quat.z || w != p_quat.w;
|
return x != p_quat.x || y != p_quat.y || z != p_quat.z || w != p_quat.w;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef RANDOM_PCG_H
|
#ifndef RANDOM_PCG_H
|
||||||
#define RANDOM_PCG_H
|
#define RANDOM_PCG_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* random_pcg.h */
|
/* random_pcg.h */
|
||||||
@ -115,4 +117,6 @@ public:
|
|||||||
int random(int p_from, int p_to);
|
int random(int p_from, int p_to);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // RANDOM_PCG_H
|
#endif // RANDOM_PCG_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef RB_MAP_H
|
#ifndef RB_MAP_H
|
||||||
#define RB_MAP_H
|
#define RB_MAP_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* rb_map.h */
|
/* rb_map.h */
|
||||||
@ -652,4 +654,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef RB_SET_H
|
#ifndef RB_SET_H
|
||||||
#define RB_SET_H
|
#define RB_SET_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* rb_set.h */
|
/* rb_set.h */
|
||||||
@ -606,4 +608,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef RECT2_H
|
#ifndef RECT2_H
|
||||||
#define RECT2_H
|
#define RECT2_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* rect2.h */
|
/* rect2.h */
|
||||||
@ -337,4 +339,6 @@ struct _NO_DISCARD_CLASS_ Rect2 {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // RECT2_H
|
#endif // RECT2_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef RECT2I_H
|
#ifndef RECT2I_H
|
||||||
#define RECT2I_H
|
#define RECT2I_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* rect2i.h */
|
/* rect2i.h */
|
||||||
@ -8,6 +10,7 @@
|
|||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/vector2i.h" // also includes math_funcs and ustring
|
#include "core/vector2i.h" // also includes math_funcs and ustring
|
||||||
|
#include "core/rect2.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
|
|
||||||
struct _NO_DISCARD_CLASS_ Rect2i {
|
struct _NO_DISCARD_CLASS_ Rect2i {
|
||||||
@ -230,4 +233,6 @@ struct _NO_DISCARD_CLASS_ Rect2i {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // RECT2_H
|
#endif // RECT2_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef RINGBUFFER_H
|
#ifndef RINGBUFFER_H
|
||||||
#define RINGBUFFER_H
|
#define RINGBUFFER_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* ring_buffer.h */
|
/* ring_buffer.h */
|
||||||
@ -196,4 +198,6 @@ public:
|
|||||||
~RingBuffer<T>(){};
|
~RingBuffer<T>(){};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef RWLOCK_H
|
#ifndef RWLOCK_H
|
||||||
#define RWLOCK_H
|
#define RWLOCK_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* rw_lock.h */
|
/* rw_lock.h */
|
||||||
@ -90,4 +92,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // RWLOCK_H
|
#endif // RWLOCK_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef SAFE_REFCOUNT_H
|
#ifndef SAFE_REFCOUNT_H
|
||||||
#define SAFE_REFCOUNT_H
|
#define SAFE_REFCOUNT_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* safe_refcount.h */
|
/* safe_refcount.h */
|
||||||
@ -307,4 +309,6 @@ public:
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // SAFE_REFCOUNT_H
|
#endif // SAFE_REFCOUNT_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef SFW_CORE_H
|
#ifndef SFW_CORE_H
|
||||||
#define SFW_CORE_H
|
#define SFW_CORE_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
class SFWCore {
|
class SFWCore {
|
||||||
public:
|
public:
|
||||||
@ -11,4 +12,6 @@ protected:
|
|||||||
static bool _initialized;
|
static bool _initialized;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef SOCKET_H
|
#ifndef SOCKET_H
|
||||||
#define SOCKET_H
|
#define SOCKET_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//Based on:
|
//Based on:
|
||||||
|
|
||||||
@ -61,4 +63,6 @@ public:
|
|||||||
InetAddress _address;
|
InetAddress _address;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // SOCKET_H
|
#endif // SOCKET_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef SORT_ARRAY_H
|
#ifndef SORT_ARRAY_H
|
||||||
#define SORT_ARRAY_H
|
#define SORT_ARRAY_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* sort_array.h */
|
/* sort_array.h */
|
||||||
@ -297,4 +299,6 @@ public:
|
|||||||
|
|
||||||
#undef ERR_BAD_COMPARE
|
#undef ERR_BAD_COMPARE
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // SORT_ARRAY_H
|
#endif // SORT_ARRAY_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef SPIN_LOCK_H
|
#ifndef SPIN_LOCK_H
|
||||||
#define SPIN_LOCK_H
|
#define SPIN_LOCK_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* spin_lock.h */
|
/* spin_lock.h */
|
||||||
@ -25,4 +27,7 @@ public:
|
|||||||
locked.clear(std::memory_order_release);
|
locked.clear(std::memory_order_release);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // SPIN_LOCK_H
|
#endif // SPIN_LOCK_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef STIME_H
|
#ifndef STIME_H
|
||||||
#define STIME_H
|
#define STIME_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// time framework utils
|
// time framework utils
|
||||||
@ -26,4 +28,6 @@ public:
|
|||||||
static void sleep_ns(double us);
|
static void sleep_ns(double us);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef STRING_NAME_H
|
#ifndef STRING_NAME_H
|
||||||
#define STRING_NAME_H
|
#define STRING_NAME_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* string_name.h */
|
/* string_name.h */
|
||||||
@ -205,4 +207,6 @@ StringName _scs_create(const char *p_chr, bool p_static = false);
|
|||||||
|
|
||||||
//#define SNAME(m_arg) ([]() -> const StringName & { static StringName sname = _scs_create(m_arg, true); return sname; })()
|
//#define SNAME(m_arg) ([]() -> const StringName & { static StringName sname = _scs_create(m_arg, true); return sname; })()
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // STRING_NAME_H
|
#endif // STRING_NAME_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef SUB_PROCESS_H
|
#ifndef SUB_PROCESS_H
|
||||||
#define SUB_PROCESS_H
|
#define SUB_PROCESS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* sub_process.h */
|
/* sub_process.h */
|
||||||
@ -193,4 +195,6 @@ struct SubProcessRef {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef THREAD_H
|
#ifndef THREAD_H
|
||||||
#define THREAD_H
|
#define THREAD_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* thread.h */
|
/* thread.h */
|
||||||
@ -92,4 +94,6 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // THREAD_H
|
#endif // THREAD_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef THREAD_SAFE_H
|
#ifndef THREAD_SAFE_H
|
||||||
#define THREAD_SAFE_H
|
#define THREAD_SAFE_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* thread_safe.h */
|
/* thread_safe.h */
|
||||||
@ -15,4 +17,6 @@
|
|||||||
#define _THREAD_SAFE_LOCK_ _thread_safe_.lock();
|
#define _THREAD_SAFE_LOCK_ _thread_safe_.lock();
|
||||||
#define _THREAD_SAFE_UNLOCK_ _thread_safe_.unlock();
|
#define _THREAD_SAFE_UNLOCK_ _thread_safe_.unlock();
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef TIGHT_LOCAL_VECTOR_H
|
#ifndef TIGHT_LOCAL_VECTOR_H
|
||||||
#define TIGHT_LOCAL_VECTOR_H
|
#define TIGHT_LOCAL_VECTOR_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* tight_local_vector.h */
|
/* tight_local_vector.h */
|
||||||
@ -292,4 +294,6 @@ template <class T, class I = int32_t, bool force_trivial = false>
|
|||||||
class TightLocalVectori : public TightLocalVector<T, I, force_trivial> {
|
class TightLocalVectori : public TightLocalVector<T, I, force_trivial> {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // TIGHT_LOCAL_VECTOR_H
|
#endif // TIGHT_LOCAL_VECTOR_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef TRANSFORM_H
|
#ifndef TRANSFORM_H
|
||||||
#define TRANSFORM_H
|
#define TRANSFORM_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* transform.h */
|
/* transform.h */
|
||||||
@ -299,4 +301,6 @@ _FORCE_INLINE_ Plane Transform::xform_inv_fast(const Plane &p_plane, const Trans
|
|||||||
return Plane(normal, d);
|
return Plane(normal, d);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // TRANSFORM_H
|
#endif // TRANSFORM_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef TRANSFORM_2D_H
|
#ifndef TRANSFORM_2D_H
|
||||||
#define TRANSFORM_2D_H
|
#define TRANSFORM_2D_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* transform_2d.h */
|
/* transform_2d.h */
|
||||||
@ -302,4 +304,6 @@ PoolVector<Vector2i> Transform2D::xform_inv(const PoolVector<Vector2i> &p_array)
|
|||||||
return array;
|
return array;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // TRANSFORM_2D_H
|
#endif // TRANSFORM_2D_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef TYPEDEFS_H
|
#ifndef TYPEDEFS_H
|
||||||
#define TYPEDEFS_H
|
#define TYPEDEFS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* typedefs.h */
|
/* typedefs.h */
|
||||||
@ -403,4 +405,6 @@ struct _GlobalLock {
|
|||||||
#define HAS_TRIVIAL_COPY(T) __has_trivial_copy(T)
|
#define HAS_TRIVIAL_COPY(T) __has_trivial_copy(T)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // TYPEDEFS_H
|
#endif // TYPEDEFS_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef UCAPS_H
|
#ifndef UCAPS_H
|
||||||
#define UCAPS_H
|
#define UCAPS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* ucaps.h */
|
/* ucaps.h */
|
||||||
@ -1386,4 +1388,7 @@ static int _find_lower(int ch) {
|
|||||||
|
|
||||||
return ch;
|
return ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef USTRING_H
|
#ifndef USTRING_H
|
||||||
#define USTRING_H
|
#define USTRING_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* ustring.h */
|
/* ustring.h */
|
||||||
@ -604,4 +606,6 @@ String RTR(const String &);
|
|||||||
|
|
||||||
bool select_word(const String &p_s, int p_col, int &r_beg, int &r_end);
|
bool select_word(const String &p_s, int p_col, int &r_beg, int &r_end);
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // USTRING_H
|
#endif // USTRING_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef VECTOR_H
|
#ifndef VECTOR_H
|
||||||
#define VECTOR_H
|
#define VECTOR_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* vector.h */
|
/* vector.h */
|
||||||
@ -171,4 +173,6 @@ bool Vector<T>::push_back(T p_elem) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef VECTOR2_H
|
#ifndef VECTOR2_H
|
||||||
#define VECTOR2_H
|
#define VECTOR2_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* vector2.h */
|
/* vector2.h */
|
||||||
@ -278,4 +280,6 @@ Vector2 Vector2::linear_interpolate(const Vector2 &p_a, const Vector2 &p_b, real
|
|||||||
typedef Vector2 Size2;
|
typedef Vector2 Size2;
|
||||||
typedef Vector2 Point2;
|
typedef Vector2 Point2;
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // VECTOR2_H
|
#endif // VECTOR2_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef VECTOR2I_H
|
#ifndef VECTOR2I_H
|
||||||
#define VECTOR2I_H
|
#define VECTOR2I_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* vector2i.h */
|
/* vector2i.h */
|
||||||
@ -140,4 +142,6 @@ Vector2i Vector2i::linear_interpolate(const Vector2i &p_to, real_t p_weight) con
|
|||||||
typedef Vector2i Size2i;
|
typedef Vector2i Size2i;
|
||||||
typedef Vector2i Point2i;
|
typedef Vector2i Point2i;
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // VECTOR2_H
|
#endif // VECTOR2_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef VECTOR3_H
|
#ifndef VECTOR3_H
|
||||||
#define VECTOR3_H
|
#define VECTOR3_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* vector3.h */
|
/* vector3.h */
|
||||||
@ -481,4 +483,6 @@ bool Vector3::is_equal_approxt(const Vector3 &p_v, real_t p_tolerance) const {
|
|||||||
return Math::is_equal_approx(x, p_v.x, p_tolerance) && Math::is_equal_approx(y, p_v.y, p_tolerance) && Math::is_equal_approx(z, p_v.z, p_tolerance);
|
return Math::is_equal_approx(x, p_v.x, p_tolerance) && Math::is_equal_approx(y, p_v.y, p_tolerance) && Math::is_equal_approx(z, p_v.z, p_tolerance);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // VECTOR3_H
|
#endif // VECTOR3_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
|
//--STRIP
|
||||||
|
#ifndef VECTOR3I_H
|
||||||
|
#define VECTOR3I_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* vector3i.h */
|
/* vector3i.h */
|
||||||
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#ifndef VECTOR3I_H
|
|
||||||
#define VECTOR3I_H
|
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/error_macros.h"
|
#include "core/error_macros.h"
|
||||||
#include "core/math_funcs.h"
|
#include "core/math_funcs.h"
|
||||||
@ -306,4 +308,6 @@ void Vector3i::zero() {
|
|||||||
typedef Vector3i Size3i;
|
typedef Vector3i Size3i;
|
||||||
typedef Vector3i Point3i;
|
typedef Vector3i Point3i;
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // VECTOR3I_H
|
#endif // VECTOR3I_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
|
//--STRIP
|
||||||
|
#ifndef VECTOR4_H
|
||||||
|
#define VECTOR4_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* vector4.h */
|
/* vector4.h */
|
||||||
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#ifndef VECTOR4_H
|
|
||||||
#define VECTOR4_H
|
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/math_defs.h"
|
#include "core/math_defs.h"
|
||||||
#include "core/math_funcs.h"
|
#include "core/math_funcs.h"
|
||||||
@ -289,4 +291,6 @@ _FORCE_INLINE_ Vector4 operator*(const int64_t p_scalar, const Vector4 &p_vec) {
|
|||||||
return p_vec * p_scalar;
|
return p_vec * p_scalar;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // VECTOR4_H
|
#endif // VECTOR4_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
|
//--STRIP
|
||||||
|
#ifndef VECTOR4I_H
|
||||||
|
#define VECTOR4I_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* vector4i.h */
|
/* vector4i.h */
|
||||||
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
#ifndef VECTOR4I_H
|
|
||||||
#define VECTOR4I_H
|
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/error_macros.h"
|
#include "core/error_macros.h"
|
||||||
#include "core/math_funcs.h"
|
#include "core/math_funcs.h"
|
||||||
@ -332,4 +334,6 @@ void Vector4i::zero() {
|
|||||||
typedef Vector4i Size4i;
|
typedef Vector4i Size4i;
|
||||||
typedef Vector4i Point4i;
|
typedef Vector4i Point4i;
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // VECTOR4I_H
|
#endif // VECTOR4I_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef SFW_VERSION_H
|
#ifndef SFW_VERSION_H
|
||||||
#define SFW_VERSION_H
|
#define SFW_VERSION_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
#define SFW_VERSION 1
|
#define SFW_VERSION 1
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef VMAP_H
|
#ifndef VMAP_H
|
||||||
#define VMAP_H
|
#define VMAP_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* vmap.h */
|
/* vmap.h */
|
||||||
@ -176,4 +178,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // VMAP_H
|
#endif // VMAP_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef VSET_H
|
#ifndef VSET_H
|
||||||
#define VSET_H
|
#define VSET_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* vset.h */
|
/* vset.h */
|
||||||
@ -115,4 +117,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // VSET_H
|
#endif // VSET_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef ARRAY_H
|
#ifndef ARRAY_H
|
||||||
#define ARRAY_H
|
#define ARRAY_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* array.h */
|
/* array.h */
|
||||||
@ -89,4 +91,6 @@ public:
|
|||||||
~Array();
|
~Array();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // ARRAY_H
|
#endif // ARRAY_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef CORE_STRING_NAMES_H
|
#ifndef CORE_STRING_NAMES_H
|
||||||
#define CORE_STRING_NAMES_H
|
#define CORE_STRING_NAMES_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* core_string_names.h */
|
/* core_string_names.h */
|
||||||
@ -65,4 +67,6 @@ public:
|
|||||||
StringName a8;
|
StringName a8;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // SCENE_STRING_NAMES_H
|
#endif // SCENE_STRING_NAMES_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef DICTIONARY_H
|
#ifndef DICTIONARY_H
|
||||||
#define DICTIONARY_H
|
#define DICTIONARY_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* dictionary.h */
|
/* dictionary.h */
|
||||||
@ -69,4 +71,6 @@ public:
|
|||||||
~Dictionary();
|
~Dictionary();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // DICTIONARY_H
|
#endif // DICTIONARY_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef OBJECT_H
|
#ifndef OBJECT_H
|
||||||
#define OBJECT_H
|
#define OBJECT_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/hash_map.h"
|
#include "core/hash_map.h"
|
||||||
@ -280,4 +282,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef OBJECTID_H
|
#ifndef OBJECTID_H
|
||||||
#define OBJECTID_H
|
#define OBJECTID_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* object_id.h */
|
/* object_id.h */
|
||||||
@ -12,4 +14,6 @@
|
|||||||
|
|
||||||
typedef uint64_t ObjectID;
|
typedef uint64_t ObjectID;
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef OBJECTRC_H
|
#ifndef OBJECTRC_H
|
||||||
#define OBJECTRC_H
|
#define OBJECTRC_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* object_rc.h */
|
/* object_rc.h */
|
||||||
@ -51,4 +53,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef SIGNAL_H
|
#ifndef SIGNAL_H
|
||||||
#define SIGNAL_H
|
#define SIGNAL_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/vector.h"
|
#include "core/vector.h"
|
||||||
@ -171,4 +173,6 @@ bool Signal::is_connected(T *obj, void (*func)(T*, Signal *)) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef REF_PTR_H
|
#ifndef REF_PTR_H
|
||||||
#define REF_PTR_H
|
#define REF_PTR_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* ref_ptr.h */
|
/* ref_ptr.h */
|
||||||
@ -35,4 +37,6 @@ public:
|
|||||||
~RefPtr();
|
~RefPtr();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // REF_PTR_H
|
#endif // REF_PTR_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef REFERENCE_H
|
#ifndef REFERENCE_H
|
||||||
#define REFERENCE_H
|
#define REFERENCE_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* reference.h */
|
/* reference.h */
|
||||||
@ -267,4 +269,6 @@ public:
|
|||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef RESOURCE_H
|
#ifndef RESOURCE_H
|
||||||
#define RESOURCE_H
|
#define RESOURCE_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "object/reference.h"
|
#include "object/reference.h"
|
||||||
@ -22,4 +24,6 @@ public:
|
|||||||
virtual ~Resource();
|
virtual ~Resource();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef VARIANT_H
|
#ifndef VARIANT_H
|
||||||
#define VARIANT_H
|
#define VARIANT_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* variant.h */
|
/* variant.h */
|
||||||
@ -437,4 +439,7 @@ const Variant::ObjData &Variant::_get_obj() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String vformat(const String &p_text, const Variant &p1 = Variant(), const Variant &p2 = Variant(), const Variant &p3 = Variant(), const Variant &p4 = Variant(), const Variant &p5 = Variant());
|
String vformat(const String &p_text, const Variant &p1 = Variant(), const Variant &p2 = Variant(), const Variant &p3 = Variant(), const Variant &p4 = Variant(), const Variant &p5 = Variant());
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef APPLICATION_H
|
#ifndef APPLICATION_H
|
||||||
#define APPLICATION_H
|
#define APPLICATION_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/int_types.h"
|
#include "core/int_types.h"
|
||||||
@ -69,4 +71,6 @@ protected:
|
|||||||
real_t _time_scale;
|
real_t _time_scale;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // APPLICATION_H
|
#endif // APPLICATION_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef COLOR_MATERIAL_H
|
#ifndef COLOR_MATERIAL_H
|
||||||
#define COLOR_MATERIAL_H
|
#define COLOR_MATERIAL_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "render_core/material.h"
|
#include "render_core/material.h"
|
||||||
@ -28,4 +30,6 @@ public:
|
|||||||
int32_t model_view_matrix_location;
|
int32_t model_view_matrix_location;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef COLOR_MATERIAL_2D_H
|
#ifndef COLOR_MATERIAL_2D_H
|
||||||
#define COLOR_MATERIAL_2D_H
|
#define COLOR_MATERIAL_2D_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "render_core/material.h"
|
#include "render_core/material.h"
|
||||||
@ -29,5 +31,6 @@ public:
|
|||||||
int32_t projection_matrix_location;
|
int32_t projection_matrix_location;
|
||||||
int32_t model_view_matrix_location;
|
int32_t model_view_matrix_location;
|
||||||
};
|
};
|
||||||
|
//--STRIP
|
||||||
#endif // COLORED_MATERIAL_H
|
#endif // COLORED_MATERIAL_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef COLORED_MATERIAL_H
|
#ifndef COLORED_MATERIAL_H
|
||||||
#define COLORED_MATERIAL_H
|
#define COLORED_MATERIAL_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "render_core/material.h"
|
#include "render_core/material.h"
|
||||||
@ -30,4 +32,6 @@ public:
|
|||||||
Color color;
|
Color color;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // COLORED_MATERIAL_H
|
#endif // COLORED_MATERIAL_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef FONT_RENDERER_H
|
#ifndef FONT_RENDERER_H
|
||||||
#define FONT_RENDERER_H
|
#define FONT_RENDERER_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// font framework originally from FWK
|
// font framework originally from FWK
|
||||||
@ -133,4 +135,6 @@ protected:
|
|||||||
Vector<TextureOffset> _texture_offsets;
|
Vector<TextureOffset> _texture_offsets;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef FONT_MATERIAL_H
|
#ifndef FONT_MATERIAL_H
|
||||||
#define FONT_MATERIAL_H
|
#define FONT_MATERIAL_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "render_core/material.h"
|
#include "render_core/material.h"
|
||||||
@ -34,4 +36,6 @@ public:
|
|||||||
Ref<Texture> texture;
|
Ref<Texture> texture;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // TEXT_MATERIAL_H
|
#endif // TEXT_MATERIAL_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef IMAGE_H
|
#ifndef IMAGE_H
|
||||||
#define IMAGE_H
|
#define IMAGE_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* image.h */
|
/* image.h */
|
||||||
@ -252,4 +254,6 @@ public:
|
|||||||
~Image();
|
~Image();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef INPUT_H
|
#ifndef INPUT_H
|
||||||
#define INPUT_H
|
#define INPUT_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* input.h */
|
/* input.h */
|
||||||
@ -216,4 +218,6 @@ protected:
|
|||||||
static Input *singleton;
|
static Input *singleton;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // INPUT_H
|
#endif // INPUT_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef INPUT_EVENT_H
|
#ifndef INPUT_EVENT_H
|
||||||
#define INPUT_EVENT_H
|
#define INPUT_EVENT_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* input_event.h */
|
/* input_event.h */
|
||||||
@ -294,4 +296,6 @@ public:
|
|||||||
~InputEventShortCut();
|
~InputEventShortCut();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef INPUT_MAP_H
|
#ifndef INPUT_MAP_H
|
||||||
#define INPUT_MAP_H
|
#define INPUT_MAP_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* input_map.h */
|
/* input_map.h */
|
||||||
@ -64,4 +66,6 @@ public:
|
|||||||
InputMap();
|
InputMap();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // INPUT_MAP_H
|
#endif // INPUT_MAP_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef KEYBOARD_H
|
#ifndef KEYBOARD_H
|
||||||
#define KEYBOARD_H
|
#define KEYBOARD_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* keyboard.h */
|
/* keyboard.h */
|
||||||
@ -302,4 +304,6 @@ int keycode_get_count();
|
|||||||
int keycode_get_value_by_index(int p_index);
|
int keycode_get_value_by_index(int p_index);
|
||||||
const char *keycode_get_name_by_index(int p_index);
|
const char *keycode_get_name_by_index(int p_index);
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef MATERIAL_H
|
#ifndef MATERIAL_H
|
||||||
#define MATERIAL_H
|
#define MATERIAL_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/projection.h"
|
#include "core/projection.h"
|
||||||
@ -39,4 +41,6 @@ protected:
|
|||||||
void set_uniform(int32_t p_uniform, const Projection &p_matrix);
|
void set_uniform(int32_t p_uniform, const Projection &p_matrix);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // MATERIAL_H
|
#endif // MATERIAL_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef MESH_H
|
#ifndef MESH_H
|
||||||
#define MESH_H
|
#define MESH_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/aabb.h"
|
#include "core/aabb.h"
|
||||||
@ -73,4 +75,6 @@ protected:
|
|||||||
uint32_t indices_vbo_size;
|
uint32_t indices_vbo_size;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // MESH_H
|
#endif // MESH_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef MESH_UTILS_H
|
#ifndef MESH_UTILS_H
|
||||||
#define MESH_UTILS_H
|
#define MESH_UTILS_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "render_core/mesh.h"
|
#include "render_core/mesh.h"
|
||||||
@ -19,4 +21,6 @@ public:
|
|||||||
static void create_point(Ref<Mesh> mesh);
|
static void create_point(Ref<Mesh> mesh);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif
|
#endif
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef RENDER_STATE_H
|
#ifndef RENDER_STATE_H
|
||||||
#define RENDER_STATE_H
|
#define RENDER_STATE_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/projection.h"
|
#include "core/projection.h"
|
||||||
@ -21,5 +23,6 @@ public:
|
|||||||
//TODO should probably add the current shader here, and active material etc.
|
//TODO should probably add the current shader here, and active material etc.
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // RENDER_STATE_H
|
#endif // RENDER_STATE_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef SCENE_H
|
#ifndef SCENE_H
|
||||||
#define SCENE_H
|
#define SCENE_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "object/reference.h"
|
#include "object/reference.h"
|
||||||
@ -18,4 +20,6 @@ public:
|
|||||||
virtual ~Scene();
|
virtual ~Scene();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // APPLICATION_H
|
#endif // APPLICATION_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef SHADER_H
|
#ifndef SHADER_H
|
||||||
#define SHADER_H
|
#define SHADER_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "render_core/3rd_glad.h"
|
#include "render_core/3rd_glad.h"
|
||||||
@ -58,4 +60,6 @@ protected:
|
|||||||
HashMap<int, Shader *> shaders;
|
HashMap<int, Shader *> shaders;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // SHADER_H
|
#endif // SHADER_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef SHORTCUT_H
|
#ifndef SHORTCUT_H
|
||||||
#define SHORTCUT_H
|
#define SHORTCUT_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* shortcut.h */
|
/* shortcut.h */
|
||||||
@ -30,4 +32,6 @@ private:
|
|||||||
Ref<InputEvent> shortcut;
|
Ref<InputEvent> shortcut;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // SHORTCUT_H
|
#endif // SHORTCUT_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef TEXTURE_H
|
#ifndef TEXTURE_H
|
||||||
#define TEXTURE_H
|
#define TEXTURE_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "core/vector2i.h"
|
#include "core/vector2i.h"
|
||||||
@ -67,4 +69,6 @@ protected:
|
|||||||
uint32_t _fbo;
|
uint32_t _fbo;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // TEXTURE_H
|
#endif // TEXTURE_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef TEXTURE_MATERIAL_H
|
#ifndef TEXTURE_MATERIAL_H
|
||||||
#define TEXTURE_MATERIAL_H
|
#define TEXTURE_MATERIAL_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "render_core/material.h"
|
#include "render_core/material.h"
|
||||||
@ -35,4 +37,6 @@ public:
|
|||||||
Ref<Texture> texture;
|
Ref<Texture> texture;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // COLORED_MATERIAL_H
|
#endif // COLORED_MATERIAL_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef TEXTURE_MATERIAL_2D_H
|
#ifndef TEXTURE_MATERIAL_2D_H
|
||||||
#define TEXTURE_MATERIAL_2D_H
|
#define TEXTURE_MATERIAL_2D_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "render_core/material.h"
|
#include "render_core/material.h"
|
||||||
@ -34,4 +36,6 @@ public:
|
|||||||
Ref<Texture> texture;
|
Ref<Texture> texture;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // COLORED_MATERIAL_H
|
#endif // COLORED_MATERIAL_H
|
||||||
|
//--STRIP
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
//--STRIP
|
||||||
#ifndef TRANSPARENT_TEXTURE_MATERIAL_H
|
#ifndef TRANSPARENT_TEXTURE_MATERIAL_H
|
||||||
#define TRANSPARENT_TEXTURE_MATERIAL_H
|
#define TRANSPARENT_TEXTURE_MATERIAL_H
|
||||||
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "render_core/material.h"
|
#include "render_core/material.h"
|
||||||
@ -34,4 +36,6 @@ public:
|
|||||||
Ref<Texture> texture;
|
Ref<Texture> texture;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//--STRIP
|
||||||
#endif // COLORED_MATERIAL_H
|
#endif // COLORED_MATERIAL_H
|
||||||
|
//--STRIP
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user