mirror of
https://github.com/Relintai/sfw.git
synced 2025-03-05 07:32:59 +01:00
- Now unicode error printing is disabled by default. Also can be enabled via a macro. 2e41d4dfcda7ff2c35a1326f0de71b0714524f11 - Added to_real helper methods to String. 43b14a071c6ccf7c3062e0568e3d7bb05d8a83d2 - Fix AABB.encloses failing on shared upper bound. 8341ddc450bd160b5cb44eeb0400da2e5a151ed0 - Fix incorrect clipping in String::substr_index(). dcd00dec81a2841ad5244e043379697c68d681f7 - Backported create_reference() helper methods for InputEvents from godot 4. 4cdb1636264d8a6cef0881a37a7fad72ac262f3f - Backported comparison operators to Array from godot4. 7779439e284bf8a0534f606d5c7f929674764941 - Removed Vector2i(Vector2) constructor, added a Vector2i conversion operator to Vector2 instead. This solves ambigous Variant to Vector2i conversion errors. 27b73fa9f9984709b0c8eb77bfeea5cab8d9fee3 - Added exp2 to the Math singleton. e17cc864bc339c1f4d1ce6acd4cabf4a6593c6cc - Add a get_or_add method to Dictionary. 487b454506259c080306098093875ea7bda5b5ad - Add is_zero_approx methods to Vector{2,3} 441bb29fd3bd758ff783e4122e6b2d512dc8529f - Also add is_zero_approx() to Vector4. ed224298e5ae951093b42a004afacbd275e54494 - Transform now uses Basis::create_looking_at. 6f53257e05d72088c28028eb568526f4da146ae0 - Backported from godot4: Add the ability to look-at in model-space. 951ae7b11db0376dd0dbdf080e2f2e3652ac33ed - Fix split_floats behavior when spaces are used as separators 4585110a298487081f026827e3395c4feaf35f9a - Better solution for the previous fix. d75d3591edf13ae0dd6aa989962595aa1280ae73 - Fix the fix. 48935e93b3f5849a52b0e7fc0b6ede36a7b61123
240 lines
4.7 KiB
C++
240 lines
4.7 KiB
C++
|
|
|
|
{{FILEINLINE:tools/merger/sfw_readme.inl.h}}
|
|
|
|
// MODULES:
|
|
// CORE
|
|
|
|
// LICENSES:
|
|
|
|
{{FILEINLINE:tools/merger/sfw_linceses_core.inl.h}}
|
|
|
|
#include <cstdio>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <cstring>
|
|
#include <time.h>
|
|
#include <ctime>
|
|
#include <wchar.h>
|
|
#include <cstdint>
|
|
#include <memory.h>
|
|
|
|
#if !defined(_WIN64) && !defined(_WIN32)
|
|
#include <sys/time.h>
|
|
#include <unistd.h>
|
|
#endif
|
|
|
|
#ifndef SFW_H
|
|
#include "sfw.h"
|
|
#endif
|
|
|
|
//=================== CORE SECTION ===================
|
|
|
|
{{FILE:sfw/core/ucaps.h}}
|
|
|
|
//--STRIP
|
|
//#include "core/mutex.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/mutex.cpp}}
|
|
//--STRIP
|
|
//#if defined(DEBUG_ENABLED) && !defined(NO_THREADS)
|
|
//#include "core/safe_refcount.h"
|
|
//#include "core/error/error_macros.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/safe_refcount.cpp}}
|
|
|
|
//--STRIP
|
|
//#include "core/sfw_time.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/sfw_time.cpp}}
|
|
|
|
//--STRIP
|
|
//#include "core/memory.h"
|
|
//#include "core/error_macros.h"
|
|
//#include "core/safe_refcount.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/memory.cpp}}
|
|
//--STRIP
|
|
//{//{//FILE:sfw/core/old/directory.cpp}}
|
|
//--STRIP
|
|
|
|
//--STRIP
|
|
//#include "core/pool_vector.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/pool_vector.cpp}}
|
|
//--STRIP
|
|
//#include "pool_allocator.h"
|
|
//#include "core/error_macros.h"
|
|
//#include "core/memory.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/pool_allocator.cpp}}
|
|
|
|
//--STRIP
|
|
//#include "core/random_pcg.h"
|
|
//#include "core/sfw_time.h"
|
|
//#include "core/error_macros.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/random_pcg.cpp}}
|
|
|
|
//--STRIP
|
|
//#include "core/math_funcs.h"
|
|
//#include "core/error_macros.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/math_funcs.cpp}}
|
|
|
|
//--STRIP
|
|
//#include "core/ustring.h"
|
|
//#include "core/color.h"
|
|
//#include "core/math_funcs.h"
|
|
//#include "core/memory.h"
|
|
//#include "ucaps.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/ustring.cpp}}
|
|
//--STRIP
|
|
//#include "core/logger.h"
|
|
//#include "core/ustring.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/logger.cpp}}
|
|
//--STRIP
|
|
//#include "core/string_name.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/string_name.cpp}}
|
|
|
|
//--STRIP
|
|
//#include "core/aabb.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/aabb.cpp}}
|
|
//--STRIP
|
|
//#include "core/vector3i.h"
|
|
//#include "core/vector3.h"
|
|
//#include "core/ustring.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/vector3i.cpp}}
|
|
//--STRIP
|
|
//#include "core/transform_2d.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/transform_2d.cpp}}
|
|
//--STRIP
|
|
//#include "core/projection.h"
|
|
//#include "core/aabb.h"
|
|
//#include "core/math_funcs.h"
|
|
//#include "core/plane.h"
|
|
//#include "core/rect2.h"
|
|
//#include "core/transform.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/projection.cpp}}
|
|
//--STRIP
|
|
//#include "core/vector3.h"
|
|
//#include "core/basis.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/vector3.cpp}}
|
|
//--STRIP
|
|
//#include "core/pcg.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/pcg.cpp}}
|
|
//--STRIP
|
|
//#include "core/vector2i.h"
|
|
//#include "core/ustring.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/vector2i.cpp}}
|
|
//--STRIP
|
|
//#include "core/vector2.h"
|
|
//#include "core/vector2i.h"
|
|
//#include "core/ustring.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/vector2.cpp}}
|
|
//--STRIP
|
|
//#include "core/basis.h"
|
|
//#include "core/math_funcs.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/basis.cpp}}
|
|
//--STRIP
|
|
//#include "face3.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/face3.cpp}}
|
|
//--STRIP
|
|
//#include "core/vector4i.h"
|
|
//#include "core/vector4.h"
|
|
//#include "core/ustring.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/vector4i.cpp}}
|
|
//--STRIP
|
|
//#include "core/transform.h"
|
|
//#include "core/math_funcs.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/transform.cpp}}
|
|
//--STRIP
|
|
//#include "core/color.h"
|
|
//#include "core/math_funcs.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/color.cpp}}
|
|
//--STRIP
|
|
//#include "core/quaternion.h"
|
|
//#include "core/basis.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/quaternion.cpp}}
|
|
//--STRIP
|
|
//#include "core/plane.h"
|
|
//#include "core/math_funcs.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/plane.cpp}}
|
|
//--STRIP
|
|
//#include "core/transform_2d.h" // Includes rect2.h but Rect2 needs Transform2D
|
|
//#include "core/rect2i.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/rect2.cpp}}
|
|
//--STRIP
|
|
//#include "core/transform_2d.h" // Includes rect2.h but Rect2 needs Transform2D
|
|
//--STRIP
|
|
{{FILE:sfw/core/rect2i.cpp}}
|
|
//--STRIP
|
|
//#include "core/vector4.h"
|
|
//#include "core/basis.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/vector4.cpp}}
|
|
|
|
//--STRIP
|
|
//#include "string_builder.h"
|
|
//#include <string.h>
|
|
//--STRIP
|
|
{{FILE:sfw/core/string_builder.cpp}}
|
|
|
|
//--STRIP
|
|
//#include "file_access.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/file_access.cpp}}
|
|
|
|
//--STRIP
|
|
//#include "dir_access.h"
|
|
//#include "3rd_tinydir.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/dir_access.cpp}}
|
|
|
|
//--STRIP
|
|
//System includes
|
|
//--STRIP
|
|
{{FILE:sfw/core/inet_address.cpp}}
|
|
//--STRIP
|
|
//#include "core/error_macros.h"
|
|
//#include "core/ustring.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/socket.cpp}}
|
|
|
|
//--STRIP
|
|
//Win Only
|
|
//#include <avrt.h>
|
|
//#include <direct.h>
|
|
//#include <knownfolders.h>
|
|
//#include <process.h>
|
|
//#include <regstr.h>
|
|
//#include <shlobj.h>
|
|
//#include <wchar.h>
|
|
//--STRIP
|
|
{{FILE:sfw/core/sub_process.cpp}}
|
|
|
|
//--STRIP
|
|
//#include "core/pool_vector.h"
|
|
//#include "core/string_name.h"
|
|
//--STRIP
|
|
{{FILE:sfw/core/sfw_core.cpp}}
|