sfw/tools/merger/sfw_full.h.inl

852 lines
18 KiB
Plaintext
Raw Normal View History

2024-01-04 22:59:17 +01:00
#ifndef SFW_H
#define SFW_H
2024-01-13 18:04:24 +01:00
{{FILEINLINE:sfw/core/version.h}}
{{FILEINLINE:tools/merger/sfw_readme.inl.h}}
// MODULES:
// CORE + OBJECT + RENDER CORE + RENDER IMMEDIATE + RENDER OBJECTS
// LICENSES:
{{FILEINLINE:tools/merger/sfw_linceses_core.inl.h}}
{{FILEINLINE:tools/merger/sfw_linceses_render_core.inl.h}}
2024-01-04 22:59:17 +01:00
2024-01-19 01:41:39 +01:00
#ifndef _REENTRANT
2024-01-05 16:24:33 +01:00
#define _REENTRANT
2024-01-19 01:41:39 +01:00
#endif
2024-01-05 16:24:33 +01:00
2024-01-05 00:48:33 +01:00
#include <float.h>
#include <math.h>
#include <string.h>
#include <stddef.h>
2024-01-04 22:59:17 +01:00
2024-01-06 00:23:21 +01:00
//=================== CORE SECTION ===================
//--STRIP
2024-01-05 00:48:33 +01:00
//no includes
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/int_types.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//no includes
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/math_defs.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//no includes
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/error_list.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//no includes
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/logger.h}}
2024-01-04 22:59:17 +01:00
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/int_types.h"
//#include "core/error_list.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/typedefs.h}}
//--STRIP
//#include "core/int_types.h"
//#include "core/math_defs.h"
//--STRIP
{{FILE:sfw/core/marshalls.h}}
2024-01-04 22:59:17 +01:00
2024-01-05 11:25:51 +01:00
//--STRIP
//#include "core/int_types.h"
//--STRIP
2024-01-13 19:08:12 +01:00
{{FILE:sfw/core/sfw_time.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/typedefs.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/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:sfw/core/thread.h}}
2024-01-05 11:25:51 +01:00
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/logger.h"
//#include "core/typedefs.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/error_macros.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/error_macros.h"
//#include "core/safe_refcount.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/memory.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/error_list.h"
//#include "core/typedefs.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/mutex.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/error_list.h"
//--STRIP
{{FILE:sfw/core/rw_lock.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/typedefs.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/spin_lock.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/mutex.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/thread_safe.h}}
2024-01-05 00:48:33 +01:00
2024-01-05 15:23:30 +01:00
//--STRIP
//#include "core/typedefs.h"
//--STRIP
{{FILE:sfw/core/pcg.h}}
//--STRIP
//#include "core/math_defs.h"
//#include "core/pcg.h"
//--STRIP
{{FILE:sfw/core/random_pcg.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/error_macros.h"
2024-01-05 00:48:33 +01:00
//#include "core/math_defs.h"
2024-01-05 11:25:51 +01:00
//#include "core/random_pcg.h"
2024-01-05 00:48:33 +01:00
//#include "core/typedefs.h"
2024-01-05 11:25:51 +01:00
//#include "core/pcg.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/math_funcs.h}}
2024-01-05 00:48:33 +01:00
//--STRIP
2024-01-05 11:25:51 +01:00
//Simple almost dependencyless containers
//--STRIP
2024-01-05 00:48:33 +01:00
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/error_list.h"
//#include "core/error_macros.h"
//#include "core/memory.h"
//#include "core/safe_refcount.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/cowdata.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/error_macros.h"
//#include "core/typedefs.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/sort_array.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/error_macros.h"
//#include "core/memory.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/rb_map.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/memory.h"
2024-01-05 11:25:51 +01:00
//#include "core/typedefs.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/rb_set.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "cowdata.h"
2024-01-05 00:48:33 +01:00
//#include "core/typedefs.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/vmap.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "cowdata.h"
//#include "core/sort_array.h"
//#include "core/error_macros.h"
//#include "core/memory.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/vector.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/vector.h"
//#include "core/typedefs.h"
//--STRIP
{{FILE:sfw/core/vset.h}}
//--STRIP
//#include "core/sort_array.h"
//#include "core/error_macros.h"
2024-01-05 00:48:33 +01:00
//#include "core/memory.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/list.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/vector.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/ring_buffer.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/memory.h"
//#include "spin_lock.h"
//#include "core/typedefs.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/paged_allocator.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/typedefs.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/pool_allocator.h}}
2024-01-05 11:25:51 +01:00
//--STRIP
2024-01-05 11:25:51 +01:00
//Strings they need vector.h, and cowdata.h
//--STRIP
2024-01-05 11:25:51 +01:00
//--STRIP
//#include "core/typedefs.h"
//--STRIP
{{FILE:sfw/core/char_range.inc}}
//--STRIP
//#include "core/typedefs.h"
//#include "core/char_range.inc"
//--STRIP
{{FILE:sfw/core/char_utils.h}}
//--STRIP
//#include "cowdata.h"
//#include "core/vector.h"
//#include "char_utils.h"
//#include "core/typedefs.h"
//--STRIP
{{FILE:sfw/core/ustring.h}}
//--STRIP
//#include "core/mutex.h"
//#include "core/safe_refcount.h"
//#include "core/ustring.h"
//--STRIP
{{FILE:sfw/core/string_name.h}}
//--STRIP
//Needs ustring.h
//--STRIP
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/memory.h"
2024-01-05 11:25:51 +01:00
//#include "core/mutex.h"
//#include "pool_allocator.h"
//#include "rw_lock.h"
//#include "core/safe_refcount.h"
//#include "core/ustring.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/pool_vector.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#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-05 00:48:33 +01:00
{{FILE:sfw/core/tight_local_vector.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#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-05 00:48:33 +01:00
{{FILE:sfw/core/local_vector.h}}
2024-01-05 11:25:51 +01:00
//--STRIP
2024-01-05 11:25:51 +01:00
//Math classes
//--STRIP
2024-01-05 00:48:33 +01:00
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/math_funcs.h"
2024-01-05 00:48:33 +01:00
//#include "core/ustring.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/color.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/math_funcs.h"
//#include "core/error_macros.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/vector2.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/error_macros.h"
//#include "core/math_funcs.h"
//#include "core/vector2.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/vector2i.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/vector2.h" // also includes math_funcs and ustring
//#include "core/vector2i.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/rect2.h}}
//--STRIP
//#include "core/vector2i.h" // also includes math_funcs and ustring
//#include "core/rect2.h"
2024-01-05 11:25:51 +01:00
//--STRIP
{{FILE:sfw/core/rect2i.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/math_funcs.h"
//#include "core/ustring.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/vector3.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/error_macros.h"
//#include "core/math_funcs.h"
//--STRIP
{{FILE:sfw/core/vector3i.h}}
//--STRIP
//#include "core/math_defs.h"
2024-01-05 00:48:33 +01:00
//#include "core/math_funcs.h"
//#include "core/ustring.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/vector4.h}}
//--STRIP
//#include "core/error_macros.h"
//#include "core/math_funcs.h"
//--STRIP
{{FILE:sfw/core/vector4i.h}}
2024-01-05 00:48:33 +01:00
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/vector3.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/plane.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/math_defs.h"
//#include "core/plane.h"
//#include "core/vector3.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/aabb.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/math_defs.h"
2024-01-05 11:25:51 +01:00
//#include "core/math_funcs.h"
//#include "core/vector3.h"
//#include "core/ustring.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/quaternion.h}}
//--STRIP
//#include "core/vector.h"
//#include "core/math_defs.h"
//#include "core/vector3.h"
//#include "core/math_defs.h"
//#include "core/math_funcs.h"
//#include "core/ustring.h"
//#include "core/vector4.h"
//--STRIP
{{FILE:sfw/core/projection.h}}
//--STRIP
//#include "core/quaternion.h"
//#include "core/vector3.h"
//#include "core/vector3i.h"
//--STRIP
{{FILE:sfw/core/basis.h}}
2024-01-05 00:48:33 +01:00
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/pool_vector.h"
//#include "core/rect2.h" // also includes vector2, math_funcs, and ustring
//#include "core/rect2i.h" // also includes vector2i, math_funcs, and ustring
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/core/transform_2d.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/aabb.h"
2024-01-05 15:23:30 +01:00
//#include "core/plane.h"
//#include "core/transform.h"
//#include "core/vector3.h"
//--STRIP
{{FILE:sfw/core/face3.h}}
//--STRIP
//#include "core/aabb.h"
2024-01-05 11:25:51 +01:00
//#include "core/basis.h"
//#include "core/plane.h"
//#include "core/vector3i.h"
//#include "core/pool_vector.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/transform.h}}
//--STRIP
//hashfuncs.h Needs most math classes
//--STRIP
2024-01-05 00:48:33 +01:00
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/aabb.h"
2024-01-05 00:48:33 +01:00
//#include "core/math_defs.h"
//#include "core/math_funcs.h"
2024-01-05 11:25:51 +01:00
//#include "core/rect2.h"
//#include "core/rect2i.h"
//#include "core/vector2.h"
//#include "core/vector2i.h"
2024-01-05 00:48:33 +01:00
//#include "core/vector3.h"
2024-01-05 11:25:51 +01:00
//#include "core/vector3i.h"
//#include "core/vector4.h"
//#include "core/vector4i.h"
//#include "core/string_name.h"
2024-01-05 00:48:33 +01:00
//#include "core/ustring.h"
2024-01-05 11:25:51 +01:00
//#include "core/typedefs.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/hashfuncs.h}}
2024-01-05 00:48:33 +01:00
//--STRIP
2024-01-05 11:25:51 +01:00
//Containers that need hashfuncs.h
//--STRIP
2024-01-05 11:25:51 +01:00
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/hashfuncs.h"
//#include "core/typedefs.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/pair.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/hashfuncs.h"
//#include "core/list.h"
//#include "core/error_macros.h"
//#include "core/math_funcs.h"
2024-01-05 11:25:51 +01:00
//#include "core/memory.h"
//#include "core/ustring.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/og_hash_map.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/list.h"
//#include "core/og_hash_map.h"
//#include "core/pair.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/ordered_hash_map.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/hashfuncs.h"
//#include "paged_allocator.h"
//#include "pair.h"
2024-01-05 00:48:33 +01:00
//#include "core/math_funcs.h"
2024-01-05 11:25:51 +01:00
//#include "core/memory.h"
//#include "list.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/hash_map.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/hash_map.h"
//#include "core/hashfuncs.h"
2024-01-05 00:48:33 +01:00
//#include "core/math_funcs.h"
2024-01-05 11:25:51 +01:00
//#include "core/memory.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/core/hash_set.h}}
//--STRIP
//#include "core/error_list.h"
//#include "core/ustring.h"
//also needs vector
//--STRIP
{{FILE:sfw/core/file_access.h}}
//--STRIP
//#include "core/error_list.h"
//#include "core/ustring.h"
//--STRIP
{{FILE:sfw/core/dir_access.h}}
2024-01-13 10:08:42 +01:00
//--STRIP
//#include "int_types.h"
//#include "core/ustring.h"
//--STRIP
{{FILE:sfw/core/inet_address.h}}
//--STRIP
//#include "inet_address.h"
//--STRIP
{{FILE:sfw/core/socket.h}}
2024-01-13 13:06:50 +01:00
//--STRIP
//#include "core/list.h"
//#include "core/math_defs.h"
//#include "core/memory.h"
//#include "core/mutex.h"
//#include "core/typedefs.h"
//#include "core/ustring.h"
//#include <stdio.h>
//Win Only
//#include "core/local_vector.h"
//--STRIP
{{FILE:sfw/core/sub_process.h}}
2024-01-13 13:06:50 +01:00
//--STRIP
//no includes
//--STRIP
{{FILE:sfw/core/sfw_core.h}}
2024-01-05 11:25:51 +01:00
//=================== OBJECT SECTION ===================
//--STRIP
//Dependencyless stuff
//--STRIP
//--STRIP
//#include "core/typedefs.h"
//--STRIP
{{FILE:sfw/object/ref_ptr.h}}
//--STRIP
//#include "core/int_types.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/object/object_id.h}}
2024-01-05 15:23:30 +01:00
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/string_name.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/object/core_string_names.h}}
2024-01-05 00:48:33 +01:00
//--STRIP
2024-01-05 11:25:51 +01:00
//Variants
//--STRIP
2024-01-05 11:25:51 +01:00
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/typedefs.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/object/array.h}}
//--STRIP
//#include "core/list.h"
//#include "core/ustring.h"
//#include "object/array.h"
//--STRIP
{{FILE:sfw/object/dictionary.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#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-05 00:48:33 +01:00
{{FILE:sfw/object/variant.h}}
2024-01-05 11:25:51 +01:00
//--STRIP
2024-01-05 11:25:51 +01:00
//Stuff that needs Variant
//--STRIP
2024-01-05 11:25:51 +01:00
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/vector.h"
//#include "core/ustring.h"
//#include "object/variant.h"
2024-01-05 00:48:33 +01:00
//#include "object/reference.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/object/psignal.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/hash_map.h"
//#include "core/rw_lock.h"
2024-01-05 00:48:33 +01:00
//#include "core/string_name.h"
2024-01-05 11:25:51 +01:00
//#include "core/ustring.h"
//#include "core/vector.h"
//#include "object/object_id.h"
//#include "object/variant.h"
//#include "object/dictionary.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/object/object.h}}
2024-01-05 15:23:30 +01:00
//--STRIP
//#include "core/memory.h"
//#include "core/typedefs.h"
//--STRIP
{{FILE:sfw/object/object_rc.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/memory.h"
//#include "core/safe_refcount.h"
//#include "object/object.h"
//#include "object/ref_ptr.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/object/reference.h}}
2024-01-05 11:25:51 +01:00
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "object/reference.h"
2024-01-05 11:25:51 +01:00
//#include "psignal.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/object/resource.h}}
//=================== RENDER CORE SECTION ===================
2024-01-05 00:48:33 +01:00
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/projection.h"
//#include "core/transform.h"
//#include "core/vector3.h"
//#include "core/transform_2d.h"
//#include "core/vector2.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/render_core/render_state.h}}
2024-01-05 11:25:51 +01:00
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/color.h"
//#include "core/rect2.h"
//#include "core/rect2i.h"
//#include "object/reference.h"
//#include "core/vector.h"
//#include "core/vector2i.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/render_core/image.h}}
2024-01-05 11:25:51 +01:00
//--STRIP
//#include "core/vector2i.h"
//#include "object/resource.h"
//#include "render_core/3rd_glad.h"
//#include "render_core/image.h"
//--STRIP
2024-01-19 22:03:10 +01:00
{{FILE:sfw/render_core/frame_buffer.h}}
//--STRIP
//#include "core/vector2i.h"
//#include "object/resource.h"
//#include "render_core/3rd_glad.h"
//#include "render_core/image.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/texture.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/vector.h"
//#include "core/int_types.h"
//#include "core/color.h"
//#include "object/resource.h"
//#include "render_core/3rd_glad.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/render_core/mesh.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//{//{//FILE:sfw/render_core/primitive_meshes.h}}
//--STRIP
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "render_core/mesh.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/mesh_utils.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/ustring.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/keyboard.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/transform_2d.h"
//#include "core/typedefs.h"
//#include "core/ustring.h"
//#include "object/resource.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/render_core/input_event.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "object/resource.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/shortcut.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "render_core/input_event.h"
//#include "object/object.h"
//#include "core/rb_map.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/input_map.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/vector2i.h"
//#include "object/object.h"
//#include "core/rb_map.h"
//#include "core/rb_set.h"
//#include "core/thread_safe.h"
//#include "object/psignal.h"
//#include "object/reference.h"
//#include "render_core/input_event.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/render_core/input.h}}
2024-01-05 11:25:51 +01:00
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "render_core/3rd_glad.h"
//#include "core/hash_map.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/render_core/shader.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/projection.h"
//#include "core/transform.h"
//#include "core/transform_2d.h"
//#include "object/reference.h"
//#include "render_core/shader.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/material.h}}
//--STRIP
//#include "render_core/material.h"
//#include "render_core/render_state.h"
//--STRIP
{{FILE:sfw/render_core/color_material.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "render_core/material.h"
//#include "render_core/texture.h"
//#include "render_core/render_state.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/color_material_2d.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "render_core/material.h"
//#include "render_core/texture.h"
//#include "render_core/render_state.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/texture_material_2d.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "render_core/material.h"
//#include "render_core/texture.h"
//#include "render_core/render_state.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/texture_material.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "render_core/material.h"
2024-01-05 00:48:33 +01:00
//#include "core/color.h"
2024-01-05 11:25:51 +01:00
//#include "render_core/render_state.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/colored_material.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "render_core/material.h"
//#include "render_core/texture.h"
//#include "render_core/render_state.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/font_material.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "render_core/material.h"
2024-01-05 11:25:51 +01:00
//#include "render_core/texture.h"
2024-01-05 00:48:33 +01:00
//#include "render_core/render_state.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/transparent_texture_material.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/color.h"
//#include "core/ustring.h"
//#include "object/resource.h"
//#include "font_material.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/font.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "object/reference.h"
//#include "render_core/input_event.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_core/scene.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/color.h"
//#include "core/int_types.h"
//#include "core/vector2.h"
//--STRIP
2024-01-13 19:05:11 +01:00
{{FILE:sfw/render_core/app_window.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "core/int_types.h"
//#include "object/object.h"
//#include "object/reference.h"
//#include "render_core/scene.h"
//--STRIP
{{FILE:sfw/render_core/application.h}}
//=================== RENDER IMMEDIATE SECTION ===================
2024-01-05 00:48:33 +01:00
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/color.h"
//#include "core/rect2.h"
//#include "core/transform.h"
//#include "core/transform_2d.h"
//#include "core/vector2i.h"
//#include "object/object.h"
//#include "object/reference.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/render_immediate/renderer.h}}
2024-01-21 12:40:21 +01:00
//=================== RENDER OBJECTS SECTION ===================
2024-01-05 11:25:51 +01:00
//--STRIP
//#include "object/object.h"
2024-01-05 00:48:33 +01:00
//#include "core/transform_2d.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_objects/object_2d.h}}
//--STRIP
2024-01-05 11:25:51 +01:00
//#include "object/object.h"
2024-01-05 00:48:33 +01:00
//#include "core/transform.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_objects/object_3d.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "render_core/3rd_glad.h"
//#include "render_objects/object_2d.h"
//#include "core/transform.h"
//#include "core/transform_2d.h"
//#include "core/vector2.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/render_objects/camera_2d.h}}
//--STRIP
2024-01-05 14:14:30 +01:00
//#include "object_2d.h"
2024-01-05 11:25:51 +01:00
//#include "core/vector.h"
//#include "render_core/material.h"
//#include "render_core/mesh.h"
//#include "core/transform.h"
//--STRIP
{{FILE:sfw/render_objects/mesh_instance_2d.h}}
//--STRIP
//#include "render_objects/object_2d.h"
//#include "core/transform_2d.h"
//#include "render_objects/mesh_instance_2d.h"
//--STRIP
{{FILE:sfw/render_objects/sprite.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/color.h"
//#include "core/ustring.h"
//#include "core/vector2.h"
//#include "object/reference.h"
//#include "object_2d.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/render_objects/text_2d.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "render_objects/object_2d.h"
//#include "render_core/mesh.h"
//#include "render_core/material.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/render_objects/tile_map.h}}
2024-01-05 11:25:51 +01:00
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "render_objects/object_3d.h"
//#include "render_core/3rd_glad.h"
//#include "core/projection.h"
//#include "core/transform.h"
//#include "core/vector3.h"
//--STRIP
2024-01-05 00:48:33 +01:00
{{FILE:sfw/render_objects/camera_3d.h}}
//--STRIP
2024-01-05 00:48:33 +01:00
//#include "core/vector.h"
2024-01-05 11:25:51 +01:00
//#include "render_objects/object_3d.h"
2024-01-05 00:48:33 +01:00
//#include "render_core/material.h"
//#include "render_core/mesh.h"
//#include "core/transform.h"
//--STRIP
2024-01-05 11:25:51 +01:00
{{FILE:sfw/render_objects/mesh_instance_3d.h}}
2024-01-04 22:59:17 +01:00
2024-01-05 10:09:35 +01:00
// expose glfw/glad apis
#if __EMSCRIPTEN__
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <emscripten.h>
#include <emscripten/html5.h>
#define gladLoadGL(func) (glewExperimental = true, glewInit() == GLEW_OK) ///-
#else
2024-01-05 15:23:30 +01:00
#if defined(_WIN64) || defined(_WIN32) /*&& is(tcc)*/ // && ENABLE_DLL
2024-01-05 10:09:35 +01:00
#ifdef GLAD_API_CALL
#undef GLAD_API_CALL
#endif
2024-01-19 11:05:13 +01:00
#define GLAD_API_CALL extern
//TODO Figure out why did this build, and why it now doesn't want to work in the amalgamated build
// API ///-
2024-01-05 10:09:35 +01:00
#endif
2024-01-05 15:23:30 +01:00
2024-01-05 10:09:35 +01:00
#ifndef GLAD_GL_H_
2024-01-19 00:04:37 +01:00
#ifdef __APPLE__
#ifndef _APPLE_NO_IMPL_
#define _APPLE_NO_IMPL_
#endif //_APPLE_NO_IMPL_
#endif //__APPLE__
#define ONLY_GLAD
#include "sfw_3rd.m"
2024-01-05 10:09:35 +01:00
#endif
#endif
2024-01-04 22:59:17 +01:00
#endif