mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-08 07:52:09 +01:00
Set up sfwl merger.
This commit is contained in:
parent
09b1b80cd6
commit
0e94883ce4
@ -193,57 +193,57 @@
|
|||||||
|
|
||||||
//=================== CORE SECTION ===================
|
//=================== CORE SECTION ===================
|
||||||
|
|
||||||
{{FILE:sfw/core/ucaps.h}}
|
{{FILE:sfwl/core/ucaps.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/mutex.h"
|
//#include "core/mutex.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/mutex.cpp}}
|
{{FILE:sfwl/core/mutex.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#if defined(DEBUG_ENABLED) && !defined(NO_THREADS)
|
//#if defined(DEBUG_ENABLED) && !defined(NO_THREADS)
|
||||||
//#include "core/safe_refcount.h"
|
//#include "core/safe_refcount.h"
|
||||||
//#include "core/error/error_macros.h"
|
//#include "core/error/error_macros.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/safe_refcount.cpp}}
|
{{FILE:sfwl/core/safe_refcount.cpp}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/stime.h"
|
//#include "core/stime.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/stime.cpp}}
|
{{FILE:sfwl/core/stime.cpp}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//#include "core/safe_refcount.h"
|
//#include "core/safe_refcount.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/memory.cpp}}
|
{{FILE:sfwl/core/memory.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//{//{//FILE:sfw/core/old/directory.cpp}}
|
//{//{//FILE:sfwl/core/old/directory.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/pool_vector.h"
|
//#include "core/pool_vector.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/pool_vector.cpp}}
|
{{FILE:sfwl/core/pool_vector.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "pool_allocator.h"
|
//#include "pool_allocator.h"
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/pool_allocator.cpp}}
|
{{FILE:sfwl/core/pool_allocator.cpp}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/random_pcg.h"
|
//#include "core/random_pcg.h"
|
||||||
//#include "core/stime.h"
|
//#include "core/stime.h"
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/random_pcg.cpp}}
|
{{FILE:sfwl/core/random_pcg.cpp}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/math_funcs.cpp}}
|
{{FILE:sfwl/core/math_funcs.cpp}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
@ -252,31 +252,31 @@
|
|||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//#include "ucaps.h"
|
//#include "ucaps.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/ustring.cpp}}
|
{{FILE:sfwl/core/ustring.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/logger.h"
|
//#include "core/logger.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/logger.cpp}}
|
{{FILE:sfwl/core/logger.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/string_name.h"
|
//#include "core/string_name.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/string_name.cpp}}
|
{{FILE:sfwl/core/string_name.cpp}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/aabb.h"
|
//#include "core/aabb.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/aabb.cpp}}
|
{{FILE:sfwl/core/aabb.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/vector3i.h"
|
//#include "core/vector3i.h"
|
||||||
//#include "core/vector3.h"
|
//#include "core/vector3.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vector3i.cpp}}
|
{{FILE:sfwl/core/vector3i.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/transform_2d.h"
|
//#include "core/transform_2d.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/transform_2d.cpp}}
|
{{FILE:sfwl/core/transform_2d.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/projection.h"
|
//#include "core/projection.h"
|
||||||
//#include "core/aabb.h"
|
//#include "core/aabb.h"
|
||||||
@ -285,94 +285,94 @@
|
|||||||
//#include "core/rect2.h"
|
//#include "core/rect2.h"
|
||||||
//#include "core/transform.h"
|
//#include "core/transform.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/projection.cpp}}
|
{{FILE:sfwl/core/projection.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/vector3.h"
|
//#include "core/vector3.h"
|
||||||
//#include "core/basis.h"
|
//#include "core/basis.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vector3.cpp}}
|
{{FILE:sfwl/core/vector3.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/pcg.h"
|
//#include "core/pcg.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/pcg.cpp}}
|
{{FILE:sfwl/core/pcg.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/vector2.h"
|
//#include "core/vector2.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vector2.cpp}}
|
{{FILE:sfwl/core/vector2.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/basis.h"
|
//#include "core/basis.h"
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/basis.cpp}}
|
{{FILE:sfwl/core/basis.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "face3.h"
|
//#include "face3.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/face3.cpp}}
|
{{FILE:sfwl/core/face3.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/vector4i.h"
|
//#include "core/vector4i.h"
|
||||||
//#include "core/vector4.h"
|
//#include "core/vector4.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vector4i.cpp}}
|
{{FILE:sfwl/core/vector4i.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/transform.h"
|
//#include "core/transform.h"
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/transform.cpp}}
|
{{FILE:sfwl/core/transform.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/color.h"
|
//#include "core/color.h"
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/color.cpp}}
|
{{FILE:sfwl/core/color.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/quaternion.h"
|
//#include "core/quaternion.h"
|
||||||
//#include "core/basis.h"
|
//#include "core/basis.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/quaternion.cpp}}
|
{{FILE:sfwl/core/quaternion.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/plane.h"
|
//#include "core/plane.h"
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/plane.cpp}}
|
{{FILE:sfwl/core/plane.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/vector2i.h"
|
//#include "core/vector2i.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vector2i.cpp}}
|
{{FILE:sfwl/core/vector2i.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/transform_2d.h" // Includes rect2.h but Rect2 needs Transform2D
|
//#include "core/transform_2d.h" // Includes rect2.h but Rect2 needs Transform2D
|
||||||
//#include "core/rect2i.h"
|
//#include "core/rect2i.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/rect2.cpp}}
|
{{FILE:sfwl/core/rect2.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/transform_2d.h" // Includes rect2.h but Rect2 needs Transform2D
|
//#include "core/transform_2d.h" // Includes rect2.h but Rect2 needs Transform2D
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/rect2i.cpp}}
|
{{FILE:sfwl/core/rect2i.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/vector4.h"
|
//#include "core/vector4.h"
|
||||||
//#include "core/basis.h"
|
//#include "core/basis.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vector4.cpp}}
|
{{FILE:sfwl/core/vector4.cpp}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "file_access.h"
|
//#include "file_access.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/file_access.cpp}}
|
{{FILE:sfwl/core/file_access.cpp}}
|
||||||
|
|
||||||
{{FILE:sfw/core/3rd_tinydir.h}}
|
{{FILE:sfwl/core/3rd_tinydir.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "dir_access.h"
|
//#include "dir_access.h"
|
||||||
//#include "3rd_tinydir.h"
|
//#include "3rd_tinydir.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/dir_access.cpp}}
|
{{FILE:sfwl/core/dir_access.cpp}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/pool_vector.h"
|
//#include "core/pool_vector.h"
|
||||||
//#include "core/string_name.h"
|
//#include "core/string_name.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/sfw_core.cpp}}
|
{{FILE:sfwl/core/sfw_core.cpp}}
|
||||||
|
|
||||||
|
|
||||||
//=================== OBJECT SECTION ===================
|
//=================== OBJECT SECTION ===================
|
||||||
@ -380,11 +380,11 @@
|
|||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "resource.h"
|
//#include "resource.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/resource.cpp}}
|
{{FILE:sfwl/object/resource.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "object/reference.h"
|
//#include "object/reference.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/reference.cpp}}
|
{{FILE:sfwl/object/reference.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "object/object.h"
|
//#include "object/object.h"
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
@ -392,24 +392,24 @@
|
|||||||
//#include "object/core_string_names.h"
|
//#include "object/core_string_names.h"
|
||||||
//#include "object/object_rc.h"
|
//#include "object/object_rc.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/object.cpp}}
|
{{FILE:sfwl/object/object.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "ref_ptr.h"
|
//#include "ref_ptr.h"
|
||||||
//#include "object/reference.h"
|
//#include "object/reference.h"
|
||||||
//#include "object/resource.h"
|
//#include "object/resource.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/ref_ptr.cpp}}
|
{{FILE:sfwl/object/ref_ptr.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core_string_names.h"
|
//#include "core_string_names.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/core_string_names.cpp}}
|
{{FILE:sfwl/object/core_string_names.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "dictionary.h"
|
//#include "dictionary.h"
|
||||||
//#include "core/ordered_hash_map.h"
|
//#include "core/ordered_hash_map.h"
|
||||||
//#include "core/safe_refcount.h"
|
//#include "core/safe_refcount.h"
|
||||||
//#include "object/variant.h"
|
//#include "object/variant.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/dictionary.cpp}}
|
{{FILE:sfwl/object/dictionary.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "array.h"
|
//#include "array.h"
|
||||||
//#include "core/hashfuncs.h"
|
//#include "core/hashfuncs.h"
|
||||||
@ -418,11 +418,11 @@
|
|||||||
//#include "object/variant.h"
|
//#include "object/variant.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/array.cpp}}
|
{{FILE:sfwl/object/array.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "psignal.h"
|
//#include "psignal.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/psignal.cpp}}
|
{{FILE:sfwl/object/psignal.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "variant.h"
|
//#include "variant.h"
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
@ -431,7 +431,7 @@
|
|||||||
//#include "object/object_rc.h"
|
//#include "object/object_rc.h"
|
||||||
//#include "object/resource.h"
|
//#include "object/resource.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/variant.cpp}}
|
{{FILE:sfwl/object/variant.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "variant.h"
|
//#include "variant.h"
|
||||||
//#include "object/core_string_names.h"
|
//#include "object/core_string_names.h"
|
||||||
@ -439,223 +439,4 @@
|
|||||||
//#include "object/object_rc.h"
|
//#include "object/object_rc.h"
|
||||||
//#include "object/resource.h"
|
//#include "object/resource.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/variant_op.cpp}}
|
{{FILE:sfwl/object/variant_op.cpp}}
|
||||||
|
|
||||||
//=================== RENDER CORE SECTION ===================
|
|
||||||
|
|
||||||
{{FILE:sfw/render_core/font_data_bm_mini.inc.h}}
|
|
||||||
{{FILE:sfw/render_core/font_data_tables.inc.h}}
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/texture.h"
|
|
||||||
//#include "core/memory.h"
|
|
||||||
//#include "render_core/window.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/texture.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/application.h"
|
|
||||||
//#include "core/math_defs.h"
|
|
||||||
//#include "core/stime.h"
|
|
||||||
//#include "render_core/input.h"
|
|
||||||
//#include "render_core/input_map.h"
|
|
||||||
//#include "render_core/window.h"
|
|
||||||
//#include "core/pool_vector.h"
|
|
||||||
//#include "core/string_name.h"
|
|
||||||
//#include "object/core_string_names.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/application.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/shader.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/shader.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "input_event.h"
|
|
||||||
//#include "render_core/input_map.h"
|
|
||||||
//#include "render_core/keyboard.h"
|
|
||||||
//#include "render_core/shortcut.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/input_event.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/mesh.h"
|
|
||||||
//#include "render_core/shader.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/mesh.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "font.h"
|
|
||||||
//#include "window.h"
|
|
||||||
//#include "3rd_glad.h"
|
|
||||||
//#include "3rd_stb_truetype.h"
|
|
||||||
//#include "font_data_bm_mini.inc.h"
|
|
||||||
//#include "font_data_tables.inc.h"
|
|
||||||
//#include "render_core/image.h"
|
|
||||||
//#include "render_core/mesh.h"
|
|
||||||
//#include "render_core/texture.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/font.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/render_state.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/render_state.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/mesh_utils.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/mesh_utils.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "shortcut.h"
|
|
||||||
//#include "render_core/input_event.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/shortcut.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//{//{FILE:sfw/render_core/primitive_meshes.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/material.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/material.cpp}}
|
|
||||||
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#includes own header
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/color_material_2d.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#includes own header
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/color_material.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#includes own header
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/colored_material.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#includes own header
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/font_material.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#includes own header
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/texture_material_2d.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#includes own header
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/texture_material.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#includes own header
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/transparent_texture_material.cpp}}
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/image.h"
|
|
||||||
//#include "core/error_macros.h"
|
|
||||||
//#include "core/hash_map.h"
|
|
||||||
//#include "math.h"
|
|
||||||
//#include "core/memory.h"
|
|
||||||
//#include "core/vector3.h"
|
|
||||||
//#include "3rd_stb_image.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/image.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/window.h"
|
|
||||||
//#include "render_core/3rd_glad.h"
|
|
||||||
//#include "3rd_glfw3.h"
|
|
||||||
//#include "core/error_macros.h"
|
|
||||||
//#include "core/stime.h"
|
|
||||||
//#include "core/ustring.h"
|
|
||||||
//#include "core/vector4.h"
|
|
||||||
//#include "render_core/application.h"
|
|
||||||
//#include "render_core/input.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/window.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "keyboard.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/keyboard.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "input_map.h"
|
|
||||||
//#include "render_core/input.h"
|
|
||||||
//#include "render_core/keyboard.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/input_map.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/scene.h"
|
|
||||||
//#include "render_core/input_event.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/scene.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "input.h"
|
|
||||||
//#include "core/logger.h"
|
|
||||||
//#include "core/stime.h"
|
|
||||||
//#include "render_core/application.h"
|
|
||||||
//#include "render_core/input_map.h"
|
|
||||||
//#include "render_core/keyboard.h"
|
|
||||||
//#include "render_core/texture.h"
|
|
||||||
//#include "render_core/window.h"
|
|
||||||
//#include "render_core/3rd_glfw3.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/input.cpp}}
|
|
||||||
|
|
||||||
//=================== RENDER IMMEDIATE SECTION ===================
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#include "renderer.h"
|
|
||||||
//#include "render_core/color_material_2d.h"
|
|
||||||
//#include "render_core/font.h"
|
|
||||||
//#include "render_core/font_material.h"
|
|
||||||
//#include "render_core/material.h"
|
|
||||||
//#include "render_core/mesh.h"
|
|
||||||
//#include "render_core/texture.h"
|
|
||||||
//#include "render_core/texture_material_2d.h"
|
|
||||||
//#include "render_core/window.h"
|
|
||||||
//#include "render_core/render_state.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_immediate/renderer.cpp}}
|
|
||||||
|
|
||||||
//=================== RENDER OBJCTS SECTION ===================
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_objects/camera_3d.h"
|
|
||||||
//#include "core/math_funcs.h"
|
|
||||||
//#include "render_core/render_state.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/camera_3d.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_objects/sprite.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/sprite.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_objects/camera_2d.h"
|
|
||||||
//#include "core/math_funcs.h"
|
|
||||||
//#include "render_core/render_state.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/camera_2d.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_objects/mesh_instance_3d.h"
|
|
||||||
//#include "render_objects/camera_3d.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/mesh_instance_3d.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_objects/object_3d.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/object_3d.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_objects/tile_map.h"
|
|
||||||
//#include "render_objects/camera_2d.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/tile_map.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_objects/text_2d.h"
|
|
||||||
//#include "render_core/font.h"
|
|
||||||
//#include "render_core/font_material.h"
|
|
||||||
//#include "render_core/mesh.h"
|
|
||||||
//#include "render_objects/camera_2d.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/text_2d.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_objects/object_2d.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/object_2d.cpp}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_objects/mesh_instance_2d.h"
|
|
||||||
//#include "render_objects/camera_2d.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/mesh_instance_2d.cpp}}
|
|
||||||
|
|
||||||
|
@ -16,77 +16,77 @@
|
|||||||
//--STRIP
|
//--STRIP
|
||||||
//no includes
|
//no includes
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/int_types.h}}
|
{{FILE:sfwl/core/int_types.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//no includes
|
//no includes
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/math_defs.h}}
|
{{FILE:sfwl/core/math_defs.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//no includes
|
//no includes
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/error_list.h}}
|
{{FILE:sfwl/core/error_list.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//no includes
|
//no includes
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/logger.h}}
|
{{FILE:sfwl/core/logger.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/int_types.h"
|
//#include "core/int_types.h"
|
||||||
//#include "core/error_list.h"
|
//#include "core/error_list.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/typedefs.h}}
|
{{FILE:sfwl/core/typedefs.h}}
|
||||||
|
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/int_types.h"
|
//#include "core/int_types.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/stime.h}}
|
{{FILE:sfwl/core/stime.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/safe_refcount.h}}
|
{{FILE:sfwl/core/safe_refcount.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/logger.h"
|
//#include "core/logger.h"
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/error_macros.h}}
|
{{FILE:sfwl/core/error_macros.h}}
|
||||||
|
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//#include "core/safe_refcount.h"
|
//#include "core/safe_refcount.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/memory.h}}
|
{{FILE:sfwl/core/memory.h}}
|
||||||
|
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/error_list.h"
|
//#include "core/error_list.h"
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/mutex.h}}
|
{{FILE:sfwl/core/mutex.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/error_list.h"
|
//#include "core/error_list.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/rw_lock.h}}
|
{{FILE:sfwl/core/rw_lock.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/spin_lock.h}}
|
{{FILE:sfwl/core/spin_lock.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/mutex.h"
|
//#include "core/mutex.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/thread_safe.h}}
|
{{FILE:sfwl/core/thread_safe.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/pcg.h}}
|
{{FILE:sfwl/core/pcg.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/math_defs.h"
|
//#include "core/math_defs.h"
|
||||||
//#include "core/pcg.h"
|
//#include "core/pcg.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/random_pcg.h}}
|
{{FILE:sfwl/core/random_pcg.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
@ -95,7 +95,7 @@
|
|||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//#include "core/pcg.h"
|
//#include "core/pcg.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/math_funcs.h}}
|
{{FILE:sfwl/core/math_funcs.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//Simple almost dependencyless containers
|
//Simple almost dependencyless containers
|
||||||
@ -107,59 +107,59 @@
|
|||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//#include "core/safe_refcount.h"
|
//#include "core/safe_refcount.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/cowdata.h}}
|
{{FILE:sfwl/core/cowdata.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/sort_array.h}}
|
{{FILE:sfwl/core/sort_array.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/rb_map.h}}
|
{{FILE:sfwl/core/rb_map.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/rb_set.h}}
|
{{FILE:sfwl/core/rb_set.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "cowdata.h"
|
//#include "cowdata.h"
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vmap.h}}
|
{{FILE:sfwl/core/vmap.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "cowdata.h"
|
//#include "cowdata.h"
|
||||||
//#include "core/sort_array.h"
|
//#include "core/sort_array.h"
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vector.h}}
|
{{FILE:sfwl/core/vector.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/vector.h"
|
//#include "core/vector.h"
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vset.h}}
|
{{FILE:sfwl/core/vset.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/sort_array.h"
|
//#include "core/sort_array.h"
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/list.h}}
|
{{FILE:sfwl/core/list.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/vector.h"
|
//#include "core/vector.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/ring_buffer.h}}
|
{{FILE:sfwl/core/ring_buffer.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//#include "spin_lock.h"
|
//#include "spin_lock.h"
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/paged_allocator.h}}
|
{{FILE:sfwl/core/paged_allocator.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/pool_allocator.h}}
|
{{FILE:sfwl/core/pool_allocator.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//Strings they need vector.h, and cowdata.h
|
//Strings they need vector.h, and cowdata.h
|
||||||
@ -168,26 +168,26 @@
|
|||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/char_range.inc}}
|
{{FILE:sfwl/core/char_range.inc}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//#include "core/char_range.inc"
|
//#include "core/char_range.inc"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/char_utils.h}}
|
{{FILE:sfwl/core/char_utils.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "cowdata.h"
|
//#include "cowdata.h"
|
||||||
//#include "core/vector.h"
|
//#include "core/vector.h"
|
||||||
//#include "char_utils.h"
|
//#include "char_utils.h"
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/ustring.h}}
|
{{FILE:sfwl/core/ustring.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/mutex.h"
|
//#include "core/mutex.h"
|
||||||
//#include "core/safe_refcount.h"
|
//#include "core/safe_refcount.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/string_name.h}}
|
{{FILE:sfwl/core/string_name.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//Needs ustring.h
|
//Needs ustring.h
|
||||||
@ -201,7 +201,7 @@
|
|||||||
//#include "core/safe_refcount.h"
|
//#include "core/safe_refcount.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/pool_vector.h}}
|
{{FILE:sfwl/core/pool_vector.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/pool_vector.h"
|
//#include "core/pool_vector.h"
|
||||||
//#include "core/sort_array.h"
|
//#include "core/sort_array.h"
|
||||||
@ -209,7 +209,7 @@
|
|||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/tight_local_vector.h}}
|
{{FILE:sfwl/core/tight_local_vector.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/pool_vector.h"
|
//#include "core/pool_vector.h"
|
||||||
//#include "core/sort_array.h"
|
//#include "core/sort_array.h"
|
||||||
@ -217,7 +217,7 @@
|
|||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/local_vector.h}}
|
{{FILE:sfwl/core/local_vector.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//Math classes
|
//Math classes
|
||||||
@ -227,66 +227,66 @@
|
|||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/color.h}}
|
{{FILE:sfwl/core/color.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vector2.h}}
|
{{FILE:sfwl/core/vector2.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//#include "core/vector2.h"
|
//#include "core/vector2.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vector2i.h}}
|
{{FILE:sfwl/core/vector2i.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/vector2.h" // also includes math_funcs and ustring
|
//#include "core/vector2.h" // also includes math_funcs and ustring
|
||||||
//#include "core/vector2i.h"
|
//#include "core/vector2i.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/rect2.h}}
|
{{FILE:sfwl/core/rect2.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/vector2i.h" // also includes math_funcs and ustring
|
//#include "core/vector2i.h" // also includes math_funcs and ustring
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/rect2i.h}}
|
{{FILE:sfwl/core/rect2i.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vector3.h}}
|
{{FILE:sfwl/core/vector3.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vector3i.h}}
|
{{FILE:sfwl/core/vector3i.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/math_defs.h"
|
//#include "core/math_defs.h"
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vector4.h}}
|
{{FILE:sfwl/core/vector4.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/vector4i.h}}
|
{{FILE:sfwl/core/vector4i.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/vector3.h"
|
//#include "core/vector3.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/plane.h}}
|
{{FILE:sfwl/core/plane.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/math_defs.h"
|
//#include "core/math_defs.h"
|
||||||
//#include "core/plane.h"
|
//#include "core/plane.h"
|
||||||
//#include "core/vector3.h"
|
//#include "core/vector3.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/aabb.h}}
|
{{FILE:sfwl/core/aabb.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/math_defs.h"
|
//#include "core/math_defs.h"
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//#include "core/vector3.h"
|
//#include "core/vector3.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/quaternion.h}}
|
{{FILE:sfwl/core/quaternion.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/vector.h"
|
//#include "core/vector.h"
|
||||||
//#include "core/math_defs.h"
|
//#include "core/math_defs.h"
|
||||||
@ -296,27 +296,27 @@
|
|||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//#include "core/vector4.h"
|
//#include "core/vector4.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/projection.h}}
|
{{FILE:sfwl/core/projection.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/quaternion.h"
|
//#include "core/quaternion.h"
|
||||||
//#include "core/vector3.h"
|
//#include "core/vector3.h"
|
||||||
//#include "core/vector3i.h"
|
//#include "core/vector3i.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/basis.h}}
|
{{FILE:sfwl/core/basis.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/pool_vector.h"
|
//#include "core/pool_vector.h"
|
||||||
//#include "core/rect2.h" // also includes vector2, math_funcs, and ustring
|
//#include "core/rect2.h" // also includes vector2, math_funcs, and ustring
|
||||||
//#include "core/rect2i.h" // also includes vector2i, math_funcs, and ustring
|
//#include "core/rect2i.h" // also includes vector2i, math_funcs, and ustring
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/transform_2d.h}}
|
{{FILE:sfwl/core/transform_2d.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/aabb.h"
|
//#include "core/aabb.h"
|
||||||
//#include "core/plane.h"
|
//#include "core/plane.h"
|
||||||
//#include "core/transform.h"
|
//#include "core/transform.h"
|
||||||
//#include "core/vector3.h"
|
//#include "core/vector3.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/face3.h}}
|
{{FILE:sfwl/core/face3.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/aabb.h"
|
//#include "core/aabb.h"
|
||||||
//#include "core/basis.h"
|
//#include "core/basis.h"
|
||||||
@ -324,7 +324,7 @@
|
|||||||
//#include "core/vector3i.h"
|
//#include "core/vector3i.h"
|
||||||
//#include "core/pool_vector.h"
|
//#include "core/pool_vector.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/transform.h}}
|
{{FILE:sfwl/core/transform.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//hashfuncs.h Needs most math classes
|
//hashfuncs.h Needs most math classes
|
||||||
@ -346,7 +346,7 @@
|
|||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/hashfuncs.h}}
|
{{FILE:sfwl/core/hashfuncs.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//Containers that need hashfuncs.h
|
//Containers that need hashfuncs.h
|
||||||
@ -356,7 +356,7 @@
|
|||||||
//#include "core/hashfuncs.h"
|
//#include "core/hashfuncs.h"
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/pair.h}}
|
{{FILE:sfwl/core/pair.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/hashfuncs.h"
|
//#include "core/hashfuncs.h"
|
||||||
//#include "core/list.h"
|
//#include "core/list.h"
|
||||||
@ -365,13 +365,13 @@
|
|||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/og_hash_map.h}}
|
{{FILE:sfwl/core/og_hash_map.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/list.h"
|
//#include "core/list.h"
|
||||||
//#include "core/og_hash_map.h"
|
//#include "core/og_hash_map.h"
|
||||||
//#include "core/pair.h"
|
//#include "core/pair.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/ordered_hash_map.h}}
|
{{FILE:sfwl/core/ordered_hash_map.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/hashfuncs.h"
|
//#include "core/hashfuncs.h"
|
||||||
//#include "paged_allocator.h"
|
//#include "paged_allocator.h"
|
||||||
@ -380,32 +380,32 @@
|
|||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//#include "list.h"
|
//#include "list.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/hash_map.h}}
|
{{FILE:sfwl/core/hash_map.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/hash_map.h"
|
//#include "core/hash_map.h"
|
||||||
//#include "core/hashfuncs.h"
|
//#include "core/hashfuncs.h"
|
||||||
//#include "core/math_funcs.h"
|
//#include "core/math_funcs.h"
|
||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/hash_set.h}}
|
{{FILE:sfwl/core/hash_set.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/error_list.h"
|
//#include "core/error_list.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//also needs vector
|
//also needs vector
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/file_access.h}}
|
{{FILE:sfwl/core/file_access.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/error_list.h"
|
//#include "core/error_list.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/dir_access.h}}
|
{{FILE:sfwl/core/dir_access.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//no includes
|
//no includes
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/core/sfw_core.h}}
|
{{FILE:sfwl/core/sfw_core.h}}
|
||||||
|
|
||||||
//=================== OBJECT SECTION ===================
|
//=================== OBJECT SECTION ===================
|
||||||
|
|
||||||
@ -416,16 +416,16 @@
|
|||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/ref_ptr.h}}
|
{{FILE:sfwl/object/ref_ptr.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/int_types.h"
|
//#include "core/int_types.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/object_id.h}}
|
{{FILE:sfwl/object/object_id.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/string_name.h"
|
//#include "core/string_name.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/core_string_names.h}}
|
{{FILE:sfwl/object/core_string_names.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//Variants
|
//Variants
|
||||||
@ -434,14 +434,14 @@
|
|||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/array.h}}
|
{{FILE:sfwl/object/array.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/list.h"
|
//#include "core/list.h"
|
||||||
//#include "core/ustring.h"
|
//#include "core/ustring.h"
|
||||||
//#include "object/array.h"
|
//#include "object/array.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/dictionary.h}}
|
{{FILE:sfwl/object/dictionary.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/aabb.h"
|
//#include "core/aabb.h"
|
||||||
@ -464,7 +464,7 @@
|
|||||||
//#include "object/ref_ptr.h"
|
//#include "object/ref_ptr.h"
|
||||||
//#include "object/object_id.h"
|
//#include "object/object_id.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/variant.h}}
|
{{FILE:sfwl/object/variant.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//Stuff that needs Variant
|
//Stuff that needs Variant
|
||||||
@ -476,7 +476,7 @@
|
|||||||
//#include "object/variant.h"
|
//#include "object/variant.h"
|
||||||
//#include "object/reference.h"
|
//#include "object/reference.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/psignal.h}}
|
{{FILE:sfwl/object/psignal.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/hash_map.h"
|
//#include "core/hash_map.h"
|
||||||
@ -488,14 +488,14 @@
|
|||||||
//#include "object/variant.h"
|
//#include "object/variant.h"
|
||||||
//#include "object/dictionary.h"
|
//#include "object/dictionary.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/object.h}}
|
{{FILE:sfwl/object/object.h}}
|
||||||
|
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//#include "core/typedefs.h"
|
//#include "core/typedefs.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/object_rc.h}}
|
{{FILE:sfwl/object/object_rc.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
@ -503,282 +503,12 @@
|
|||||||
//#include "object/object.h"
|
//#include "object/object.h"
|
||||||
//#include "object/ref_ptr.h"
|
//#include "object/ref_ptr.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/reference.h}}
|
{{FILE:sfwl/object/reference.h}}
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "object/reference.h"
|
//#include "object/reference.h"
|
||||||
//#include "psignal.h"
|
//#include "psignal.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/object/resource.h}}
|
{{FILE:sfwl/object/resource.h}}
|
||||||
|
|
||||||
|
|
||||||
//=================== RENDER CORE SECTION ===================
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#include "core/projection.h"
|
|
||||||
//#include "core/transform.h"
|
|
||||||
//#include "core/vector3.h"
|
|
||||||
//#include "core/transform_2d.h"
|
|
||||||
//#include "core/vector2.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/render_state.h}}
|
|
||||||
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#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
|
|
||||||
{{FILE:sfw/render_core/image.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "core/vector2i.h"
|
|
||||||
//#include "object/resource.h"
|
|
||||||
//#include "render_core/3rd_glad.h"
|
|
||||||
//#include "render_core/image.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/texture.h}}
|
|
||||||
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#include "core/vector.h"
|
|
||||||
//#include "core/int_types.h"
|
|
||||||
//#include "core/color.h"
|
|
||||||
//#include "object/resource.h"
|
|
||||||
//#include "render_core/3rd_glad.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/mesh.h}}
|
|
||||||
//--STRIP
|
|
||||||
//{//{//FILE:sfw/render_core/primitive_meshes.h}}
|
|
||||||
//--STRIP
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/mesh.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/mesh_utils.h}}
|
|
||||||
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#include "core/ustring.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/keyboard.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "core/transform_2d.h"
|
|
||||||
//#include "core/typedefs.h"
|
|
||||||
//#include "core/ustring.h"
|
|
||||||
//#include "object/resource.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/input_event.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "object/resource.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/shortcut.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/input_event.h"
|
|
||||||
//#include "object/object.h"
|
|
||||||
//#include "core/rb_map.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/input_map.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#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
|
|
||||||
{{FILE:sfw/render_core/input.h}}
|
|
||||||
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/3rd_glad.h"
|
|
||||||
//#include "core/hash_map.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/shader.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "core/projection.h"
|
|
||||||
//#include "core/transform.h"
|
|
||||||
//#include "core/transform_2d.h"
|
|
||||||
//#include "object/reference.h"
|
|
||||||
//#include "render_core/shader.h"
|
|
||||||
//--STRIP
|
|
||||||
{{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
|
|
||||||
//#include "render_core/material.h"
|
|
||||||
//#include "render_core/texture.h"
|
|
||||||
//#include "render_core/render_state.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/color_material_2d.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/material.h"
|
|
||||||
//#include "render_core/texture.h"
|
|
||||||
//#include "render_core/render_state.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/texture_material_2d.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/material.h"
|
|
||||||
//#include "render_core/texture.h"
|
|
||||||
//#include "render_core/render_state.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/texture_material.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/material.h"
|
|
||||||
//#include "core/color.h"
|
|
||||||
//#include "render_core/render_state.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/colored_material.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/material.h"
|
|
||||||
//#include "render_core/texture.h"
|
|
||||||
//#include "render_core/render_state.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/font_material.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_core/material.h"
|
|
||||||
//#include "render_core/texture.h"
|
|
||||||
//#include "render_core/render_state.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/transparent_texture_material.h}}
|
|
||||||
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#include "core/color.h"
|
|
||||||
//#include "core/ustring.h"
|
|
||||||
//#include "object/resource.h"
|
|
||||||
//#include "font_material.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/font.h}}
|
|
||||||
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#include "object/reference.h"
|
|
||||||
//#include "render_core/input_event.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/scene.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "core/color.h"
|
|
||||||
//#include "core/int_types.h"
|
|
||||||
//#include "core/vector2.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_core/window.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#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 ===================
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#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
|
|
||||||
{{FILE:sfw/render_immediate/renderer.h}}
|
|
||||||
|
|
||||||
//=================== RENDER OBJCTS SECTION ===================
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#include "object/object.h"
|
|
||||||
//#include "core/transform_2d.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/object_2d.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "object/object.h"
|
|
||||||
//#include "core/transform.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/object_3d.h}}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#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
|
|
||||||
{{FILE:sfw/render_objects/camera_2d.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "object_2d.h"
|
|
||||||
//#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
|
|
||||||
//#include "core/color.h"
|
|
||||||
//#include "core/ustring.h"
|
|
||||||
//#include "core/vector2.h"
|
|
||||||
//#include "object/reference.h"
|
|
||||||
//#include "object_2d.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/text_2d.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "render_objects/object_2d.h"
|
|
||||||
//#include "render_core/mesh.h"
|
|
||||||
//#include "render_core/material.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/tile_map.h}}
|
|
||||||
|
|
||||||
|
|
||||||
//--STRIP
|
|
||||||
//#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
|
|
||||||
{{FILE:sfw/render_objects/camera_3d.h}}
|
|
||||||
//--STRIP
|
|
||||||
//#include "core/vector.h"
|
|
||||||
//#include "render_objects/object_3d.h"
|
|
||||||
//#include "render_core/material.h"
|
|
||||||
//#include "render_core/mesh.h"
|
|
||||||
//#include "core/transform.h"
|
|
||||||
//--STRIP
|
|
||||||
{{FILE:sfw/render_objects/mesh_instance_3d.h}}
|
|
||||||
|
|
||||||
// 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
|
|
||||||
#if defined(_WIN64) || defined(_WIN32) /*&& is(tcc)*/ // && ENABLE_DLL
|
|
||||||
#ifdef GLAD_API_CALL
|
|
||||||
#undef GLAD_API_CALL
|
|
||||||
#endif
|
|
||||||
#define GLAD_API_CALL extern API ///-
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef GLAD_GL_H_
|
|
||||||
#include "sfw_3rd.h"
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user