2024-01-07 10:56:15 +01:00
|
|
|
#ifndef SFWL_H
|
|
|
|
#define SFWL_H
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
{{FILEINLINE:tools/merger/sfw_readme.inl.h}}
|
2024-01-13 22:26:34 +01:00
|
|
|
{{FILEINLINE:tools/merger/sfw_linceses_core.inl.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
2024-01-19 01:41:39 +01:00
|
|
|
#ifndef _REENTRANT
|
2024-01-07 10:49:16 +01:00
|
|
|
#define _REENTRANT
|
2024-01-19 01:41:39 +01:00
|
|
|
#endif
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
#include <float.h>
|
|
|
|
#include <math.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
//=================== CORE SECTION ===================
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//no includes
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/int_types.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//no includes
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/math_defs.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//no includes
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/error_list.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//no includes
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/logger.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/int_types.h"
|
|
|
|
//#include "core/error_list.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/typedefs.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/int_types.h"
|
|
|
|
//--STRIP
|
2024-01-13 19:08:12 +01:00
|
|
|
{{FILE:sfwl/core/sfw_time.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/safe_refcount.h}}
|
2024-01-09 12:35:07 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//#if !defined(NO_THREADS)
|
|
|
|
//#include "core/safe_refcount.h"
|
|
|
|
//#include <thread>
|
|
|
|
//#endif
|
|
|
|
//--STRIP
|
|
|
|
{{FILE:sfwl/core/thread.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/logger.h"
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/error_macros.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/error_macros.h"
|
|
|
|
//#include "core/safe_refcount.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/memory.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/error_list.h"
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/mutex.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/error_list.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/rw_lock.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/spin_lock.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/mutex.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/thread_safe.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/pcg.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/math_defs.h"
|
|
|
|
//#include "core/pcg.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/random_pcg.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/error_macros.h"
|
|
|
|
//#include "core/math_defs.h"
|
|
|
|
//#include "core/random_pcg.h"
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//#include "core/pcg.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/math_funcs.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//Simple almost dependencyless containers
|
|
|
|
//--STRIP
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/error_list.h"
|
|
|
|
//#include "core/error_macros.h"
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//#include "core/safe_refcount.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/cowdata.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/error_macros.h"
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/sort_array.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/error_macros.h"
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/rb_map.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/rb_set.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "cowdata.h"
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/vmap.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "cowdata.h"
|
|
|
|
//#include "core/sort_array.h"
|
|
|
|
//#include "core/error_macros.h"
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/vector.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/vector.h"
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/vset.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/sort_array.h"
|
|
|
|
//#include "core/error_macros.h"
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/list.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/vector.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/ring_buffer.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//#include "spin_lock.h"
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/paged_allocator.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/pool_allocator.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//Strings they need vector.h, and cowdata.h
|
|
|
|
//--STRIP
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/char_range.inc}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//#include "core/char_range.inc"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/char_utils.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "cowdata.h"
|
|
|
|
//#include "core/vector.h"
|
|
|
|
//#include "char_utils.h"
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/ustring.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/mutex.h"
|
|
|
|
//#include "core/safe_refcount.h"
|
|
|
|
//#include "core/ustring.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/string_name.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//Needs ustring.h
|
|
|
|
//--STRIP
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//#include "core/mutex.h"
|
|
|
|
//#include "pool_allocator.h"
|
|
|
|
//#include "rw_lock.h"
|
|
|
|
//#include "core/safe_refcount.h"
|
|
|
|
//#include "core/ustring.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/pool_vector.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/pool_vector.h"
|
|
|
|
//#include "core/sort_array.h"
|
|
|
|
//#include "core/vector.h"
|
|
|
|
//#include "core/error_macros.h"
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/tight_local_vector.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/pool_vector.h"
|
|
|
|
//#include "core/sort_array.h"
|
|
|
|
//#include "core/vector.h"
|
|
|
|
//#include "core/error_macros.h"
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/local_vector.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//Math classes
|
|
|
|
//--STRIP
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//hashfuncs.h Needs most math classes
|
|
|
|
//--STRIP
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/aabb.h"
|
|
|
|
//#include "core/math_defs.h"
|
|
|
|
//#include "core/math_funcs.h"
|
|
|
|
//#include "core/rect2.h"
|
|
|
|
//#include "core/rect2i.h"
|
|
|
|
//#include "core/vector2.h"
|
|
|
|
//#include "core/vector2i.h"
|
|
|
|
//#include "core/vector3.h"
|
|
|
|
//#include "core/vector3i.h"
|
|
|
|
//#include "core/vector4.h"
|
|
|
|
//#include "core/vector4i.h"
|
|
|
|
//#include "core/string_name.h"
|
|
|
|
//#include "core/ustring.h"
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/hashfuncs.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//Containers that need hashfuncs.h
|
|
|
|
//--STRIP
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/hashfuncs.h"
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/pair.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/hashfuncs.h"
|
|
|
|
//#include "core/list.h"
|
|
|
|
//#include "core/error_macros.h"
|
|
|
|
//#include "core/math_funcs.h"
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//#include "core/ustring.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/og_hash_map.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/list.h"
|
|
|
|
//#include "core/og_hash_map.h"
|
|
|
|
//#include "core/pair.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/ordered_hash_map.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/hashfuncs.h"
|
|
|
|
//#include "paged_allocator.h"
|
|
|
|
//#include "pair.h"
|
|
|
|
//#include "core/math_funcs.h"
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//#include "list.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/hash_map.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/hash_map.h"
|
|
|
|
//#include "core/hashfuncs.h"
|
|
|
|
//#include "core/math_funcs.h"
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/hash_set.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/error_list.h"
|
|
|
|
//#include "core/ustring.h"
|
|
|
|
//also needs vector
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/file_access.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/error_list.h"
|
|
|
|
//#include "core/ustring.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/dir_access.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//no includes
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/core/sfw_core.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//=================== OBJECT SECTION ===================
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//Dependencyless stuff
|
|
|
|
//--STRIP
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/object/ref_ptr.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
//--STRIP
|
|
|
|
//#include "core/int_types.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/object/object_id.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/string_name.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/object/core_string_names.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//Variants
|
|
|
|
//--STRIP
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/object/array.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/list.h"
|
|
|
|
//#include "core/ustring.h"
|
|
|
|
//#include "object/array.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/object/dictionary.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/aabb.h"
|
|
|
|
//#include "core/basis.h"
|
|
|
|
//#include "core/color.h"
|
|
|
|
//#include "core/face3.h"
|
|
|
|
//#include "core/plane.h"
|
|
|
|
//#include "core/pool_vector.h"
|
|
|
|
//#include "core/projection.h"
|
|
|
|
//#include "core/quaternion.h"
|
|
|
|
//#include "core/transform.h"
|
|
|
|
//#include "core/transform_2d.h"
|
|
|
|
//#include "core/ustring.h"
|
|
|
|
//#include "core/vector3.h"
|
|
|
|
//#include "core/vector3i.h"
|
|
|
|
//#include "core/vector4.h"
|
|
|
|
//#include "core/vector4i.h"
|
|
|
|
//#include "object/array.h"
|
|
|
|
//#include "object/dictionary.h"
|
|
|
|
//#include "object/ref_ptr.h"
|
|
|
|
//#include "object/object_id.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/object/variant.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//Stuff that needs Variant
|
|
|
|
//--STRIP
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/vector.h"
|
|
|
|
//#include "core/ustring.h"
|
|
|
|
//#include "object/variant.h"
|
|
|
|
//#include "object/reference.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/object/psignal.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/hash_map.h"
|
|
|
|
//#include "core/rw_lock.h"
|
|
|
|
//#include "core/string_name.h"
|
|
|
|
//#include "core/ustring.h"
|
|
|
|
//#include "core/vector.h"
|
|
|
|
//#include "object/object_id.h"
|
|
|
|
//#include "object/variant.h"
|
|
|
|
//#include "object/dictionary.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/object/object.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//#include "core/typedefs.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/object/object_rc.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "core/memory.h"
|
|
|
|
//#include "core/safe_refcount.h"
|
|
|
|
//#include "object/object.h"
|
|
|
|
//#include "object/ref_ptr.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/object/reference.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
//--STRIP
|
|
|
|
//#include "object/reference.h"
|
|
|
|
//#include "psignal.h"
|
|
|
|
//--STRIP
|
2024-01-07 10:52:04 +01:00
|
|
|
{{FILE:sfwl/object/resource.h}}
|
2024-01-07 10:49:16 +01:00
|
|
|
|
|
|
|
#endif
|