From 450f725cabfdf427143641804cf667e2611b535a Mon Sep 17 00:00:00 2001 From: Medusa Slockbower Date: Tue, 6 Jan 2026 19:48:28 -0500 Subject: [PATCH] - More Documentation - Updated Copyright --- CMakeLists.txt | 17 +- README.md | 21 ++- build.sh | 2 +- cmake/build.cmake | 2 +- cmake/compiler.cmake | 2 +- cmake/default_user.cmake | 2 +- cmake/gcc.cmake | 2 +- cmake/linux.cmake | 2 +- cmake/opengl.cmake | 2 +- cmake/platform.cmake | 2 +- cmake/unix.cmake | 2 +- cmake/version.cmake | 2 +- cmake/vulkan.cmake | 2 +- cmake/wayland.cmake | 2 +- cmake/xkb.cmake | 2 +- doxy/Doxyfile.in | 9 +- gdb/fennec/__init__.py | 2 +- gdb/fennec/containers.py | 2 +- gdb/fennec/filesystem.py | 2 +- gdb/fennec/math.py | 2 +- gdb/fennec/memory.py | 2 +- gdb/fennec/strings.py | 2 +- gdb/fennec/utility.py | 2 +- include/fennec/containers/array.h | 22 +-- include/fennec/containers/bintree.h | 79 ++++---- include/fennec/containers/bitfield.h | 6 +- include/fennec/containers/containers.h | 14 +- include/fennec/containers/deque.h | 6 +- include/fennec/containers/detail/_tuple.h | 2 +- include/fennec/containers/dynarray.h | 12 +- include/fennec/containers/generic.h | 10 +- include/fennec/containers/graph.h | 24 +-- include/fennec/containers/initializer_list.h | 6 +- include/fennec/containers/list.h | 12 +- include/fennec/containers/map.h | 14 +- include/fennec/containers/object_pool.h | 16 +- include/fennec/containers/optional.h | 12 +- include/fennec/containers/pair.h | 10 +- include/fennec/containers/priority_queue.h | 6 +- include/fennec/containers/rdtree.h | 10 +- include/fennec/containers/sequence.h | 16 +- include/fennec/containers/set.h | 12 +- include/fennec/containers/traversal.h | 6 +- include/fennec/containers/tuple.h | 6 +- include/fennec/containers/variant.h | 16 +- include/fennec/core/engine.h | 10 +- include/fennec/core/event.h | 4 +- include/fennec/core/logger.h | 6 +- include/fennec/core/system.h | 2 +- include/fennec/core/version.h | 6 +- include/fennec/filesystem/detail/_stdio.h | 2 +- include/fennec/filesystem/file.h | 8 +- include/fennec/filesystem/path.h | 8 +- include/fennec/format/charconv.h | 6 +- include/fennec/format/detail/_format.h | 14 +- include/fennec/format/format.h | 6 +- include/fennec/format/format_arg.h | 6 +- include/fennec/format/formatter.h | 6 +- include/fennec/interpret/tokenizer.h | 6 +- include/fennec/lang/assert.h | 6 +- include/fennec/lang/bits.h | 6 +- include/fennec/lang/compare.h | 10 +- include/fennec/lang/conditional_types.h | 22 +-- include/fennec/lang/constants.h | 6 +- include/fennec/lang/declval.h | 6 +- include/fennec/lang/detail/_bits.h | 2 +- include/fennec/lang/detail/_declval.h | 14 +- include/fennec/lang/detail/_function.h | 14 +- include/fennec/lang/detail/_int.h | 2 +- .../fennec/lang/detail/_numeric_transforms.h | 2 +- include/fennec/lang/detail/_stdlib.h | 2 +- include/fennec/lang/detail/_type_sequences.h | 2 +- include/fennec/lang/detail/_type_traits.h | 2 +- include/fennec/lang/detail/_type_transforms.h | 2 +- include/fennec/lang/float.h | 6 +- include/fennec/lang/function.h | 6 +- include/fennec/lang/hashing.h | 2 +- include/fennec/lang/integer.h | 6 +- include/fennec/lang/intrinsics.h | 50 ++--- include/fennec/lang/lang.h | 6 +- include/fennec/lang/limits.h | 6 +- include/fennec/lang/metaprogramming.h | 6 +- include/fennec/lang/metasequences.h | 18 +- include/fennec/lang/numeric_transforms.h | 6 +- include/fennec/lang/ranges.h | 18 +- include/fennec/lang/static_constructor.h | 2 +- include/fennec/lang/type_identity.h | 2 +- include/fennec/lang/type_operators.h | 2 +- include/fennec/lang/type_sequences.h | 6 +- include/fennec/lang/type_traits.h | 6 +- include/fennec/lang/type_transforms.h | 178 +++++++++++------- include/fennec/lang/types.h | 6 +- include/fennec/lang/utility.h | 6 +- include/fennec/math/common.h | 6 +- include/fennec/math/detail/_fwd.h | 2 +- include/fennec/math/detail/_math.h | 2 +- include/fennec/math/detail/_matrix.h | 2 +- include/fennec/math/detail/_types.h | 2 +- include/fennec/math/detail/_vector_traits.h | 2 +- include/fennec/math/exponential.h | 6 +- include/fennec/math/ext/common.h | 2 +- include/fennec/math/ext/constants.h | 6 +- include/fennec/math/ext/primes.h | 2 +- include/fennec/math/ext/quaternion.h | 2 +- include/fennec/math/ext/rect.h | 6 +- include/fennec/math/ext/transform.h | 2 +- include/fennec/math/ext/trigonometric.h | 2 +- include/fennec/math/geometric.h | 6 +- include/fennec/math/math.h | 6 +- include/fennec/math/matrix.h | 6 +- include/fennec/math/relational.h | 6 +- include/fennec/math/scalar.h | 6 +- include/fennec/math/swizzle.h | 6 +- include/fennec/math/swizzle_storage.h | 2 +- include/fennec/math/trigonometric.h | 6 +- include/fennec/math/vector.h | 6 +- include/fennec/math/vector_base.h | 2 +- include/fennec/math/vector_storage.h | 2 +- include/fennec/math/vector_traits.h | 6 +- include/fennec/memory/allocator.h | 6 +- include/fennec/memory/bytes.h | 2 +- include/fennec/memory/common.h | 8 +- include/fennec/memory/detail/_ptr_traits.h | 2 +- include/fennec/memory/detail/_string.h | 2 +- include/fennec/memory/memory.h | 6 +- include/fennec/memory/new.h | 6 +- include/fennec/memory/pointer_traits.h | 2 +- include/fennec/memory/pointers.h | 2 +- .../platform/interface/display_server.h | 8 +- include/fennec/platform/interface/fwd.h | 2 +- include/fennec/platform/interface/platform.h | 2 +- include/fennec/platform/interface/window.h | 6 +- include/fennec/platform/linux/platform.h | 4 +- .../platform/linux/wayland/egl/context.h | 8 +- .../platform/linux/wayland/egl/surface.h | 6 +- include/fennec/platform/linux/wayland/fwd.h | 6 +- .../platform/linux/wayland/lib/loader.h | 2 +- .../fennec/platform/linux/wayland/lib/sym.h | 2 +- .../platform/linux/wayland/lib/wayland.h | 2 +- .../linux/wayland/libdecor/libdecor.h | 6 +- .../platform/linux/wayland/libdecor/loader.h | 6 +- .../platform/linux/wayland/libdecor/sym.h | 2 +- .../fennec/platform/linux/wayland/server.h | 8 +- .../fennec/platform/linux/wayland/window.h | 6 +- .../fennec/platform/linux/xkb/lib/loader.h | 2 +- include/fennec/platform/linux/xkb/lib/sym.h | 2 +- include/fennec/platform/linux/xkb/lib/xkb.h | 2 +- include/fennec/platform/opengl/egl/context.h | 8 +- include/fennec/platform/opengl/egl/error.h | 6 +- include/fennec/platform/opengl/egl/fwd.h | 6 +- include/fennec/platform/opengl/egl/surface.h | 6 +- include/fennec/platform/unix/platform.h | 4 +- include/fennec/platform/window_manager.h | 6 +- include/fennec/renderers/interface/forward.h | 6 +- .../fennec/renderers/interface/gfxcontext.h | 6 +- .../fennec/renderers/interface/gfxsurface.h | 6 +- include/fennec/renderers/opengl/glcontext.h | 8 +- include/fennec/renderers/opengl/lib/buffer.h | 2 +- include/fennec/renderers/opengl/lib/enum.h | 2 +- include/fennec/renderers/opengl/lib/fwd.h | 2 +- include/fennec/renderers/opengl/lib/texture.h | 2 +- .../renderers/opengl/lib/vertex_array.h | 2 +- .../fennec/renderers/vulkan/lib/app_info.h | 8 +- .../fennec/renderers/vulkan/lib/instance.h | 169 ++++++++++++++++- include/fennec/renderers/vulkan/vkcontext.cpp | 2 +- include/fennec/renderers/vulkan/vkcontext.h | 8 +- include/fennec/rtti/detail/_constants.h | 2 +- include/fennec/rtti/detail/_this_t.h | 14 +- include/fennec/rtti/detail/_type_name.h | 14 +- include/fennec/rtti/detail/_typeid.h | 2 +- include/fennec/rtti/enable.h | 13 +- include/fennec/rtti/forward.h | 6 +- include/fennec/rtti/singleton.h | 6 +- include/fennec/rtti/type.h | 6 +- include/fennec/rtti/type_data.h | 6 +- include/fennec/rtti/type_registry.h | 6 +- include/fennec/rtti/typeid.h | 2 +- include/fennec/rtti/typelist.h | 6 +- include/fennec/scene/component.h | 2 +- include/fennec/scene/forward.h | 6 +- include/fennec/scene/node2d.h | 6 +- include/fennec/scene/scene.h | 2 +- include/fennec/scene/scene_node.h | 6 +- include/fennec/string/cstring.h | 2 +- include/fennec/string/detail/_ctype.h | 2 +- include/fennec/string/detail/_locale.h | 2 +- include/fennec/string/locale.h | 2 +- include/fennec/string/string.h | 2 +- include/fennec/string/wcstring.h | 2 +- include/fennec/string/wstring.h | 2 +- include/fennec/threading/atomic.h | 6 +- include/fennec/threading/detail/_atomic.h | 2 +- include/fennec/threading/detail/_thread.h | 15 +- include/fennec/threading/lock_guard.h | 6 +- include/fennec/threading/mpscq.h | 6 +- include/fennec/threading/mutex.h | 6 +- include/fennec/threading/thread.h | 26 ++- metaprogramming/float.h | 8 +- metaprogramming/integer.h | 8 +- metaprogramming/main.cpp | 2 +- metaprogramming/type_name.h | 16 +- source/core/engine.cpp | 2 +- source/core/event.cpp | 2 +- source/core/logger.cpp | 14 +- source/debug/assert_impl.cpp | 2 +- source/filesystem/file.cpp | 2 +- source/filesystem/path.cpp | 2 +- source/format/charconv.cpp | 14 +- source/lang/assert.cpp | 2 +- source/platform/interface/platform.cpp | 2 +- source/platform/interface/window.cpp | 2 +- source/platform/linux/platform.cpp | 2 +- source/platform/linux/wayland/egl/context.cpp | 2 +- source/platform/linux/wayland/egl/surface.cpp | 2 +- source/platform/linux/wayland/lib/loader.cpp | 2 +- .../linux/wayland/libdecor/loader.cpp | 2 +- source/platform/linux/wayland/server.cpp | 2 +- source/platform/linux/wayland/window.cpp | 2 +- source/platform/linux/xkb/lib/loader.cpp | 2 +- source/platform/opengl/egl/context.cpp | 2 +- source/platform/opengl/egl/surface.cpp | 2 +- source/platform/unix/platform.cpp | 2 +- source/platform/window_manager.cpp | 2 +- source/renderers/opengl/glcontext.cpp | 2 +- source/scene/scene.cpp | 14 +- test.sh | 2 +- test/main.cpp | 2 +- test/printing.h | 2 +- test/test.h | 2 +- .../performance/test_iterator_visitor.h | 2 +- test/tests/containers/test_array.h | 2 +- test/tests/containers/test_bintree.h | 2 +- test/tests/containers/test_deque.h | 2 +- test/tests/containers/test_dynarray.h | 2 +- test/tests/containers/test_graph.h | 2 +- test/tests/containers/test_list.h | 4 +- test/tests/containers/test_map.h | 2 +- test/tests/containers/test_object_pool.h | 2 +- test/tests/containers/test_optional.h | 2 +- test/tests/containers/test_priority_queue.h | 2 +- test/tests/containers/test_rdtree.h | 2 +- test/tests/containers/test_sequence.h | 14 +- test/tests/containers/test_set.h | 2 +- test/tests/containers/test_tuple.h | 2 +- test/tests/core/test_event.h | 15 +- test/tests/lang/test_bits.h | 2 +- test/tests/lang/test_conditional_types.h | 2 +- test/tests/lang/test_function.h | 15 +- test/tests/lang/test_hashing.h | 2 +- test/tests/lang/test_metaprogramming.h | 15 +- test/tests/math/ext/test_quaternion.h | 2 +- test/tests/math/test_common.h | 2 +- test/tests/math/test_exponential.h | 2 +- test/tests/math/test_ext.h | 2 +- test/tests/math/test_geometric.h | 2 +- test/tests/math/test_matrix.h | 2 +- test/tests/math/test_relational.h | 2 +- test/tests/math/test_scalar.h | 2 +- test/tests/math/test_trigonometric.h | 2 +- test/tests/math/test_vector.h | 2 +- test/tests/string/test_cstring.h | 2 +- test/tests/string/test_string.h | 14 +- test/tests/test_containers.h | 2 +- test/tests/test_core.h | 15 +- test/tests/test_filesystem.h | 2 +- test/tests/test_format.h | 14 +- test/tests/test_lang.h | 2 +- test/tests/test_math.h | 2 +- test/tests/test_memory.h | 2 +- test/tests/test_platform.h | 2 +- test/tests/test_rtti.h | 14 +- test/tests/test_string.h | 2 +- test/tests/test_threading.h | 15 +- 273 files changed, 963 insertions(+), 963 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1abf6de..cad838e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -91,6 +91,7 @@ fennec_add_sources( include/fennec/core/system.h + # SCENE ================================================================================================================ include/fennec/scene/scene.h source/scene/scene.cpp include/fennec/scene/component.h @@ -100,6 +101,7 @@ fennec_add_sources( + # RENDERERS ============================================================================================================ include/fennec/renderers/interface/forward.h @@ -107,6 +109,7 @@ fennec_add_sources( include/fennec/renderers/interface/gfxsurface.h + # CONTAINERS =========================================================================================================== include/fennec/containers/containers.h @@ -135,6 +138,7 @@ fennec_add_sources( include/fennec/containers/detail/_tuple.h + # lang ================================================================================================================= include/fennec/lang/lang.h include/fennec/lang/metaprogramming.h @@ -191,6 +195,7 @@ fennec_add_sources( include/fennec/rtti/detail/_type_name.h + # MEMORY =============================================================================================================== include/fennec/memory/new.h source/memory/new.cpp @@ -203,10 +208,13 @@ fennec_add_sources( include/fennec/memory/detail/_ptr_traits.h + + # DEBUG ================================================================================================================ source/debug/assert_impl.cpp + # MATH ================================================================================================================= include/fennec/math/math.h @@ -287,14 +295,16 @@ fennec_add_sources( include/fennec/interpret/tokenizer.h -# PLATFORM ============================================================================================================= +# PLATFORM ============================================================================================================= include/fennec/platform/interface/fwd.h include/fennec/platform/interface/display_server.h include/fennec/platform/interface/platform.h source/platform/interface/platform.cpp include/fennec/platform/interface/window.h source/platform/interface/window.cpp include/fennec/platform/window_manager.h source/platform/window_manager.cpp + + # GRAPHICS ============================================================================================================= ) @@ -304,7 +314,6 @@ add_subdirectory(test) add_library(fennec STATIC ${FENNEC_SOURCES} - ) add_dependencies(fennec metaprogramming fennec-dependencies) @@ -353,7 +362,7 @@ if(DOXYGEN_FOUND) # Target for building docs add_custom_target(fennecdocs ALL COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_CONFIG_OUT} - WORKING_DIRECTORY ${FENNEC_SOURCE_DIR} + WORKING_DIRECTORY ${FENNEC_SOURCE_DIR}/include/ COMMAND ${CMAKE_COMMAND} -E copy ${FENNEC_SOURCE_DIR}/logo/raster.png ${DOXY_OUTPUT_DIR}/logo/raster.png COMMENT "Generating Doxygen Documentation" diff --git a/README.md b/README.md index d92fa35..6daf8ed 100644 --- a/README.md +++ b/README.md @@ -133,19 +133,19 @@ is also a viable IDE but involves some extra setup. ### Dependencies -| Dependency | Notes | -|-----------------------------------|----------------------------------------------------------------------------------------------------------| -| C/C++ Compiler | GCC/G++ is the compiler that fennec is designed around, however, Clang, MSVC, and MinGW may also be used | -| CMake | The build manager used by the engine | -| Volk [__*__](#opt) | The Vulkan loader Volk, includes necessary headers for Vulkan. | -| A build system | Any build system will work, however, `build.sh` uses Ninja by default. | -| A memory debugger | Any memory debugger will work, however, `test.sh` uses Valgrind by default. | -| Doxygen [__*__](#opt) | Doxygen is required for building the documentation for fennec. | -| Graphviz [__*__](#opt) | Graphviz is a required dependency for Doxygen | +| Dependency | Notes | +|------------------------------|----------------------------------------------------------------------------------------------------------| +| C/C++ Compiler | GCC/G++ is the compiler that fennec is designed around, however, Clang, MSVC, and MinGW may also be used | +| CMake | The build manager used by the engine | +| Volk[*](#opt) | The Vulkan loader Volk, includes necessary headers for Vulkan. | +| A build system | Any build system will work, however, `build.sh` uses Ninja by default. | +| A memory debugger | Any memory debugger will work, however, `test.sh` uses Valgrind by default. | +| Doxygen[*](#opt) | Doxygen is required for building the documentation for fennec. | +| Graphviz[*](#opt) | Graphviz is a required dependency for Doxygen | -[__*__](#opt) Optional Dependency +[*](#opt) Optional Dependency
@@ -162,6 +162,7 @@ build scripts to use another build manager, see the [CMake documentation for ava using specific toolchains for specific platforms that necessitate this. The primary examples would be Android and iOS. If you wish to build for Windows *and* Linux, your options are WSL or Dual Boot. I recommend Dual Boot over WSL. + #### Git Install git dependencies with the following command: diff --git a/build.sh b/build.sh index b780158..3506203 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ ## ===================================================================================================================== ## fennec, a free and open source game engine -## Copyright © 2025 Medusa Slockbower +## Copyright © 2025 - 2026 Medusa Slockbower ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by diff --git a/cmake/build.cmake b/cmake/build.cmake index 5867d14..fcfbb6c 100644 --- a/cmake/build.cmake +++ b/cmake/build.cmake @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/cmake/compiler.cmake b/cmake/compiler.cmake index b7e1f33..5cc38d0 100644 --- a/cmake/compiler.cmake +++ b/cmake/compiler.cmake @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/cmake/default_user.cmake b/cmake/default_user.cmake index 4b04d90..dc10864 100644 --- a/cmake/default_user.cmake +++ b/cmake/default_user.cmake @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/cmake/gcc.cmake b/cmake/gcc.cmake index 2129711..405f674 100644 --- a/cmake/gcc.cmake +++ b/cmake/gcc.cmake @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/cmake/linux.cmake b/cmake/linux.cmake index 9335ad8..c1d023c 100644 --- a/cmake/linux.cmake +++ b/cmake/linux.cmake @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/cmake/opengl.cmake b/cmake/opengl.cmake index 798671c..e20eae6 100644 --- a/cmake/opengl.cmake +++ b/cmake/opengl.cmake @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/cmake/platform.cmake b/cmake/platform.cmake index 048f5fe..2c70846 100644 --- a/cmake/platform.cmake +++ b/cmake/platform.cmake @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/cmake/unix.cmake b/cmake/unix.cmake index 6c29ba9..27780a3 100644 --- a/cmake/unix.cmake +++ b/cmake/unix.cmake @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/cmake/version.cmake b/cmake/version.cmake index 7f175d7..b48d231 100644 --- a/cmake/version.cmake +++ b/cmake/version.cmake @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/cmake/vulkan.cmake b/cmake/vulkan.cmake index b5acbe7..39f49a9 100644 --- a/cmake/vulkan.cmake +++ b/cmake/vulkan.cmake @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/cmake/wayland.cmake b/cmake/wayland.cmake index 397078b..5bedb6a 100644 --- a/cmake/wayland.cmake +++ b/cmake/wayland.cmake @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/cmake/xkb.cmake b/cmake/xkb.cmake index c53d3f2..949d74c 100644 --- a/cmake/xkb.cmake +++ b/cmake/xkb.cmake @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/doxy/Doxyfile.in b/doxy/Doxyfile.in index f095f1d..fc266aa 100644 --- a/doxy/Doxyfile.in +++ b/doxy/Doxyfile.in @@ -943,7 +943,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = "@PROJECT_SOURCE_DIR@/include" \ +INPUT = "@PROJECT_SOURCE_DIR@/include/" \ "@PROJECT_SOURCE_DIR@/README.md" # This tag can be used to specify the character encoding of the source files @@ -1050,7 +1050,8 @@ RECURSIVE = YES EXCLUDE = "@PROJECT_SOURCE_DIR@/include/fennec/platform/linux/wayland/lib" \ "@PROJECT_SOURCE_DIR@/include/fennec/platform/linux/wayland/libdecor" \ - "@PROJECT_SOURCE_DIR@/include/fennec/platform/linux/xkb/lib" + "@PROJECT_SOURCE_DIR@/include/fennec/platform/linux/xkb/lib" \ + "@PROJECT_SOURCE_DIR@/include/fennec/platform/opengl/glad" # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded @@ -2403,7 +2404,7 @@ MACRO_EXPANSION = YES # The default value is: NO. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -EXPAND_ONLY_PREDEF = YES +EXPAND_ONLY_PREDEF = NO # If the SEARCH_INCLUDES tag is set to YES, the include files in the # INCLUDE_PATH will be searched if a #include is found. @@ -2418,7 +2419,7 @@ SEARCH_INCLUDES = YES # RECURSIVE has no effect here. # This tag requires that the tag SEARCH_INCLUDES is set to YES. -INCLUDE_PATH = +INCLUDE_PATH = "@PROJECT_SOURCE_DIR@/include" # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard # patterns (like *.h and *.hpp) to filter out the header-files in the diff --git a/gdb/fennec/__init__.py b/gdb/fennec/__init__.py index 854a0af..a10bf95 100644 --- a/gdb/fennec/__init__.py +++ b/gdb/fennec/__init__.py @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/gdb/fennec/containers.py b/gdb/fennec/containers.py index 5f7e8c2..11aaf3f 100644 --- a/gdb/fennec/containers.py +++ b/gdb/fennec/containers.py @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/gdb/fennec/filesystem.py b/gdb/fennec/filesystem.py index b79d96b..d4bf75f 100644 --- a/gdb/fennec/filesystem.py +++ b/gdb/fennec/filesystem.py @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/gdb/fennec/math.py b/gdb/fennec/math.py index 932aee3..cc88220 100644 --- a/gdb/fennec/math.py +++ b/gdb/fennec/math.py @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/gdb/fennec/memory.py b/gdb/fennec/memory.py index 3ce1dc9..3ce8da4 100644 --- a/gdb/fennec/memory.py +++ b/gdb/fennec/memory.py @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/gdb/fennec/strings.py b/gdb/fennec/strings.py index 0d18f43..b0a5cb2 100644 --- a/gdb/fennec/strings.py +++ b/gdb/fennec/strings.py @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/gdb/fennec/utility.py b/gdb/fennec/utility.py index 1adce0b..6326f5a 100644 --- a/gdb/fennec/utility.py +++ b/gdb/fennec/utility.py @@ -1,6 +1,6 @@ # ====================================================================================================================== # fennec, a free and open source game engine -# Copyright © 2025 Medusa Slockbower +# Copyright © 2025 - 2026 Medusa Slockbower # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/include/fennec/containers/array.h b/include/fennec/containers/array.h index 5f926db..9ba65dc 100644 --- a/include/fennec/containers/array.h +++ b/include/fennec/containers/array.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file array.h +/// \file fennec/containers/array.h /// \brief A header containing the definition for a static/stack allocated array /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -148,28 +148,28 @@ public: /// /// \brief Access the first element - /// \returns A reference to the element at `elements[0]` + /// \returns A reference to the element at \f$elements[0]\f$ constexpr value_t& front() { return data[0]; } /// /// \brief Const Access the first element - /// \returns A const-qualified reference to the element at `elements[0]` + /// \returns A const-qualified reference to the element at \f$elements[0]\f$ constexpr const value_t& front() const { return data[0]; } /// /// \brief Access the first element - /// \returns A reference to the element at `elements[ElemV - 1]` + /// \returns A reference to the element at \f$elements[ElemV - 1]\f$ constexpr value_t& back() { return data[ElemV - 1]; } /// /// \brief Const Access the first element - /// \returns A const-qualified reference to the element at `elements[ElemV - 1]` + /// \returns A const-qualified reference to the element at \f$elements[ElemV - 1]\f$ constexpr const value_t& back() const { return data[ElemV - 1]; } @@ -206,14 +206,14 @@ public: /// @{ /// - /// \brief C++ Iterator Specification `begin()` + /// \brief C++ Iterator Specification \f$begin()\f$ /// \returns A pointer to the first element of the array constexpr value_t* begin() { return data; } /// - /// \brief C++ Iterator Specification `end()` + /// \brief C++ Iterator Specification \f$end()\f$ /// \returns A pointer to one after the end of the array constexpr value_t* end() { return data + ElemV; @@ -222,14 +222,14 @@ public: /// - /// \brief Const C++ Iterator Specification `begin()` + /// \brief Const C++ Iterator Specification \f$begin()\f$ /// \returns A const-qualified pointer to the first element of the array constexpr const value_t* begin() const { return data; } /// - /// \brief Const C++ Iterator Specification `end()` + /// \brief Const C++ Iterator Specification \f$end()\f$ /// \returns A const-qualified pointer to one after the end of the array constexpr const value_t* end() const { return data + ElemV; diff --git a/include/fennec/containers/bintree.h b/include/fennec/containers/bintree.h index 23f7ddc..ab4e5da 100644 --- a/include/fennec/containers/bintree.h +++ b/include/fennec/containers/bintree.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,21 +17,20 @@ // ===================================================================================================================== /// -/// \file bintree.h +/// \file fennec/containers/bintree.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// #ifndef FENNEC_CONTAINERS_BINTREE_H #define FENNEC_CONTAINERS_BINTREE_H -#include #include #include #include @@ -158,6 +157,9 @@ public: // Properties ========================================================================================================== public: + /// \name Properties + /// @{ + /// /// \returns The number of elements in the tree constexpr size_t size() const { @@ -192,6 +194,8 @@ public: return _root; } + /// @} + // Navigation ========================================================================================================== @@ -244,13 +248,13 @@ public: /// /// \details \f$O(1)\f$ /// \param i The node id - /// \returns \f$true\f$ if \f$i\f$ is the right node of `parent(i)`, \f$false\f$ otherwise + /// \returns \f$true\f$ if \f$i\f$ is the right node of \f$parent(i)\f$, \f$false\f$ otherwise constexpr bool direction(size_t i) const { return i == npos ? false : i == right(_parent(i)); } /// - /// \brief \f$O(1)\f$ + /// \details \f$O(1)\f$ /// \param i The id of the node /// \returns The id of the sibling of \f$i\f$ constexpr size_t sibling(size_t i) const { @@ -279,7 +283,7 @@ public: } /// - /// \brief \f$O(\log n)\f$ + /// \details \f$O(\log n)\f$ /// \param i The node id /// \returns The id of the left-most node of \f$i\f$ constexpr size_t left_most(size_t i) const { @@ -293,7 +297,7 @@ public: } /// - /// \brief \f$O(\log n)\f$ + /// \details \f$O(\log n)\f$ /// \param i The node id /// \returns The id of the right-most node of \f$i\f$ constexpr size_t right_most(size_t i) const { @@ -341,7 +345,6 @@ public: /// @{ /// - /// \brief Move Left Insertion, constructs a new node as the left child of \f$p\f$ /// \details If the left node of \f$p\f$ already exists, the move assignment operator is used instead /// \param p The parent node /// \param val The object to move into the new node @@ -351,7 +354,6 @@ public: } /// - /// \brief Copy Left Insertion, constructs a new node as the left child of \f$p\f$ /// \details If the left node of \f$p\f$ already exists, the copy assignment operator is used instead /// \param p The parent node /// \param val The object to copy to the new node @@ -361,7 +363,7 @@ public: } /// - /// \brief Emplace Left Insertion, constructs a new node as the left child of \f$p\f$ + /// \brief Left Insertion, constructs a new node as the left child of \f$p\f$ /// \details If the left node of \f$p\f$ already exists, the move assignment operator is used instead /// \param p The parent node /// \param args The arguments to construct the new node with @@ -372,7 +374,6 @@ public: } /// - /// \brief Move Right Insertion, constructs a new node as the right child of \f$p\f$ /// \details If the right node of \f$p\f$ already exists, the move assignment operator is used instead /// \param p The parent node /// \param val The object to move into the new node @@ -382,7 +383,6 @@ public: } /// - /// \brief Copy Right Insertion, constructs a new node as the right child of \f$p\f$ /// \details If the right node of \f$p\f$ already exists, the copy assignment operator is used instead /// \param p The parent node /// \param val The object to copy to the new node @@ -392,7 +392,7 @@ public: } /// - /// \brief Emplace Right Insertion, constructs a new node as the right child of \f$p\f$ + /// \brief Right Insertion, constructs a new node as the right child of \f$p\f$ /// \details If the right node of \f$p\f$ already exists, the move assignment operator is used instead /// \param p The parent node /// \param args The arguments to construct the new node with @@ -408,7 +408,7 @@ public: /// \brief Perform a Tree Rotation at \f$i\f$ in the specified direction /// \param sub The root node for the rotation /// \param dir The direction to rotate, \f$true\f$ for right, \f$false\f$ for left - /// \returns the new root + /// \returns the new root node constexpr size_t rotate(size_t sub, bool dir) { if (sub == npos) { return npos; @@ -434,37 +434,35 @@ public: } /// - /// \brief Move Insertion, bool d, constructs a new node as the child of \f$p\f$ /// \details If the child of \f$p\f$ already exists, the move assignment operator is used instead - /// \param p The parent node - /// \param d The direction to insert + /// \param parent The parent node + /// \param side The side to insert on /// \param val The object to move into the new node /// \returns The id of the new node - constexpr size_t insert(size_t p, bool d, value_t&& val) { - return this->_insert(p, d, fennec::forward(val)); + constexpr size_t insert(size_t parent, bool side, value_t&& val) { + return this->_insert(parent, side, fennec::forward(val)); } /// - /// \brief Copy Insertion, bool d, constructs a new node as the child of \f$p\f$ /// \details If the child of \f$p\f$ already exists, the copy assignment operator is used instead - /// \param p The parent node - /// \param d The direction to insert + /// \param parent The parent node + /// \param side The side to insert on /// \param val The object to copy to the new node /// \returns The id of the new node - constexpr size_t insert(size_t p, bool d, const value_t& val) { - return this->_insert(p, d, val); + constexpr size_t insert(size_t parent, bool side, const value_t& val) { + return this->_insert(parent, side, val); } /// - /// \brief Emplace Insertion, constructs a new node as the child of \f$p\f$ + /// \brief Insertion, constructs a new node as the child of \f$p\f$ /// \details If the child of \f$p\f$ already exists, the move assignment operator is used instead - /// \param p The parent node - /// \param d The direction to insert + /// \param parent The parent node + /// \param side The side to insert on /// \param args The arguments to construct the new node with /// \returns The id of the new node template - constexpr size_t emplace(size_t p, bool d, ArgsT&&...args) { - return this->_insert(p, d, fennec::forward(args)...); + constexpr size_t emplace(size_t parent, bool side, ArgsT&&...args) { + return this->_insert(parent, side, fennec::forward(args)...); } /// @@ -499,15 +497,18 @@ public: // Traversal =========================================================================================================== + /// \name Traversal + /// @{ + /// /// \brief Traverse the tree using a specified order and visiting functor /// /// \details - /// The visitor should accept a reference to a value of type \f$TypeT\f$ and a `size_t` which contains the node's id. + /// The visitor should accept a reference to a value of type \f$TypeT\f$ and a \f$size_t\f$ which contains the node's id. /// The visitor should return one of the following values in the `fennec::traversal_control_` enum /// /// \tparam OrderT The order with which to traverse the tree. - /// \tparam VisitorT The visitor, should fulfill the signature `uint8_t visit(TypeT&, size_t)` + /// \tparam VisitorT The visitor, should fulfill the signature \f$uint8_t visit(TypeT&, size_t)\f$ /// \param visit The visiting object /// \param i The node to start at template @@ -743,11 +744,15 @@ public: } }; + /// @} + // Iterator ============================================================================================================ + /// \name Iteration + /// @{ /// - /// \brief C++ Iterator Specification `iterator` + /// \brief C++ Iterator Specification \f$iterator\f$ /// \details Performs pre-order traversal class iterator { @@ -837,7 +842,7 @@ public: /// - /// \brief C++ Iterator Specification `iterator` + /// \brief C++ Iterator Specification \f$iterator\f$ /// \details Performs pre-order traversal class const_iterator { @@ -918,7 +923,7 @@ public: } /// - /// \brief C++ Iterator Specification `begin()` + /// \brief C++ Iterator Specification \f$begin()\f$ /// \returns an iterator at the first element in pre-order traversal const_iterator begin() const { return iterator(this, _root); @@ -931,12 +936,14 @@ public: } /// - /// \brief C++ Iterator Specification `begin()` + /// \brief C++ Iterator Specification \f$end()\f$ /// \returns an iterator at the first element in pre-order traversal const_iterator end() const { return iterator(this, _root, nullid); } + /// @} + // Fields ============================================================================================================== private: table_t _table; diff --git a/include/fennec/containers/bitfield.h b/include/fennec/containers/bitfield.h index 25bc8ee..26fb289 100644 --- a/include/fennec/containers/bitfield.h +++ b/include/fennec/containers/bitfield.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file bitfield.h +/// \file fennec/containers/bitfield.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/containers/containers.h b/include/fennec/containers/containers.h index 63070cf..5b6dcb0 100644 --- a/include/fennec/containers/containers.h +++ b/include/fennec/containers/containers.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file containers.h +/// \file fennec/containers/containers.h /// \brief fennec containers library main header /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -40,7 +40,7 @@ /// /// \code #include \endcode /// -/// \section Data Structure Properties +/// \section fennec_containers_container_section_properties Container Properties /// /// | Property | Meaning | /// |:-----------:|:----------------------------------------------------------------------------------------------:| @@ -57,7 +57,7 @@ /// | deletion | The runtime of erasing an element in the data structure, in big-O notation. | /// /// -/// \section fennec_containers_cppstdlib C++ Standard Template Library +/// \section fennec_containers_section_cppstdlib C++ Standard Template Library /// /// | Symbol | Implemented | Passed | /// |:----------------------------------------------------------------------------|:-----------:|:------:| @@ -81,7 +81,7 @@ /// | \ref fennec::variant "fennec::variant" | 🚧 | 🚧 | /// /// -/// \section fennec_containers_fennec fennec +/// \section fennec_containers_section_fennec fennec /// /// | Symbol | Implemented | Passed | /// |:-------------------------|:-----------:|:------:| @@ -90,7 +90,7 @@ /// | \ref fennec::rdtree | ✅ | ✅ | /// /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// #include diff --git a/include/fennec/containers/deque.h b/include/fennec/containers/deque.h index cb2cca1..1dfd232 100644 --- a/include/fennec/containers/deque.h +++ b/include/fennec/containers/deque.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file deque.h +/// \file fennec/containers/deque.h /// \brief A header containing the definition for a double-ended queue /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/containers/detail/_tuple.h b/include/fennec/containers/detail/_tuple.h index 434aeb0..73616cd 100644 --- a/include/fennec/containers/detail/_tuple.h +++ b/include/fennec/containers/detail/_tuple.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/containers/dynarray.h b/include/fennec/containers/dynarray.h index d881517..4c82379 100644 --- a/include/fennec/containers/dynarray.h +++ b/include/fennec/containers/dynarray.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file dynarray.h +/// \file fennec/containers/dynarray.h /// \brief A header containing the definition for a dynamically allocated array /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -200,7 +200,7 @@ public: } /// - /// \brief Conversion Constructor, copies elements of conv as this `value_t` + /// \brief Conversion Constructor, copies elements of conv as this \f$value_t\f$ /// \tparam OTypeT The other value type /// \tparam OAlloc The other allocator type /// \param conv The dynarray to convert @@ -584,7 +584,7 @@ public: constexpr TypeT* begin() { return _alloc.data(); } /// - /// \brief C++ Iterator Specification `begin()` + /// \brief C++ Iterator Specification \f$begin()\f$ /// \returns A const qualified pointer to the first element in the dynarray constexpr const TypeT* begin() const { return _alloc; } @@ -594,7 +594,7 @@ public: constexpr TypeT* end() { return begin() + _size; } /// - /// \brief C++ Iterator Specification `end()` + /// \brief C++ Iterator Specification \f$end()\f$ /// \return A const qualified pointer to the address after the last element in the dynarray constexpr const TypeT* end() const { return begin() + _size; } diff --git a/include/fennec/containers/generic.h b/include/fennec/containers/generic.h index dc501dd..df26742 100644 --- a/include/fennec/containers/generic.h +++ b/include/fennec/containers/generic.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file generic.h +/// \file fennec/containers/generic.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -227,7 +227,7 @@ public: /// /// \brief cast value /// - /// \details equivalent to `reinterpret_cast` + /// \details equivalent to \f$reinterpret_cast\f$ /// \tparam T The type to cast to /// \returns The contents of generic after having cast to \f$T\f$ template> @@ -236,7 +236,7 @@ public: } /// - /// \details equivalent to `reinterpret_cast` + /// \details equivalent to \f$reinterpret_cast\f$ /// \tparam T The type to cast to /// \returns The contents of generic after having cast to \f$T\f$ template> diff --git a/include/fennec/containers/graph.h b/include/fennec/containers/graph.h index f451fd2..d799852 100644 --- a/include/fennec/containers/graph.h +++ b/include/fennec/containers/graph.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file graph.h +/// \file fennec/containers/graph.h /// \brief A header containing the definition for a graph of vertices connected by edges /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -80,10 +80,10 @@ namespace fennec /// produce a connected graph. We will call this "disjointed" /// /// A directed graph is semi-connected if there is a directed path p for \f$u\f$ → \f$v\f$ *or* \f$v\f$ → \f$u\f$ for every -/// pair of vertices `u, v`. We will call this "unilateral" +/// pair of vertices \f$[u, v]\f$. We will call this "unilateral" /// /// A directed graph is strongly-connected if there is a directed path p for \f$u\f$ → \f$v\f$ *and* \f$v\f$ → \f$u\f$ for every pair -/// of vertices `u, v`. We will call this "connected" +/// of vertices \f$[u, v]\f$. We will call this "connected" /// /// \tparam VertexT The type associated with each vertex /// \tparam EdgeT The type associated with each edge @@ -256,9 +256,9 @@ public: } /// - /// \brief Getter for a list of vertices \f$x\f$ that \f$vertex\f$ has an edge to `x...` + /// \brief Getter for a list of vertices \f$x\f$ that \f$vertex\f$ has an edge to \f$x...\f$ /// \param vertex The id of the vertex - /// \returns A list containing all vertices \f$x\f$ with edges from \f$vertex\f$ to `x...` + /// \returns A list containing all vertices \f$x\f$ with edges from \f$vertex\f$ to \f$x...\f$ list outgoing(size_t vertex) { list res; if (is_empty() || vertex >= _edge_map.size()) { @@ -271,9 +271,9 @@ public: } /// - /// \brief Getter for a list of vertices \f$x\f$ that \f$vertex\f$ has an edge from `x...` + /// \brief Getter for a list of vertices \f$x\f$ that \f$vertex\f$ has an edge from \f$x...\f$ /// \param vertex The id of the vertex - /// \returns A list containing all vertices \f$x\f$ with edges from `x...` to \f$vertex\f$ + /// \returns A list containing all vertices \f$x\f$ with edges from \f$x...\f$ to \f$vertex\f$ list incoming(size_t vertex) { list res; if (is_empty() || vertex >= _edge_map.size()) { @@ -288,7 +288,7 @@ public: } /// - /// \brief Getter for a list of vertices \f$x\f$ that \f$vertex\f$ has an edge to and from `x...` + /// \brief Getter for a list of vertices \f$x\f$ that \f$vertex\f$ has an edge to and from \f$x...\f$ /// \param vertex The id of the vertex /// \returns A list containing all vertices \f$x\f$ that have symmetric edges with \f$vertex\f$ list symmetric(size_t vertex) { @@ -305,7 +305,7 @@ public: } /// - /// \brief Getter for a list of vertices \f$x\f$ that \f$vertex\f$ has an edge to and from `x...` and share the same value + /// \brief Getter for a list of vertices \f$x\f$ that \f$vertex\f$ has an edge to and from \f$x...\f$ and share the same value /// \details /// "Joined" edges may also be referred to as "undirected." A joined, or undirected, edge may be /// turned into a directed edge by changing the weight object associated with the edge, or by @@ -476,7 +476,7 @@ public: } /// - /// \brief Break *all* edges to and from \f$n\f$ + /// \brief Break *all* edges connected to \f$n\f$ /// \param n The vertex id void cut(size_t n) { for (const auto it : outgoing(n)) { diff --git a/include/fennec/containers/initializer_list.h b/include/fennec/containers/initializer_list.h index 38e9a5c..c7e24cd 100644 --- a/include/fennec/containers/initializer_list.h +++ b/include/fennec/containers/initializer_list.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file initializer_list.h +/// \file fennec/containers/initializer_list.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/containers/list.h b/include/fennec/containers/list.h index b6951ae..3cbfa9e 100644 --- a/include/fennec/containers/list.h +++ b/include/fennec/containers/list.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file list.h +/// \file fennec/containers/list.h /// \brief A header containing the definition for a linked list of values /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -449,7 +449,7 @@ public: } /// - /// \brief C++ Iterator Specification `end()` + /// \brief C++ Iterator Specification \f$end()\f$ /// \returns A const iterator for the first element in the list constexpr const_iterator begin() const { return const_iterator(this, _root); @@ -462,7 +462,7 @@ public: } /// - /// \brief Const C++ Iterator Specification `end()` + /// \brief Const C++ Iterator Specification \f$end()\f$ /// \returns A const iterator for the end of the list constexpr const_iterator end() const { return const_iterator(this, npos); @@ -471,7 +471,7 @@ public: /// @} /// - /// \brief C++ Iterator Specification `iterator` + /// \brief C++ Iterator Specification \f$iterator\f$ class iterator { public: /// diff --git a/include/fennec/containers/map.h b/include/fennec/containers/map.h index a3c8206..e453cf2 100644 --- a/include/fennec/containers/map.h +++ b/include/fennec/containers/map.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file map.h +/// \file fennec/containers/map.h /// \brief A header containing the definition for a mapping of keys to values /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -97,7 +97,7 @@ public: /// \brief key hash helper struct key_hash : hash_t { /// - /// \brief C++ 11 Hash Specification `operator()` + /// \brief C++ 11 Hash Specification \f$operator()\f$ /// \param p the pair to hash /// \returns the hash of the key constexpr size_t operator()(const elem_t& p) const { @@ -109,7 +109,7 @@ public: /// \brief key comparison helper struct key_equals : equality { /// - /// \brief C++ 11 Compare Specification `operator()` + /// \brief C++ 11 Compare Specification \f$operator()\f$ /// \param a the first pair /// \param b the second pair /// \returns \f$true\f$ if the keys are equal, \f$false\f$ otherwise @@ -276,7 +276,7 @@ public: /// @{ /// - /// \brief C++ Iterator Specification `begin()` + /// \brief C++ Iterator Specification \f$begin()\f$ /// \returns an iterator at the start of the map constexpr iterator begin() { return _set.begin(); @@ -284,7 +284,7 @@ public: /// - /// \brief C++ Iterator Specification `end()` + /// \brief C++ Iterator Specification \f$end()\f$ /// \returns an iterator at the end of the map constexpr iterator end() { return _set.end(); diff --git a/include/fennec/containers/object_pool.h b/include/fennec/containers/object_pool.h index 1390001..53cd78d 100644 --- a/include/fennec/containers/object_pool.h +++ b/include/fennec/containers/object_pool.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file object_pool.h +/// \file fennec/containers/object_pool.h /// \brief A header containing the definition for a pool of objects associated by ids /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -183,7 +183,7 @@ public: /// - /// \brief Emplacement, constructs a new object using `args...` + /// \brief Emplacement, constructs a new object using \f$args...\f$ /// \param args The arguments to construct the new object with /// \returns An integer corresponding to the id of the node template @@ -222,7 +222,7 @@ public: } /// - /// \brief C++ Iterator Specification `begin()` + /// \brief C++ Iterator Specification \f$begin()\f$ /// \returns an iterator at the start of the object pool const_iterator begin() const { return const_iterator(this, 0); @@ -235,14 +235,14 @@ public: } /// - /// \brief C++ Iterator Specification `end()` + /// \brief C++ Iterator Specification \f$end()\f$ /// \returns an iterator at the start of the end of the object pool const_iterator end() const { return const_iterator(this, _size); } /// - /// \brief C++ Iterator Specification `iterator` + /// \brief C++ Iterator Specification \f$iterator\f$ class iterator { public: /// @@ -340,7 +340,7 @@ public: }; /// - /// \brief C++ Iterator Specification `const_iterator` + /// \brief C++ Iterator Specification \f$const_iterator\f$ class const_iterator { public: /// diff --git a/include/fennec/containers/optional.h b/include/fennec/containers/optional.h index 6181360..a26806a 100644 --- a/include/fennec/containers/optional.h +++ b/include/fennec/containers/optional.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file optional.h +/// \file fennec/containers/optional.h /// \brief A header containing the definition for a container with an optionally present variable /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -39,15 +39,15 @@ namespace fennec { /// -/// \brief struct to represent a \f$null\f$ `optional` +/// \brief struct to represent a \f$null\f$ `fennec::optional` struct nullopt_t {}; /// -/// \brief value representing a \f$null\f$ `optional` +/// \brief value representing a \f$null\f$ `fennec::optional` constexpr nullopt_t nullopt_v = {}; /// -/// \brief alias for representing a \f$null\f$ `optional` +/// \brief alias for representing a \f$null\f$ `fennec::optional` #define nullopt nullopt_v /// diff --git a/include/fennec/containers/pair.h b/include/fennec/containers/pair.h index a608a9d..b9e53c1 100644 --- a/include/fennec/containers/pair.h +++ b/include/fennec/containers/pair.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file pair.h +/// \file fennec/containers/pair.h /// \brief A header containing the definition for a container holding a pair of values /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -208,13 +208,13 @@ struct pair { }; /// -/// \brief C++ 11 Hash Specification for `pair` +/// \brief C++ 11 Hash Specification for `fennec::pair` /// \tparam TypeT0 The first type of the pair /// \tparam TypeT1 The second type of the pair template struct hash> : hash, hash { /// - /// \brief C++ 11 Hash Specification `operator()` + /// \brief C++ 11 Hash Specification \f$operator()\f$ /// \param p The pair to hash /// \returns a pairing of the hashes of both elements of \f$p\f$ using `fennec::pair_hash` constexpr size_t operator()(const pair& p) const { diff --git a/include/fennec/containers/priority_queue.h b/include/fennec/containers/priority_queue.h index a22d6c5..196ba90 100644 --- a/include/fennec/containers/priority_queue.h +++ b/include/fennec/containers/priority_queue.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file priority_queue.h +/// \file fennec/containers/priority_queue.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/containers/rdtree.h b/include/fennec/containers/rdtree.h index 394df5c..fe07f3e 100644 --- a/include/fennec/containers/rdtree.h +++ b/include/fennec/containers/rdtree.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file rdtree.h +/// \file fennec/containers/rdtree.h /// \brief A header containing the definition for a tree with a root and directed edges /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -447,11 +447,11 @@ public: /// \brief Traverse the tree using a specified order and visiting functor /// /// \details - /// The visitor should accept a reference to a value of type \f$TypeT\f$ and a `size_t` which contains the node's id. + /// The visitor should accept a reference to a value of type \f$TypeT\f$ and a \f$size_t\f$ which contains the node's id. /// The visitor should return one of the following values in the `fennec::traversal_control_` enum /// /// \tparam OrderT The order with which to traverse the tree. - /// \tparam VisitorT The visitor, should fulfill the signature `uint8_t visit(TypeT&, size_t)` + /// \tparam VisitorT The visitor, should fulfill the signature \f$uint8_t visit(TypeT&, size_t)\f$ /// \param visit The visiting object /// \param i The node to start at template diff --git a/include/fennec/containers/sequence.h b/include/fennec/containers/sequence.h index ce200ee..1064377 100644 --- a/include/fennec/containers/sequence.h +++ b/include/fennec/containers/sequence.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file sequence.h +/// \file fennec/containers/sequence.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -241,7 +241,7 @@ public: /// @{ /// - /// \brief Value Find Function, finds the iterator position for \f$val\f$, otherwise returns `end()` + /// \brief Value Find Function, finds the iterator position for \f$val\f$, otherwise returns \f$end()\f$ /// \param val The value to find /// \returns An iterator at the value constexpr iterator find(const value_t& val) { @@ -351,7 +351,7 @@ public: } /// - /// \brief C++ Iterator Specification `begin()` + /// \brief C++ Iterator Specification \f$begin()\f$ /// \returns An iterator at the smallest element in the sequence constexpr const_iterator begin() const { return sequence::const_iterator(this, _root); @@ -364,14 +364,14 @@ public: } /// - /// \brief Const C++ Iterator Specification `end()` + /// \brief Const C++ Iterator Specification \f$end()\f$ /// \returns An iterator after the largest element in the sequence constexpr const_iterator end() const { return sequence::const_iterator(this, _root, nullptr); } /// - /// \brief C++ Iterator Specification `iterator` + /// \brief C++ Iterator Specification \f$iterator\f$ class iterator { private: sequence* _seq; @@ -470,7 +470,7 @@ public: }; /// - /// \brief C++ Iterator Specification `iterator` + /// \brief C++ Iterator Specification \f$iterator\f$ class const_iterator { private: const sequence* _seq; diff --git a/include/fennec/containers/set.h b/include/fennec/containers/set.h index a0088ad..69726f3 100644 --- a/include/fennec/containers/set.h +++ b/include/fennec/containers/set.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file set.h +/// \file fennec/containers/set.h /// \brief A header containing the definition for a set of unique values /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -362,7 +362,7 @@ public: /// @{ /// - /// \brief C++ Iterator Specification `begin()` + /// \brief C++ Iterator Specification \f$begin()\f$ /// \returns An iterator for all elements of the set in no particular order constexpr iterator begin() const { iterator it(this, 0); @@ -373,7 +373,7 @@ public: } /// - /// \brief C++ Iterator Specification `end()` + /// \brief C++ Iterator Specification \f$end()\f$ /// \returns An iterator representing the end of the set constexpr iterator end() const { return iterator(this, npos); @@ -382,7 +382,7 @@ public: /// @} /// - /// \brief C++ Iterator Specification `iterator` + /// \brief C++ Iterator Specification \f$iterator\f$ class iterator { public: /// diff --git a/include/fennec/containers/traversal.h b/include/fennec/containers/traversal.h index 7017502..826845b 100644 --- a/include/fennec/containers/traversal.h +++ b/include/fennec/containers/traversal.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file traversal.h +/// \file fennec/containers/traversal.h /// \brief a header containing constants and utilities related to traversal /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/containers/tuple.h b/include/fennec/containers/tuple.h index c90a24c..a3cebab 100644 --- a/include/fennec/containers/tuple.h +++ b/include/fennec/containers/tuple.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file tuple.h +/// \file fennec/containers/tuple.h /// \brief A header containing the definition for a container with multiple values of differing types /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/containers/variant.h b/include/fennec/containers/variant.h index c4dcaf0..22ce637 100644 --- a/include/fennec/containers/variant.h +++ b/include/fennec/containers/variant.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file variant.h +/// \file fennec/containers/variant.h /// \brief Contains the definition for a structure that holds a single value from multiple types /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -40,7 +40,7 @@ namespace fennec { /// -/// \brief A structure that represents a union between `TypesT...` +/// \brief A structure that represents a union between \f$TypesT...\f$ /// \details /// | Property | Value | /// |:-----------:|:-----------:| @@ -80,7 +80,7 @@ struct variant { // Constructors ======================================================================================================== /// - /// \brief Default Constructor, constructs the first type in `TypesT...` that is default constructible + /// \brief Default Constructor, constructs the first type in \f$TypesT...\f$ that is default constructible variant() : _bytes {} , _type(nulltype) { @@ -89,7 +89,7 @@ struct variant { } /// - /// \brief Conversion Constructor, constructs the type in `TypesT...` that is identical to \f$T\f$ + /// \brief Conversion Constructor, constructs the type in \f$TypesT...\f$ that is identical to \f$T\f$ /// or the first that is constructible with \f$T\f$ /// \tparam T The type of the value /// \param t The value to forward @@ -104,7 +104,7 @@ struct variant { } /// - /// \brief Emplace Constructor, constructs the first type in `TypesT...` that is constructible with `ArgsT...` + /// \brief Emplace Constructor, constructs a type \f$T\f$ that is in \f$TypesT...\f$ that is constructible with \f$ArgsT...\f$ /// \tparam ArgsT The arguments of the constructor /// \param args The argument values template @@ -169,7 +169,7 @@ struct variant { template variant& operator=(T&& t) { - // First, check if \f$T\f$ is in `TypesT...` + // First, check if T is in TypesT... if constexpr((contains_element_v or ...)) { using type_t = remove_reference_t; if (_type == find_element_v) { diff --git a/include/fennec/core/engine.h b/include/fennec/core/engine.h index 4acd709..5ee3944 100644 --- a/include/fennec/core/engine.h +++ b/include/fennec/core/engine.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file engine.h +/// \file fennec/core/engine.h /// \brief fennec::engine definition /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -49,7 +49,7 @@ /// 2. \ref fennec_memory "Memory Management Library" /// 2. \ref fennec_containers "Containers Library" /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -63,7 +63,7 @@ /// | \subpage fennec_containers | Implementation of common data structures, those that are specified in the C++ STD Library, and custom data structures that fennec uses. | /// /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// #ifndef FENNEC_CORE_ENGINE_H diff --git a/include/fennec/core/event.h b/include/fennec/core/event.h index 8934a78..596ba9e 100644 --- a/include/fennec/core/event.h +++ b/include/fennec/core/event.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -40,10 +40,8 @@ public: /// \param event the event to handle virtual void handle_event(event* event) = 0; -#ifndef FENNEC_DOXYGEN FENNEC_RTTI_CLASS_ENABLE() { } -#endif }; /// diff --git a/include/fennec/core/logger.h b/include/fennec/core/logger.h index 449d2ed..504dc0e 100644 --- a/include/fennec/core/logger.h +++ b/include/fennec/core/logger.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file logger.h +/// \file fennec/core/logger.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/core/system.h b/include/fennec/core/system.h index a45966a..f136842 100644 --- a/include/fennec/core/system.h +++ b/include/fennec/core/system.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/core/version.h b/include/fennec/core/version.h index 74a8204..b0969e1 100644 --- a/include/fennec/core/version.h +++ b/include/fennec/core/version.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file version.h +/// \file fennec/core/version.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/filesystem/detail/_stdio.h b/include/fennec/filesystem/detail/_stdio.h index 00ac391..3e445e6 100644 --- a/include/fennec/filesystem/detail/_stdio.h +++ b/include/fennec/filesystem/detail/_stdio.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/filesystem/file.h b/include/fennec/filesystem/file.h index fc8d3a6..626fecd 100644 --- a/include/fennec/filesystem/file.h +++ b/include/fennec/filesystem/file.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -45,13 +45,13 @@ namespace fennec /// \f$write\f$ /// Opens file as write-only, writing to end /// -/// `read | write` +/// \f$read | write\f$ /// Opens file as read-write, reading from start /// -/// `write | trunc` +/// \f$write | trunc\f$ /// Opens file as write-only, destroying contents /// -/// `read | write | trunc` +/// \f$read | write | trunc\f$ /// Opens file as read-write, destroying contents /// enum fmode_ : uint8_t diff --git a/include/fennec/filesystem/path.h b/include/fennec/filesystem/path.h index 85edf6d..b215549 100644 --- a/include/fennec/filesystem/path.h +++ b/include/fennec/filesystem/path.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -281,21 +281,21 @@ public: // Iterator ============================================================================================================ /// - /// \brief C++ Iterator Specification `begin()` + /// \brief C++ Iterator Specification \f$begin()\f$ /// \returns an iterator at the first filename in the path iterator begin() const { return iterator(this, 0); } /// - /// \brief C++ Iterator Specification `end()` + /// \brief C++ Iterator Specification \f$end()\f$ /// \returns an iterator to the end of the path iterator end() const { return iterator(this, _str.size()); } /// - /// \brief C++ Iterator Specification `iterator` + /// \brief C++ Iterator Specification \f$iterator\f$ class iterator { public: /// diff --git a/include/fennec/format/charconv.h b/include/fennec/format/charconv.h index 9c16853..15f3f40 100644 --- a/include/fennec/format/charconv.h +++ b/include/fennec/format/charconv.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file charconv.h +/// \file fennec/format/charconv.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/format/detail/_format.h b/include/fennec/format/detail/_format.h index fd04183..5926406 100644 --- a/include/fennec/format/detail/_format.h +++ b/include/fennec/format/detail/_format.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,18 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file _format.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - #ifndef FENNEC_FORMAT_DETAIL_FORMAT_H #define FENNEC_FORMAT_DETAIL_FORMAT_H diff --git a/include/fennec/format/format.h b/include/fennec/format/format.h index d60366c..0b6cf05 100644 --- a/include/fennec/format/format.h +++ b/include/fennec/format/format.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file format.h +/// \file fennec/format/format.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/format/format_arg.h b/include/fennec/format/format_arg.h index a012b4e..5fc6ea1 100644 --- a/include/fennec/format/format_arg.h +++ b/include/fennec/format/format_arg.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file format_arg.h +/// \file fennec/format/format_arg.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/format/formatter.h b/include/fennec/format/formatter.h index e13bfe9..e9f25cb 100644 --- a/include/fennec/format/formatter.h +++ b/include/fennec/format/formatter.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file formatter.h +/// \file fennec/format/formatter.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/interpret/tokenizer.h b/include/fennec/interpret/tokenizer.h index c7f1bd8..2558269 100644 --- a/include/fennec/interpret/tokenizer.h +++ b/include/fennec/interpret/tokenizer.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file tokenizer.h +/// \file fennec/interpret/tokenizer.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/assert.h b/include/fennec/lang/assert.h index 2fa4c00..9f4bf88 100644 --- a/include/fennec/lang/assert.h +++ b/include/fennec/lang/assert.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file assert.h +/// \file fennec/lang/assert.h /// \brief \ref fennec_lang_assert /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/bits.h b/include/fennec/lang/bits.h index f9e6966..fe5b871 100644 --- a/include/fennec/lang/bits.h +++ b/include/fennec/lang/bits.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file bits.h +/// \file fennec/lang/bits.h /// \brief \ref fennec_lang_bit_manipulation /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/compare.h b/include/fennec/lang/compare.h index f4d1c51..bfa5cca 100644 --- a/include/fennec/lang/compare.h +++ b/include/fennec/lang/compare.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -161,7 +161,7 @@ struct inequality { // less ================================================================================================================ /// -/// \brief Struct to test if a value of type `T0` is less than a value of type `T1` +/// \brief Struct to test if a value of type \f$T0\f$ is less than a value of type \f$T1\f$ /// \tparam T0 The first type /// \tparam T1 The second type template requires has_less_v @@ -180,7 +180,7 @@ struct less { // less_equal ========================================================================================================== /// -/// \brief Struct to test if a value of type `T0` is less than or equal to a value of type `T1` +/// \brief Struct to test if a value of type \f$T0\f$ is less than or equal to a value of type \f$T1\f$ /// \tparam T0 The first type /// \tparam T1 The second type template requires has_less_equals_v @@ -199,7 +199,7 @@ struct less_equals { // greater ============================================================================================================= /// -/// \brief Struct to test if a value of type `T0` is greater than a value of type `T1` +/// \brief Struct to test if a value of type \f$T0\f$ is greater than a value of type \f$T1\f$ /// \tparam T0 The first type /// \tparam T1 The second type template requires has_greater_v @@ -218,7 +218,7 @@ struct greater { // less_equal ========================================================================================================== /// -/// \brief Struct to test if a value of type `T0` is greater than or equal to a value of type `T1` +/// \brief Struct to test if a value of type \f$T0\f$ is greater than or equal to a value of type \f$T1\f$ /// \tparam T0 The first type /// \tparam T1 The second type template requires has_greater_equals_v diff --git a/include/fennec/lang/conditional_types.h b/include/fennec/lang/conditional_types.h index baa9cc5..cbf7dc2 100644 --- a/include/fennec/lang/conditional_types.h +++ b/include/fennec/lang/conditional_types.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file conditional_types.h +/// \file fennec/lang/conditional_types.h /// \brief \ref fennec_lang_conditional_types /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -75,7 +75,7 @@ namespace fennec /// \brief select between two types based on a condition /// /// \details Selects between \p TrueT and \p FalseT based on the boolean value \p b. -/// The chosen type is stored in `conditional::type`. +/// The chosen type is stored in `fennec::conditional::type`. /// \tparam B the value of the condition /// \tparam TrueT type to use when \f$B == true\f$ /// \tparam FalseT type to use when \f$B == false\f$ @@ -84,7 +84,7 @@ struct conditional; /// -/// \brief Shorthand for ```typename conditional::type``` +/// \brief Shorthand for `typename fennec::conditional::type` template using conditional_t = typename conditional::type; @@ -103,13 +103,13 @@ struct conditional : type_identity{}; // fennec::detect ====================================================================================================== /// -/// \brief Detect whether `DetectT` is a valid type +/// \brief Detect whether \f$DetectT\f$ is a valid type /// -/// \details Selects `DetectT` if it exists, otherwise selects \f$DefaultT\f$ The chosen type is stored in `detect::type` and -/// a boolean value is stored in `detect::is_detected` representing whether `DetectT` is found. +/// \details Selects \f$DetectT\f$ if it exists, otherwise selects \f$DefaultT\f$ The chosen type is stored in `fennec::detect::type` and +/// a boolean value is stored in `fennec::detect::is_detected` representing whether \f$DetectT\f$ is found. /// \tparam DefaultT Default type /// \tparam DetectT Type to detect -/// \tparam ArgsT Any template arguments for `DetectT` +/// \tparam ArgsT Any template arguments for \f$DetectT\f$ template typename DetectT, typename...ArgsT> struct detect { @@ -118,7 +118,7 @@ struct detect }; /// -/// \brief Shorthand for ```typename detect::type``` +/// \brief Shorthand for `typename fennec::detect::type` template typename DetectT, typename...ArgsT> using detect_t = typename detect::type; @@ -154,7 +154,7 @@ template struct enable_if {}; /// -/// \brief Shorthand for ```typename enable_if::type``` +/// \brief Shorthand for `typename fennec::enable_if::type` template using enable_if_t = typename enable_if::type; diff --git a/include/fennec/lang/constants.h b/include/fennec/lang/constants.h index 1535ed4..375eef1 100644 --- a/include/fennec/lang/constants.h +++ b/include/fennec/lang/constants.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file constants.h +/// \file fennec/lang/constants.h /// \brief \ref fennec_lang_constants /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/declval.h b/include/fennec/lang/declval.h index fbcee61..5269279 100644 --- a/include/fennec/lang/declval.h +++ b/include/fennec/lang/declval.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file declval.h +/// \file fennec/lang/declval.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/detail/_bits.h b/include/fennec/lang/detail/_bits.h index 5732a9e..74a44d3 100644 --- a/include/fennec/lang/detail/_bits.h +++ b/include/fennec/lang/detail/_bits.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/lang/detail/_declval.h b/include/fennec/lang/detail/_declval.h index 4f3f6b6..f6ae47a 100644 --- a/include/fennec/lang/detail/_declval.h +++ b/include/fennec/lang/detail/_declval.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,18 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file _declval.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - #ifndef FENNEC_LANG_DETAIL_DECLVAL_H #define FENNEC_LANG_DETAIL_DECLVAL_H diff --git a/include/fennec/lang/detail/_function.h b/include/fennec/lang/detail/_function.h index 5069dc5..54d0afa 100644 --- a/include/fennec/lang/detail/_function.h +++ b/include/fennec/lang/detail/_function.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,18 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file _function.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - #ifndef FENNEC_LANG_DETAIL_FUNCTION_H #define FENNEC_LANG_DETAIL_FUNCTION_H diff --git a/include/fennec/lang/detail/_int.h b/include/fennec/lang/detail/_int.h index 85195a2..c5e4a8f 100644 --- a/include/fennec/lang/detail/_int.h +++ b/include/fennec/lang/detail/_int.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/lang/detail/_numeric_transforms.h b/include/fennec/lang/detail/_numeric_transforms.h index 64880f9..10dbd99 100644 --- a/include/fennec/lang/detail/_numeric_transforms.h +++ b/include/fennec/lang/detail/_numeric_transforms.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/lang/detail/_stdlib.h b/include/fennec/lang/detail/_stdlib.h index 4614f96..58ddc85 100644 --- a/include/fennec/lang/detail/_stdlib.h +++ b/include/fennec/lang/detail/_stdlib.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/lang/detail/_type_sequences.h b/include/fennec/lang/detail/_type_sequences.h index 3c0afe7..7270f22 100644 --- a/include/fennec/lang/detail/_type_sequences.h +++ b/include/fennec/lang/detail/_type_sequences.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/lang/detail/_type_traits.h b/include/fennec/lang/detail/_type_traits.h index a025c17..9924225 100644 --- a/include/fennec/lang/detail/_type_traits.h +++ b/include/fennec/lang/detail/_type_traits.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/lang/detail/_type_transforms.h b/include/fennec/lang/detail/_type_transforms.h index 6e7c776..e5012d4 100644 --- a/include/fennec/lang/detail/_type_transforms.h +++ b/include/fennec/lang/detail/_type_transforms.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/lang/float.h b/include/fennec/lang/float.h index 1cca5dd..1b53c7f 100644 --- a/include/fennec/lang/float.h +++ b/include/fennec/lang/float.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,13 +17,13 @@ // ===================================================================================================================== /// -/// \file float.h +/// \file fennec/lang/float.h /// \brief metaprogramming floating point type info /// /// /// \details this file is automatically generated for the current build environment /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/function.h b/include/fennec/lang/function.h index 9a44a6e..4e310c4 100644 --- a/include/fennec/lang/function.h +++ b/include/fennec/lang/function.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file function.h +/// \file fennec/lang/function.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/hashing.h b/include/fennec/lang/hashing.h index 0700e98..1c13ded 100644 --- a/include/fennec/lang/hashing.h +++ b/include/fennec/lang/hashing.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/lang/integer.h b/include/fennec/lang/integer.h index 99ca549..fe9861f 100644 --- a/include/fennec/lang/integer.h +++ b/include/fennec/lang/integer.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,13 +17,13 @@ // ===================================================================================================================== /// -/// \file integer.h +/// \file fennec/lang/integer.h /// \brief metaprogramming integer type info /// /// /// \details this file is automatically generated for the current build environment /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/intrinsics.h b/include/fennec/lang/intrinsics.h index e4614f7..8d1f7b7 100644 --- a/include/fennec/lang/intrinsics.h +++ b/include/fennec/lang/intrinsics.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,10 +17,10 @@ // ===================================================================================================================== /// -/// \file intrinsics.h +/// \file fennec/lang/intrinsics.h /// \brief \ref fennec_lang_intrinsics /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -40,59 +40,59 @@ /// Syntax /// Description ///
-/// `FENNEC_HAS_BUILTIN_BIT_CAST`
-/// `Y FENNEC_BUILTIN_BIT_CAST(X)` +/// \f$FENNEC_HAS_BUILTIN_BIT_CAST\f$
+/// \f$Y FENNEC_BUILTIN_BIT_CAST(X)\f$ /// -/// An intrinsic for doing a bitwise cast without using `reinterpret_cast`. +/// An intrinsic for doing a bitwise cast without using \f$reinterpret_cast\f$. /// ///
-/// `FENNEC_HAS_BUILTIN_ADDRESSOF`
-/// `Y FENNEC_BUILTIN_ADDRESSOF(X)` +/// \f$FENNEC_HAS_BUILTIN_ADDRESSOF\f$
+/// \f$Y FENNEC_BUILTIN_ADDRESSOF(X)\f$ /// -/// Obtains the true address of an object in circumstances where `operator&` is overloaded. +/// Obtains the true address of an object in circumstances where \f$operator&\f$ is overloaded. /// ///
-/// `FENNEC_HAS_BUILTIN_IS_CONVERTIBLE`
-/// `B FENNEC_BUILTIN_IS_CONVERTIBLE(X, Y)` +/// \f$FENNEC_HAS_BUILTIN_IS_CONVERTIBLE\f$
+/// \f$B FENNEC_BUILTIN_IS_CONVERTIBLE(X, Y)\f$ /// /// Checks if type \f$X\f$ can be converted to type \f$Y\f$. /// ///
-/// `FENNEC_HAS_BUILTIN_IS_EMPTY`
-/// `B FENNEC_BUILTIN_IS_EMPTY(X)` +/// \f$FENNEC_HAS_BUILTIN_IS_EMPTY\f$
+/// \f$B FENNEC_BUILTIN_IS_EMPTY(X)\f$ /// /// Checks if type \f$X\f$ stores no data. /// ///
-/// `FENNEC_HAS_BUILTIN_IS_POLYMORPHIC`
-/// `B FENNEC_BUILTIN_IS_POLYMORPHIC(X)` +/// \f$FENNEC_HAS_BUILTIN_IS_POLYMORPHIC\f$
+/// \f$B FENNEC_BUILTIN_IS_POLYMORPHIC(X)\f$ /// /// Checks if type \f$X\f$ is polymorphic, this is for classes only thus checks only for subtyping /// ///
-/// `FENNEC_HAS_BUILTIN_IS_FINAL`
-/// `B FENNEC_BUILTIN_IS_FINAL(X)` +/// \f$FENNEC_HAS_BUILTIN_IS_FINAL\f$
+/// \f$B FENNEC_BUILTIN_IS_FINAL(X)\f$ /// /// Checks if type \f$X\f$ is final, meaning a function or class cannot be derived from. /// ///
-/// `FENNEC_HAS_BUILTIN_IS_ABSTRACT`
-/// `B FENNEC_BUILTIN_IS_ABSTRACT(X)` +/// \f$FENNEC_HAS_BUILTIN_IS_ABSTRACT\f$
+/// \f$B FENNEC_BUILTIN_IS_ABSTRACT(X)\f$ /// -/// Opposite of `FENNEC_BUILTIN_IS_FINAL`, checks if abstract, meaning \f$X\f$ has at least one pure virtual function. +/// Opposite of \f$FENNEC_BUILTIN_IS_FINAL\f$, checks if abstract, meaning \f$X\f$ has at least one pure virtual function. /// ///
-/// `FENNEC_HAS_BUILTIN_IS_STANDARD_LAYOUT`
-/// `B FENNEC_BUILTIN_IS_STANDARD_LAYOUT(X)` +/// \f$FENNEC_HAS_BUILTIN_IS_STANDARD_LAYOUT\f$
+/// \f$B FENNEC_BUILTIN_IS_STANDARD_LAYOUT(X)\f$ /// /// Checks if \f$X\f$ has a standard layout, here is [full criteria](https://www.cppreference.com/w/cpp/language/classes.html#Standard-layout_class) /// for this trait /// ///
-/// `FENNEC_HAS_BUILTIN_IS_CONSTRUCTIBLE`
-/// `B FENNEC_BUILTIN_IS_CONSTRUCTIBLE(X, ...)` +/// \f$FENNEC_HAS_BUILTIN_IS_CONSTRUCTIBLE\f$
+/// \f$B FENNEC_BUILTIN_IS_CONSTRUCTIBLE(X, ...)\f$ /// -/// Checks if type \f$X\f$ is constructible with args `...`, such that `X::X(...)` exists. +/// Checks if type \f$X\f$ is constructible with args \f$...\f$, such that \f$X::X(...)\f$ exists. /// /// /// diff --git a/include/fennec/lang/lang.h b/include/fennec/lang/lang.h index 52e0754..71f5feb 100644 --- a/include/fennec/lang/lang.h +++ b/include/fennec/lang/lang.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file lang.h +/// \file fennec/lang/lang.h /// \brief \ref fennec_lang /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/limits.h b/include/fennec/lang/limits.h index 428954a..288f235 100644 --- a/include/fennec/lang/limits.h +++ b/include/fennec/lang/limits.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file limits.h +/// \file fennec/lang/limits.h /// \brief \ref fennec_lang_limits /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/metaprogramming.h b/include/fennec/lang/metaprogramming.h index 9e4c436..8406662 100644 --- a/include/fennec/lang/metaprogramming.h +++ b/include/fennec/lang/metaprogramming.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file metaprogramming.h +/// \file fennec/lang/metaprogramming.h /// \brief \ref fennec_lang /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/metasequences.h b/include/fennec/lang/metasequences.h index 2f82c26..9a5df0d 100644 --- a/include/fennec/lang/metasequences.h +++ b/include/fennec/lang/metasequences.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file metasequences.h +/// \file fennec/lang/metasequences.h /// \brief \ref fennec_lang_metasequences /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -116,7 +116,7 @@ template struct metasequence /// \brief metaprogramming integral metasequence /// /// \details A `fennec::metasequence` specialized integer types. -/// \tparam IntT type of the values, must satisfy ```fennec::is_integral``` +/// \tparam IntT type of the values, must satisfy `fennec::is_integral` /// \tparam Values sequence values template requires(is_integral_v) struct integer_metasequence : metasequence @@ -141,12 +141,12 @@ struct integer_metasequence : metasequence /// \brief generate a fennec::integer_metasequence \f$\left[\,0\,\ldots\,N\,\right)\f$ /// /// \details -/// \tparam IntT type of the values, must satisfy ```fennec::is_integral``` +/// \tparam IntT type of the values, must satisfy `fennec::is_integral` /// \tparam N size of the metasequence to generate template struct make_integer_metasequence; /// -/// \brief shorthand for ```typename make_integer_sequence::type``` +/// \brief shorthand for `typename fennec::make_integer_sequence::type` template using make_integer_metasequence_t = typename make_integer_metasequence::type; @@ -180,12 +180,12 @@ template struct index_metasequence : integer_metasequence``` +/// \tparam T type of the values, must satisfy `fennec::is_integral` /// \tparam N size of the sequence to generate template struct make_index_metasequence; /// -/// \brief shorthand for ```typename make_index_metasequence::type``` +/// \brief shorthand for `typename fennec::make_index_metasequence::type` template using make_index_metasequence_t = typename make_index_metasequence::type; @@ -201,7 +201,7 @@ template using make_index_metasequence_t = typename make_index_metase template struct concat_metasequence; /// -/// \brief shorthand for ```typename concat_metasequence::type``` +/// \brief shorthand for `typename fennec::concat_metasequence::type` template using concat_metasequence_t = typename concat_metasequence::type; diff --git a/include/fennec/lang/numeric_transforms.h b/include/fennec/lang/numeric_transforms.h index be636ed..42d2682 100644 --- a/include/fennec/lang/numeric_transforms.h +++ b/include/fennec/lang/numeric_transforms.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file numeric_transforms.h +/// \file fennec/lang/numeric_transforms.h /// \brief \ref fennec_lang_numeric_transforms /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// #ifndef FENNEC_LANG_NUMERIC_TRANSFORMS_H diff --git a/include/fennec/lang/ranges.h b/include/fennec/lang/ranges.h index 65f7380..098e4f7 100644 --- a/include/fennec/lang/ranges.h +++ b/include/fennec/lang/ranges.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file ranges.h +/// \file fennec/lang/ranges.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -37,7 +37,7 @@ namespace fennec { /// -/// \brief C++ Iterator Specification `begin()` +/// \brief C++ Iterator Specification \f$begin()\f$ /// \tparam ContainerT the container type /// \param c the container to iterate on /// \returns an iterator at the start of the container @@ -47,7 +47,7 @@ inline constexpr auto begin(ContainerT& c) noexcept(noexcept(c.begin())) -> decl } /// -/// \brief C++ Iterator Specification `begin()` +/// \brief C++ Iterator Specification \f$begin()\f$ /// \tparam ContainerT the container type /// \param c the container to iterate on /// \returns an iterator at the start of the container @@ -57,7 +57,7 @@ inline constexpr auto begin(const ContainerT& c) noexcept(noexcept(c.begin())) - } /// -/// \brief C++ Iterator Specification `begin()` +/// \brief C++ Iterator Specification \f$begin()\f$ /// \tparam T the element type /// \tparam N the bounds of the array /// \param arr a bounded array to iterate on @@ -69,7 +69,7 @@ inline constexpr T* begin(T (&arr)[N]) noexcept { /// -/// \brief C++ Iterator Specification `end()` +/// \brief C++ Iterator Specification \f$end()\f$ /// \tparam ContainerT the container type /// \param c the container to iterate on /// \returns an iterator at the end of the container @@ -79,7 +79,7 @@ inline constexpr auto end(ContainerT& c) noexcept(noexcept(c.end())) -> decltype } /// -/// \brief C++ Iterator Specification `end()` +/// \brief C++ Iterator Specification \f$end()\f$ /// \tparam ContainerT the container type /// \param c the container to iterate on /// \returns an iterator at the end of the container @@ -89,7 +89,7 @@ inline constexpr auto end(const ContainerT& c) noexcept(noexcept(c.end())) -> de } /// -/// \brief C++ Iterator Specification `end()` +/// \brief C++ Iterator Specification \f$end()\f$ /// \tparam T the element type /// \tparam N the bounds of the array /// \param arr a bounded array to iterate on diff --git a/include/fennec/lang/static_constructor.h b/include/fennec/lang/static_constructor.h index 5b908e3..e52c983 100644 --- a/include/fennec/lang/static_constructor.h +++ b/include/fennec/lang/static_constructor.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/lang/type_identity.h b/include/fennec/lang/type_identity.h index cf0e419..00f2560 100644 --- a/include/fennec/lang/type_identity.h +++ b/include/fennec/lang/type_identity.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/lang/type_operators.h b/include/fennec/lang/type_operators.h index 40d67af..3a7cc37 100644 --- a/include/fennec/lang/type_operators.h +++ b/include/fennec/lang/type_operators.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/lang/type_sequences.h b/include/fennec/lang/type_sequences.h index 25a69c7..b0707c0 100644 --- a/include/fennec/lang/type_sequences.h +++ b/include/fennec/lang/type_sequences.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file type_sequences.h +/// \file fennec/lang/type_sequences.h /// \brief \ref fennec_lang_type_sequences /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/type_traits.h b/include/fennec/lang/type_traits.h index 51cfd83..59262dc 100644 --- a/include/fennec/lang/type_traits.h +++ b/include/fennec/lang/type_traits.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------------------------------------------------------- // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // --------------------------------------------------------------------------------------------------------------------- /// -/// \file type_traits.h +/// \file fennec/lang/type_traits.h /// \brief \ref fennec_lang_type_traits /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/type_transforms.h b/include/fennec/lang/type_transforms.h index 1962633..7442664 100644 --- a/include/fennec/lang/type_transforms.h +++ b/include/fennec/lang/type_transforms.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file type_transforms.h +/// \file fennec/lang/type_transforms.h /// \brief \ref fennec_lang_type_transforms /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -44,8 +44,22 @@ /// /// \code #include \endcode /// +/// \section fennec_lang_type_transforms_section_decay_conversions Decay Conversions /// -/// +///
+///
Syntax +/// Description +///

+/// \ref fennec::decay "decay::type"
+/// \ref fennec::decay_t "decay_t" +///
+/// \copydetails fennec::decay +/// +///
+/// +/// \section fennec_lang_type_transforms_section_pointer_conversions Pointer Conversions +/// +/// ///
Syntax /// Description ///

@@ -61,17 +75,49 @@ /// \copydetails fennec::remove_pointer /// ///

+/// \ref fennec::strip_pointers "strip_pointers::type"
+/// \ref fennec::strip_pointers_t "strip_pointers" +///
+/// \copydetails fennec::strip_pointers +/// +///
+/// +/// \section fennec_lang_type_transforms_section_reference_conversions Reference Conversions +/// +/// +///
Syntax +/// Description +///

/// \ref fennec::add_reference "add_reference::type"
/// \ref fennec::add_reference_t "add_reference_t" ///
/// \copydetails fennec::add_reference /// ///

+/// \ref fennec::add_lvalue_reference "add_lvalue_reference::type"
+/// \ref fennec::add_lvalue_reference_t "add_lvalue_reference_t" +///
+/// \copydetails fennec::add_lvalue_reference +/// +///

+/// \ref fennec::add_rvalue_reference "add_rvalue_reference::type"
+/// \ref fennec::add_rvalue_reference_t "add_rvalue_reference_t" +///
+/// \copydetails fennec::add_rvalue_reference +/// +///

/// \ref fennec::remove_reference "remove_reference::type"
/// \ref fennec::remove_reference_t "remove_reference_t" ///
/// \copydetails fennec::remove_reference /// +///
+/// +/// \section fennec_lang_type_transforms_section_cv_conversions Const — Volatile Conversions +/// +/// +///
Syntax +/// Description ///

/// \ref fennec::add_const "add_const::type"
/// \ref fennec::add_const_t "add_const_t" @@ -120,6 +166,12 @@ ///
/// \copydetails fennec::remove_cvref /// +///

+/// \ref fennec::remove_cvrefptr "remove_cvrefptr::type"
+/// \ref fennec::remove_cvrefptr_t "remove_cvrefptr_t" +///
+/// \copydetails fennec::remove_cvrefptr +/// ///
/// @@ -142,9 +194,9 @@ template using decay_t = typename decay::type; // Pointer Conversions ================================================================================================= /// -/// \brief adds a pointer level to \p T +/// \brief adds a pointer level to \f$T\f$ /// -/// \details adds a pointer to the provided type such that \f$T\f$ becomes `T*` +/// \details adds a pointer to the provided type such that \f$T\f$ becomes \f$T*\f$ /// \tparam T Resultant Type template struct add_pointer : detail::_add_pointer{}; @@ -154,9 +206,9 @@ template using add_pointer_t = typename add_pointer::type; /// -/// \brief removes a pointer level from \p T +/// \brief removes a pointer level from \f$T\f$ /// -/// \details removes a pointer from the provided type such that `T*` becomes \f$T\f$ +/// \details removes a pointer from the provided type such that \f$T*\f$ becomes \f$T\f$ /// \tparam T Resultant Type template struct remove_pointer : detail::_remove_pointer {}; @@ -166,9 +218,9 @@ template using remove_pointer_t = typename remove_pointer::type; /// -/// \brief removes all pointer levels from \p T +/// \brief removes all pointer levels from \f$T\f$ /// -/// \details removes all pointers from the provided type such that `T*`, `T**`, etc. becomes \f$T\f$ +/// \details removes all pointers from the provided type such that \f$T*\f$, \f$T**\f$, etc. becomes \f$T\f$ /// \tparam T Resultant Type template struct strip_pointers : conditional_t< detail::_is_pointer::value, @@ -185,155 +237,155 @@ template using strip_pointers_t = strip_pointers::type; // Reference Conversions =============================================================================================== /// -/// \brief add a reference to \p T +/// \brief add a reference to \f$T\f$ /// -/// \details adds a pointer to the provided type such that \f$T\f$ becomes `T&` +/// \details adds a pointer to the provided type such that \f$T\f$ becomes \f$T\&\f$ /// \tparam T Resultant Type template struct add_reference : type_identity {}; /// -/// \brief shorthand for `typename add_reference::type` +/// \brief shorthand for `typename fennec::add_reference::type` template using add_reference_t = typename add_reference::type; /// -/// \brief remove a reference from \p T +/// \brief add a lvalue reference to \f$T\f$ /// -/// \details removes references from the provided type such that `T&` and `T&&` become \f$T\f$ -/// \tparam T Reference Type -template struct remove_reference : type_identity {}; - -// specialization for `T&` -template struct remove_reference : type_identity {}; - -// specialization for `T&&` -template struct remove_reference : type_identity {}; - -/// -/// \brief shorthand for `typename remove_reference::type` -template using remove_reference_t = typename remove_reference::type; - - -/// -/// \brief add a lvalue reference to \p T -/// -/// \details adds a lvalue reference to the provided type such that 'T' becomes 'T&' +/// \details adds a lvalue reference to the provided type such that \f$T\f$ becomes \f$T\&\f$ /// \tparam T Reference Type template struct add_lvalue_reference : detail::_add_lvalue_reference {}; /// -/// \brief shorthand for `typename remove_reference::type` +/// \brief shorthand for `typename fennec::add_lvalue_reference::type` template using add_lvalue_reference_t = typename add_lvalue_reference::type; /// -/// \brief add a rvalue reference to \p T +/// \brief add a rvalue reference to \f$T\f$ /// -/// \details adds a rvalue reference to the provided type such that 'T' becomes 'T&&' +/// \details adds a rvalue reference to the provided type such that \f$T\f$ becomes \f$T\&\&\f$ /// \tparam T Reference Type template struct add_rvalue_reference : detail::_add_rvalue_reference {}; /// -/// \brief shorthand for `typename remove_reference::type` +/// \brief shorthand for `typename fennec::add_rvalue_reference::type` template using add_rvalue_reference_t = typename add_rvalue_reference::type; +/// +/// \brief remove a reference from \f$T\f$ +/// +/// \details removes references from the provided type such that \f$T\&\f$ and \f$T\&\&\f$ become \f$T\f$ +/// \tparam T Reference Type +template struct remove_reference : type_identity {}; + +// specialization for T& +template struct remove_reference : type_identity {}; + +// specialization for T&& +template struct remove_reference : type_identity {}; + +/// +/// \brief shorthand for `typename fennec::remove_reference::type` +template using remove_reference_t = typename remove_reference::type; + + // Const & Volatile Conversions ======================================================================================== /// -/// \brief add the const qualifier to the provided type \p T +/// \brief add the const qualifier to the provided type \f$T\f$ /// -/// \details adds const qualification to the provided type such that \f$T\f$ becomes `const T` +/// \details adds const qualification to the provided type such that \f$T\f$ becomes \f$const\quad T\f$ /// \tparam T Reference Type template struct add_const : detail::_add_const {}; /// -/// \brief shorthand for `typename add_const::type` +/// \brief shorthand for `typename fennec::add_const::type` template using add_const_t = typename add_const::type; /// -/// \brief remove the const qualifier from the provided type \p T +/// \brief remove the const qualifier from the provided type \f$T\f$ /// -/// \details removes const qualification from the provided type such that `const T` becomes \f$T\f$ +/// \details removes const qualification from the provided type such that \f$const\quad T\f$ becomes \f$T\f$ /// \tparam T Reference Type template struct remove_const : detail::_remove_const {}; /// -/// \brief shorthand for `typename remove_const::type` +/// \brief shorthand for `typename fennec::remove_const::type` template using remove_const_t = typename remove_const::type; /// -/// \brief add the volatile qualifier to the provided type \p T +/// \brief add the volatile qualifier to the provided type \f$T\f$ /// -/// \details removes references from the provided type such that \f$T\f$ becomes `volatile T` +/// \details removes references from the provided type such that \f$T\f$ becomes \f$volatile\quad T\f$ /// \tparam T Reference Type template struct add_volatile : detail::_add_volatile {}; /// -/// \brief shorthand for `typename add_volatile::type` +/// \brief shorthand for `typename fennec::add_volatile::type` template using add_volatile_t = typename add_volatile::type; /// -/// \brief remove the volatile qualifier from the provided type \p T +/// \brief remove the volatile qualifier from the provided type \f$T\f$ /// -/// \details removes references from the provided type such that `volatile T` becomes \f$T\f$ +/// \details removes references from the provided type such that \f$volatile\quad T\f$ becomes \f$T\f$ /// \tparam T Reference Type template struct remove_volatile : detail::_remove_volatile {}; /// -/// \brief shorthand for `typename remove_volatile::type` +/// \brief shorthand for `typename fennec::remove_volatile::type` template using remove_volatile_t = typename remove_volatile::type; /// -/// \brief remove the volatile qualifier from the provided type \p T +/// \brief remove the volatile qualifier from the provided type \f$T\f$ /// -/// \details removes references from the provided type such that \f$T\f$, `const T`, and `volatile T` become -/// `const volatile T` +/// \details removes references from the provided type such that \f$T\f$, \f$const\quad T\f$, and \f$volatile\quad T\f$ +/// become \f$const volatile T\f$ /// \tparam T Reference Type template struct add_cv : detail::_add_cv {}; /// -/// \brief shorthand for `typename add_cv::type` +/// \brief shorthand for `typename fennec::add_cv::type` template using add_cv_t = typename add_cv::type; /// -/// \brief remove the const and volatile qualifiers from the provided type \p T +/// \brief remove the const and volatile qualifiers from the provided type \f$T\f$ /// -/// \details removes const and volatile from the provided type such that `const T`, `volatile T`, and -/// `const volatile T` become \f$T\f$ +/// \details removes const and volatile from the provided type such that \f$const\quad T\f$, \f$volatile\quad T\f$, and +/// \f$const\quad volatile\quad T\f$ become \f$T\f$ /// \tparam T Reference Type template struct remove_cv : detail::_remove_cv {}; /// -/// \brief shorthand for `typename remove_cv::type` +/// \brief shorthand for `typename fennec::remove_cv::type` template using remove_cv_t = typename remove_cv::type; /// -/// \brief add a reference and the const volatile qualifiers from the provided type \p T +/// \brief add a reference and the const volatile qualifiers from the provided type \f$T\f$ /// /// \details adds references and const volatile qualifiers to the provided type. /// \tparam T Reference Type template struct add_cvref : type_identity>> {}; /// -/// \brief shorthand for `typename add_cvr::type` +/// \brief shorthand for `typename fennec::add_cvr::type` template using add_cvref_t = typename add_cvref::type; /// -/// \brief removes references as well as the const and volatile qualifiers from the provided type \p T +/// \brief removes references as well as the const and volatile qualifiers from the provided type \f$T\f$ /// /// \details removes const and volatile from the provided type such that /// \tparam T Reference Type @@ -341,13 +393,13 @@ template struct remove_cvref : type_identity::type` +/// \brief shorthand for `typename fennec::remove_cvr::type` template using remove_cvref_t = typename remove_cvref::type; /// -/// \brief removes references and pointers as well as the const and volatile qualifiers from the provided type \p T +/// \brief removes references and pointers as well as the const and volatile qualifiers from the provided type \f$T\f$ /// /// \details removes const and volatile from the provided type such that /// \tparam T Reference Type @@ -355,7 +407,7 @@ template struct remove_cvrefptr : type_identity::type` +/// \brief shorthand for `typename fennec::remove_cvrp_t::type` template using remove_cvrefptr_t = typename remove_cvrefptr::type; } diff --git a/include/fennec/lang/types.h b/include/fennec/lang/types.h index 861c35b..356a8da 100644 --- a/include/fennec/lang/types.h +++ b/include/fennec/lang/types.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file types.h +/// \file fennec/lang/types.h /// \brief \ref fennec_lang_types /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/lang/utility.h b/include/fennec/lang/utility.h index ac98373..becf5f2 100644 --- a/include/fennec/lang/utility.h +++ b/include/fennec/lang/utility.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file utility.h +/// \file fennec/lang/utility.h /// \brief \ref fennec_lang_utility /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/math/common.h b/include/fennec/math/common.h index 579007d..35d55df 100644 --- a/include/fennec/math/common.h +++ b/include/fennec/math/common.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file common.h +/// \file fennec/math/common.h /// \brief \ref fennec_math_common /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/math/detail/_fwd.h b/include/fennec/math/detail/_fwd.h index fd02f28..5eaef51 100644 --- a/include/fennec/math/detail/_fwd.h +++ b/include/fennec/math/detail/_fwd.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/math/detail/_math.h b/include/fennec/math/detail/_math.h index 88349e0..8a69179 100644 --- a/include/fennec/math/detail/_math.h +++ b/include/fennec/math/detail/_math.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/math/detail/_matrix.h b/include/fennec/math/detail/_matrix.h index ce2c3ab..7b12a90 100644 --- a/include/fennec/math/detail/_matrix.h +++ b/include/fennec/math/detail/_matrix.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/math/detail/_types.h b/include/fennec/math/detail/_types.h index 242f006..370525a 100644 --- a/include/fennec/math/detail/_types.h +++ b/include/fennec/math/detail/_types.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/math/detail/_vector_traits.h b/include/fennec/math/detail/_vector_traits.h index 3051f59..e9f321f 100644 --- a/include/fennec/math/detail/_vector_traits.h +++ b/include/fennec/math/detail/_vector_traits.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/math/exponential.h b/include/fennec/math/exponential.h index c807ff7..57ecd98 100644 --- a/include/fennec/math/exponential.h +++ b/include/fennec/math/exponential.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file exponential.h +/// \file fennec/math/exponential.h /// \brief \ref fennec_math_exponential /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/math/ext/common.h b/include/fennec/math/ext/common.h index 00652fa..3abd3f5 100644 --- a/include/fennec/math/ext/common.h +++ b/include/fennec/math/ext/common.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/math/ext/constants.h b/include/fennec/math/ext/constants.h index 8866e86..2a0cc46 100644 --- a/include/fennec/math/ext/constants.h +++ b/include/fennec/math/ext/constants.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file constants.h +/// \file fennec/math/ext/constants.h /// \brief \ref fennec_math_ext_constants /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/math/ext/primes.h b/include/fennec/math/ext/primes.h index 766b654..d2e11fa 100644 --- a/include/fennec/math/ext/primes.h +++ b/include/fennec/math/ext/primes.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/math/ext/quaternion.h b/include/fennec/math/ext/quaternion.h index badc167..c03bdcf 100644 --- a/include/fennec/math/ext/quaternion.h +++ b/include/fennec/math/ext/quaternion.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/math/ext/rect.h b/include/fennec/math/ext/rect.h index 5841e18..621968c 100644 --- a/include/fennec/math/ext/rect.h +++ b/include/fennec/math/ext/rect.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file rect.h +/// \file fennec/math/ext/rect.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/math/ext/transform.h b/include/fennec/math/ext/transform.h index 187c14f..4b5c089 100644 --- a/include/fennec/math/ext/transform.h +++ b/include/fennec/math/ext/transform.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/math/ext/trigonometric.h b/include/fennec/math/ext/trigonometric.h index 4c3e18b..c814dfe 100644 --- a/include/fennec/math/ext/trigonometric.h +++ b/include/fennec/math/ext/trigonometric.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/math/geometric.h b/include/fennec/math/geometric.h index 5da59b0..9d1c0fc 100644 --- a/include/fennec/math/geometric.h +++ b/include/fennec/math/geometric.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file geometric.h +/// \file fennec/math/geometric.h /// \brief \ref fennec_math_geometric /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/math/math.h b/include/fennec/math/math.h index 7886d8b..b2d988c 100644 --- a/include/fennec/math/math.h +++ b/include/fennec/math/math.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ // ===================================================================================================================== /// -/// \file math.h +/// \file fennec/math/math.h /// \brief fennec Math Library /// /// @@ -28,7 +28,7 @@ /// /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/math/matrix.h b/include/fennec/math/matrix.h index 406e6e4..9ea7e1f 100644 --- a/include/fennec/math/matrix.h +++ b/include/fennec/math/matrix.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file matrix.h +/// \file fennec/math/matrix.h /// \brief the \ref fennec_math_matrix /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/math/relational.h b/include/fennec/math/relational.h index b92e042..fd9a72f 100644 --- a/include/fennec/math/relational.h +++ b/include/fennec/math/relational.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file relational.h +/// \file fennec/math/relational.h /// \brief \ref fennec_math_relational /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/math/scalar.h b/include/fennec/math/scalar.h index 9107966..7e0d950 100644 --- a/include/fennec/math/scalar.h +++ b/include/fennec/math/scalar.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file scalar.h +/// \file fennec/math/scalar.h /// \brief the \ref fennec_math_scalar /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/math/swizzle.h b/include/fennec/math/swizzle.h index 43f8840..9f717b7 100644 --- a/include/fennec/math/swizzle.h +++ b/include/fennec/math/swizzle.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file swizzle.h +/// \file fennec/math/swizzle.h /// \brief \ref fennec_math_swizzle /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/math/swizzle_storage.h b/include/fennec/math/swizzle_storage.h index 169e7e4..636cd3b 100644 --- a/include/fennec/math/swizzle_storage.h +++ b/include/fennec/math/swizzle_storage.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/math/trigonometric.h b/include/fennec/math/trigonometric.h index d9b3b90..ee7d934 100644 --- a/include/fennec/math/trigonometric.h +++ b/include/fennec/math/trigonometric.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file trigonometric.h +/// \file fennec/math/trigonometric.h /// \brief the \ref fennec_math_trigonometric /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/math/vector.h b/include/fennec/math/vector.h index c90695d..5fc988c 100644 --- a/include/fennec/math/vector.h +++ b/include/fennec/math/vector.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file vector.h +/// \file fennec/math/vector.h /// \brief the \ref fennec_math_vector /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/math/vector_base.h b/include/fennec/math/vector_base.h index 6d7a5fc..44e1036 100644 --- a/include/fennec/math/vector_base.h +++ b/include/fennec/math/vector_base.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/math/vector_storage.h b/include/fennec/math/vector_storage.h index a9355fa..b18954e 100644 --- a/include/fennec/math/vector_storage.h +++ b/include/fennec/math/vector_storage.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/math/vector_traits.h b/include/fennec/math/vector_traits.h index 45f2cbc..22f6268 100644 --- a/include/fennec/math/vector_traits.h +++ b/include/fennec/math/vector_traits.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file vector_traits.h +/// \file fennec/math/vector_traits.h /// \brief /// /// /// \details this header implements functions to test vector types at compile time /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/memory/allocator.h b/include/fennec/memory/allocator.h index a2b454e..4366692 100644 --- a/include/fennec/memory/allocator.h +++ b/include/fennec/memory/allocator.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file allocator.h +/// \file fennec/memory/allocator.h /// \brief This header contains structures and classes related to allocating blocks of memory /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/memory/bytes.h b/include/fennec/memory/bytes.h index 9e53d06..bc62b6e 100644 --- a/include/fennec/memory/bytes.h +++ b/include/fennec/memory/bytes.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/memory/common.h b/include/fennec/memory/common.h index 774e4d6..e090cb9 100644 --- a/include/fennec/memory/common.h +++ b/include/fennec/memory/common.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file common.h +/// \file fennec/memory/common.h /// \brief This header contains functions related to analyzing, modifying or copying buffers interpreted as bytes /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -128,7 +128,7 @@ constexpr void* memmove_s(void* dst, size_t n0, const void* src, size_t n1) { /// /// \brief Sets all bytes of \f$dst\f$ to \f$ch\f$, interpreted as an \f$uint8_t\f$ /// \param dst The destination object, interpreted as an array of bytes -/// \param ch The value, interpreted as an \f$uint8_t\f$ +/// \param ch The value, interpreted as an \f$uint8\_t\f$ /// \param n The number of bytes to set /// \returns \f$dst\f$ using ::memset; diff --git a/include/fennec/memory/detail/_ptr_traits.h b/include/fennec/memory/detail/_ptr_traits.h index dd1661e..6fd8328 100644 --- a/include/fennec/memory/detail/_ptr_traits.h +++ b/include/fennec/memory/detail/_ptr_traits.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/memory/detail/_string.h b/include/fennec/memory/detail/_string.h index 5574e26..dc7fab1 100644 --- a/include/fennec/memory/detail/_string.h +++ b/include/fennec/memory/detail/_string.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/memory/memory.h b/include/fennec/memory/memory.h index ead6191..ef565cc 100644 --- a/include/fennec/memory/memory.h +++ b/include/fennec/memory/memory.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file memory.h +/// \file fennec/memory/memory.h /// \brief \ref fennec_memory /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/memory/new.h b/include/fennec/memory/new.h index adb4671..bd5e86a 100644 --- a/include/fennec/memory/new.h +++ b/include/fennec/memory/new.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file new.h +/// \file fennec/memory/new.h /// \brief This header contains functions related to analyzing, modifying or copying buffers interpreted as bytes /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/memory/pointer_traits.h b/include/fennec/memory/pointer_traits.h index e5458c7..5d34f6f 100644 --- a/include/fennec/memory/pointer_traits.h +++ b/include/fennec/memory/pointer_traits.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/memory/pointers.h b/include/fennec/memory/pointers.h index 264cdd1..5b0eb7a 100644 --- a/include/fennec/memory/pointers.h +++ b/include/fennec/memory/pointers.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/platform/interface/display_server.h b/include/fennec/platform/interface/display_server.h index 418fb36..9ad9243 100644 --- a/include/fennec/platform/interface/display_server.h +++ b/include/fennec/platform/interface/display_server.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file display_server.h +/// \file fennec/platform/interface/display_server.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -157,10 +157,8 @@ protected: featureset_t features; //!< the feature set of the display server unique_ptr gfx_context; //!< the graphics context of the display server -#ifndef FENNEC_DOXYGEN FENNEC_RTTI_CLASS_ENABLE() { } -#endif }; /// diff --git a/include/fennec/platform/interface/fwd.h b/include/fennec/platform/interface/fwd.h index e387921..4fe78a8 100644 --- a/include/fennec/platform/interface/fwd.h +++ b/include/fennec/platform/interface/fwd.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/platform/interface/platform.h b/include/fennec/platform/interface/platform.h index 6ca99a8..62363a3 100644 --- a/include/fennec/platform/interface/platform.h +++ b/include/fennec/platform/interface/platform.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/platform/interface/window.h b/include/fennec/platform/interface/window.h index 39da3c9..bcabcd1 100644 --- a/include/fennec/platform/interface/window.h +++ b/include/fennec/platform/interface/window.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file window.h +/// \file fennec/platform/interface/window.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/platform/linux/platform.h b/include/fennec/platform/linux/platform.h index 3c2b49f..cc1404e 100644 --- a/include/fennec/platform/linux/platform.h +++ b/include/fennec/platform/linux/platform.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -33,10 +33,8 @@ public: void initialize() override; //!< platform initialization void shutdown() override; //!< platform shutdown -#ifndef FENNEC_DOXYGEN FENNEC_RTTI_CLASS_ENABLE(unix_platform) { } -#endif }; } diff --git a/include/fennec/platform/linux/wayland/egl/context.h b/include/fennec/platform/linux/wayland/egl/context.h index d16e92d..c756ad3 100644 --- a/include/fennec/platform/linux/wayland/egl/context.h +++ b/include/fennec/platform/linux/wayland/egl/context.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file context.h +/// \file fennec/platform/linux/wayland/egl/context.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -54,11 +54,9 @@ public: gfxsurface* create_surface(window* window) override; private: -#ifndef FENNEC_DOXYGEN FENNEC_RTTI_CLASS_ENABLE(eglcontext) { wayland_server::ctx_registry::register_type(); } -#endif }; } diff --git a/include/fennec/platform/linux/wayland/egl/surface.h b/include/fennec/platform/linux/wayland/egl/surface.h index 3f51bb8..4213719 100644 --- a/include/fennec/platform/linux/wayland/egl/surface.h +++ b/include/fennec/platform/linux/wayland/egl/surface.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file surface.h +/// \file fennec/platform/linux/wayland/egl/surface.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/platform/linux/wayland/fwd.h b/include/fennec/platform/linux/wayland/fwd.h index 5b871a5..6c19b05 100644 --- a/include/fennec/platform/linux/wayland/fwd.h +++ b/include/fennec/platform/linux/wayland/fwd.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file fwd.h +/// \file fennec/platform/linux/wayland/fwd.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/platform/linux/wayland/lib/loader.h b/include/fennec/platform/linux/wayland/lib/loader.h index 2895bf6..0ede516 100644 --- a/include/fennec/platform/linux/wayland/lib/loader.h +++ b/include/fennec/platform/linux/wayland/lib/loader.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/platform/linux/wayland/lib/sym.h b/include/fennec/platform/linux/wayland/lib/sym.h index f051c27..ef7ef09 100644 --- a/include/fennec/platform/linux/wayland/lib/sym.h +++ b/include/fennec/platform/linux/wayland/lib/sym.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/platform/linux/wayland/lib/wayland.h b/include/fennec/platform/linux/wayland/lib/wayland.h index d80ca0a..02c4f68 100644 --- a/include/fennec/platform/linux/wayland/lib/wayland.h +++ b/include/fennec/platform/linux/wayland/lib/wayland.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/platform/linux/wayland/libdecor/libdecor.h b/include/fennec/platform/linux/wayland/libdecor/libdecor.h index 8c2bc49..bfa30aa 100644 --- a/include/fennec/platform/linux/wayland/libdecor/libdecor.h +++ b/include/fennec/platform/linux/wayland/libdecor/libdecor.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file libdecor.h +/// \file fennec/platform/linux/wayland/libdecor/libdecor.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/platform/linux/wayland/libdecor/loader.h b/include/fennec/platform/linux/wayland/libdecor/loader.h index d7d504e..0ac0aac 100644 --- a/include/fennec/platform/linux/wayland/libdecor/loader.h +++ b/include/fennec/platform/linux/wayland/libdecor/loader.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file loader.h +/// \file fennec/platform/linux/wayland/libdecor/loader.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/platform/linux/wayland/libdecor/sym.h b/include/fennec/platform/linux/wayland/libdecor/sym.h index f308658..952707f 100644 --- a/include/fennec/platform/linux/wayland/libdecor/sym.h +++ b/include/fennec/platform/linux/wayland/libdecor/sym.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/platform/linux/wayland/server.h b/include/fennec/platform/linux/wayland/server.h index 12fbc4c..d98a5d1 100644 --- a/include/fennec/platform/linux/wayland/server.h +++ b/include/fennec/platform/linux/wayland/server.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file server.h +/// \file fennec/platform/linux/wayland/server.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -109,11 +109,9 @@ private: static void _libdecor_on_error(struct libdecor*, libdecor_error error, const char* message); #endif -#ifndef FENNEC_DOXYGEN FENNEC_RTTI_CLASS_ENABLE(display_server) { display_server::register_type(1); } -#endif friend class wayland_window; }; diff --git a/include/fennec/platform/linux/wayland/window.h b/include/fennec/platform/linux/wayland/window.h index 938e50c..f608ff6 100644 --- a/include/fennec/platform/linux/wayland/window.h +++ b/include/fennec/platform/linux/wayland/window.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file window.h +/// \file fennec/platform/linux/wayland/window.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/platform/linux/xkb/lib/loader.h b/include/fennec/platform/linux/xkb/lib/loader.h index 1189407..a31349a 100644 --- a/include/fennec/platform/linux/xkb/lib/loader.h +++ b/include/fennec/platform/linux/xkb/lib/loader.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/platform/linux/xkb/lib/sym.h b/include/fennec/platform/linux/xkb/lib/sym.h index f71a2d5..744abf5 100644 --- a/include/fennec/platform/linux/xkb/lib/sym.h +++ b/include/fennec/platform/linux/xkb/lib/sym.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/platform/linux/xkb/lib/xkb.h b/include/fennec/platform/linux/xkb/lib/xkb.h index 3f4d994..2da5341 100644 --- a/include/fennec/platform/linux/xkb/lib/xkb.h +++ b/include/fennec/platform/linux/xkb/lib/xkb.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/platform/opengl/egl/context.h b/include/fennec/platform/opengl/egl/context.h index 90a02f6..94484d1 100644 --- a/include/fennec/platform/opengl/egl/context.h +++ b/include/fennec/platform/opengl/egl/context.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file context.h +/// \file fennec/platform/opengl/egl/context.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -61,10 +61,8 @@ private: EGLint _eglvmajor, _eglvminor, _eglctype; cstring _extensions; -#ifndef FENNEC_DOXYGEN FENNEC_RTTI_CLASS_ENABLE(glcontext) { } -#endif friend class eglsurface; }; diff --git a/include/fennec/platform/opengl/egl/error.h b/include/fennec/platform/opengl/egl/error.h index 8871a7c..91d77b5 100644 --- a/include/fennec/platform/opengl/egl/error.h +++ b/include/fennec/platform/opengl/egl/error.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file error.h +/// \file fennec/platform/opengl/egl/error.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/platform/opengl/egl/fwd.h b/include/fennec/platform/opengl/egl/fwd.h index 1a01ced..af41c65 100644 --- a/include/fennec/platform/opengl/egl/fwd.h +++ b/include/fennec/platform/opengl/egl/fwd.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file fwd.h +/// \file fennec/platform/opengl/egl/fwd.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/platform/opengl/egl/surface.h b/include/fennec/platform/opengl/egl/surface.h index ca283e5..5b82d49 100644 --- a/include/fennec/platform/opengl/egl/surface.h +++ b/include/fennec/platform/opengl/egl/surface.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file surface.h +/// \file fennec/platform/opengl/egl/surface.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/platform/unix/platform.h b/include/fennec/platform/unix/platform.h index f053cef..05a8f65 100644 --- a/include/fennec/platform/unix/platform.h +++ b/include/fennec/platform/unix/platform.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -51,10 +51,8 @@ public: symbol find_symbol(shared_object* obj, const cstring& name) override; private: -#ifndef FENNEC_DOXYGEN FENNEC_RTTI_CLASS_ENABLE(platform) { } -#endif }; } diff --git a/include/fennec/platform/window_manager.h b/include/fennec/platform/window_manager.h index 4bf05c4..dfb2ace 100644 --- a/include/fennec/platform/window_manager.h +++ b/include/fennec/platform/window_manager.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file window_manager.h +/// \file fennec/platform/window_manager.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/renderers/interface/forward.h b/include/fennec/renderers/interface/forward.h index c888e43..911979d 100644 --- a/include/fennec/renderers/interface/forward.h +++ b/include/fennec/renderers/interface/forward.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file forward.h +/// \file fennec/renderers/interface/forward.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/renderers/interface/gfxcontext.h b/include/fennec/renderers/interface/gfxcontext.h index f4bf33a..70bb185 100644 --- a/include/fennec/renderers/interface/gfxcontext.h +++ b/include/fennec/renderers/interface/gfxcontext.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file gfxcontext.h +/// \file fennec/renderers/interface/gfxcontext.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/renderers/interface/gfxsurface.h b/include/fennec/renderers/interface/gfxsurface.h index 6cbbfd6..5fad9b9 100644 --- a/include/fennec/renderers/interface/gfxsurface.h +++ b/include/fennec/renderers/interface/gfxsurface.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file gfxcontext.h +/// \file fennec/renderers/interface/gfxcontext.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/renderers/opengl/glcontext.h b/include/fennec/renderers/opengl/glcontext.h index 718dba8..3ae13cd 100644 --- a/include/fennec/renderers/opengl/glcontext.h +++ b/include/fennec/renderers/opengl/glcontext.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file glcontext.h +/// \file fennec/renderers/opengl/glcontext.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -47,10 +47,8 @@ public: private: -#ifndef FENNEC_DOXYGEN FENNEC_RTTI_CLASS_ENABLE(gfxcontext) { } -#endif }; } diff --git a/include/fennec/renderers/opengl/lib/buffer.h b/include/fennec/renderers/opengl/lib/buffer.h index be0da14..fd5fc75 100644 --- a/include/fennec/renderers/opengl/lib/buffer.h +++ b/include/fennec/renderers/opengl/lib/buffer.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/renderers/opengl/lib/enum.h b/include/fennec/renderers/opengl/lib/enum.h index a8383f8..ac876a6 100644 --- a/include/fennec/renderers/opengl/lib/enum.h +++ b/include/fennec/renderers/opengl/lib/enum.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/renderers/opengl/lib/fwd.h b/include/fennec/renderers/opengl/lib/fwd.h index 3447f1e..d2a8bb5 100644 --- a/include/fennec/renderers/opengl/lib/fwd.h +++ b/include/fennec/renderers/opengl/lib/fwd.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/renderers/opengl/lib/texture.h b/include/fennec/renderers/opengl/lib/texture.h index eb8159b..4855a4f 100644 --- a/include/fennec/renderers/opengl/lib/texture.h +++ b/include/fennec/renderers/opengl/lib/texture.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/renderers/opengl/lib/vertex_array.h b/include/fennec/renderers/opengl/lib/vertex_array.h index ca05db3..67472ca 100644 --- a/include/fennec/renderers/opengl/lib/vertex_array.h +++ b/include/fennec/renderers/opengl/lib/vertex_array.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/renderers/vulkan/lib/app_info.h b/include/fennec/renderers/vulkan/lib/app_info.h index abd3a02..a52e267 100644 --- a/include/fennec/renderers/vulkan/lib/app_info.h +++ b/include/fennec/renderers/vulkan/lib/app_info.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file instance.h +/// \file fennec/renderers/vulkan/lib/app_info.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -40,6 +40,8 @@ namespace fennec::vk { +/// +/// \brief Wrapper class for VkApplicationInfo struct app_info : private VkApplicationInfo { // Constructors & Destructor =========================================================================================== diff --git a/include/fennec/renderers/vulkan/lib/instance.h b/include/fennec/renderers/vulkan/lib/instance.h index a0cac14..c4d5848 100644 --- a/include/fennec/renderers/vulkan/lib/instance.h +++ b/include/fennec/renderers/vulkan/lib/instance.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file instance.h +/// \file fennec/renderers/vulkan/lib/instance.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -40,12 +40,105 @@ namespace fennec::vk { +/// +/// \brief Wrapper class for VkInstance struct instance { -public: - using create_flags = VkInstanceCreateFlags; +// Definitions ========================================================================================================= +public: + using create_flags = VkInstanceCreateFlags; //!< Alias for VkInstanceCreateFlags + + + /// + /// \brief Wrapper class for VkInstanceCreateInfo struct create_info : private VkInstanceCreateInfo { + + // Constructors & Destructor --------------------------------------------------------------------------------------- public: + + /// + /// \brief Constructor, acts as default constructor, takes \f$nullptr\f$ for \f$info\f$ + /// \param flags + /// \param ext + create_info( + create_flags flags = {}, nullptr_t = nullptr, + void* ext = nullptr + ) : VkInstanceCreateInfo { + .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, + .pNext = ext, + .flags = flags, + .pApplicationInfo = nullptr, + .enabledLayerCount = 0, + .ppEnabledLayerNames = nullptr, + .enabledExtensionCount = 0, + .ppEnabledExtensionNames = nullptr, + } { + } + + /// + /// \brief + /// \param flags + /// \param info + /// \param ext + create_info( + create_flags flags, const app_info& info, + void* ext = nullptr + ) : VkInstanceCreateInfo { + .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, + .pNext = ext, + .flags = flags, + .pApplicationInfo = info, + .enabledLayerCount = 0, + .ppEnabledLayerNames = nullptr, + .enabledExtensionCount = 0, + .ppEnabledExtensionNames = nullptr, + } { + } + + template + create_info( + create_flags flags, const app_info& info, + const cstring (&layers)[LayersN], nullptr_t, + void* ext + ) : VkInstanceCreateInfo { + .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, + .pNext = ext, + .flags = flags, + .pApplicationInfo = info, + .enabledLayerCount = LayersN, + .ppEnabledLayerNames = nullptr, + .enabledExtensionCount = 0, + .ppEnabledExtensionNames = nullptr, + } { + _layers.reserve(LayersN); + for (const auto& layer : layers) { _layers.push_back(layer); } + + ppEnabledLayerNames = _layers.data(); + ppEnabledExtensionNames = _extensions.data(); + } + + template + create_info( + create_flags flags, const app_info& info, + nullptr_t, const cstring (&extensions)[ExtensionsN], + void* ext + ) : VkInstanceCreateInfo { + .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, + .pNext = ext, + .flags = flags, + .pApplicationInfo = info, + .enabledLayerCount = 0, + .ppEnabledLayerNames = nullptr, + .enabledExtensionCount = ExtensionsN, + .ppEnabledExtensionNames = nullptr, + } { + _extensions.reserve(ExtensionsN); + for (const auto& extension : extensions) { _extensions.push_back(extension); } + + ppEnabledLayerNames = _layers.data(); + ppEnabledExtensionNames = _extensions.data(); + } + template create_info( create_flags flags, const app_info& info, @@ -71,6 +164,72 @@ public: ppEnabledExtensionNames = _extensions.data(); } + create_info( + create_flags flags, const app_info& info, + const dynarray& layers, nullptr_t, + void* ext + ) : VkInstanceCreateInfo { + .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, + .pNext = ext, + .flags = flags, + .pApplicationInfo = info, + .enabledLayerCount = layers.size(), + .ppEnabledLayerNames = nullptr, + .enabledExtensionCount = 0, + .ppEnabledExtensionNames = nullptr, + } { + _layers.reserve(enabledLayerCount); + for (const auto& layer : layers) { _layers.push_back(layer); } + + ppEnabledLayerNames = _layers.data(); + ppEnabledExtensionNames = _extensions.data(); + } + + create_info( + create_flags flags, const app_info& info, + nullptr_t, const dynarray& extensions, + void* ext + ) : VkInstanceCreateInfo { + .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, + .pNext = ext, + .flags = flags, + .pApplicationInfo = info, + .enabledLayerCount = 0, + .ppEnabledLayerNames = nullptr, + .enabledExtensionCount = extensions.size(), + .ppEnabledExtensionNames = nullptr, + } { + _extensions.reserve(enabledExtensionCount); + for (const auto& extension : extensions) { _extensions.push_back(extension); } + + ppEnabledLayerNames = _layers.data(); + ppEnabledExtensionNames = _extensions.data(); + } + + create_info( + create_flags flags, const app_info& info, + const dynarray& layers, const dynarray& extensions, + void* ext + ) : VkInstanceCreateInfo { + .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, + .pNext = ext, + .flags = flags, + .pApplicationInfo = info, + .enabledLayerCount = layers.size(), + .ppEnabledLayerNames = nullptr, + .enabledExtensionCount = extensions.size(), + .ppEnabledExtensionNames = nullptr, + } { + _layers.reserve(enabledLayerCount); + for (const auto& layer : layers) { _layers.push_back(layer); } + + _extensions.reserve(enabledExtensionCount); + for (const auto& extension : extensions) { _extensions.push_back(extension); } + + ppEnabledLayerNames = _layers.data(); + ppEnabledExtensionNames = _extensions.data(); + } + private: diff --git a/include/fennec/renderers/vulkan/vkcontext.cpp b/include/fennec/renderers/vulkan/vkcontext.cpp index d78fd90..8fc58bc 100644 --- a/include/fennec/renderers/vulkan/vkcontext.cpp +++ b/include/fennec/renderers/vulkan/vkcontext.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/renderers/vulkan/vkcontext.h b/include/fennec/renderers/vulkan/vkcontext.h index 6569733..dbe105e 100644 --- a/include/fennec/renderers/vulkan/vkcontext.h +++ b/include/fennec/renderers/vulkan/vkcontext.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file context.h +/// \file fennec/renderers/vulkan/vkcontext.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -35,8 +35,6 @@ #include #include -#include - namespace fennec { diff --git a/include/fennec/rtti/detail/_constants.h b/include/fennec/rtti/detail/_constants.h index ee46b4b..0fcddb4 100644 --- a/include/fennec/rtti/detail/_constants.h +++ b/include/fennec/rtti/detail/_constants.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/rtti/detail/_this_t.h b/include/fennec/rtti/detail/_this_t.h index c36d8aa..aecee20 100644 --- a/include/fennec/rtti/detail/_this_t.h +++ b/include/fennec/rtti/detail/_this_t.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,18 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file _this_t.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - #ifndef FENNEC_RTTI_DETAIL_THIS_T_H #define FENNEC_RTTI_DETAIL_THIS_T_H #include diff --git a/include/fennec/rtti/detail/_type_name.h b/include/fennec/rtti/detail/_type_name.h index ab0170f..877e508 100644 --- a/include/fennec/rtti/detail/_type_name.h +++ b/include/fennec/rtti/detail/_type_name.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,18 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file _type_name.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - #ifndef FENNEC_RTTI_DETAIL_TYPE_NAME_H #define FENNEC_RTTI_DETAIL_TYPE_NAME_H diff --git a/include/fennec/rtti/detail/_typeid.h b/include/fennec/rtti/detail/_typeid.h index 13c2a05..e5fceb4 100644 --- a/include/fennec/rtti/detail/_typeid.h +++ b/include/fennec/rtti/detail/_typeid.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/rtti/enable.h b/include/fennec/rtti/enable.h index 8d4ce8d..61a3f2a 100644 --- a/include/fennec/rtti/enable.h +++ b/include/fennec/rtti/enable.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file enable.h +/// \file fennec/rtti/enable.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -40,9 +40,16 @@ #define FENNEC_RTTI_CLASS_ENABLE(...) \ public: \ + /*! \name RTTI */ \ + /*! @{ */ \ + \ + /*! \brief A list of super classes */ \ using super_class_list = fennec::typelist<__VA_ARGS__>; \ + /*! \brief Getter for the object type */ \ virtual inline fennec::type get_type() const { return fennec::type::get_from_instance(this); } \ + /*! \brief Definition of \f$this\_t\f$, used for RTTI */ \ FENNEC_DEFINE_THIS_T; \ + /*! @} */ \ private: \ FENNEC_CLASS_STATIC_CONSTRUCTOR(_init_reflection) diff --git a/include/fennec/rtti/forward.h b/include/fennec/rtti/forward.h index b72b554..0a73317 100644 --- a/include/fennec/rtti/forward.h +++ b/include/fennec/rtti/forward.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file forward.h +/// \file fennec/rtti/forward.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/rtti/singleton.h b/include/fennec/rtti/singleton.h index 776761b..6a7ff50 100644 --- a/include/fennec/rtti/singleton.h +++ b/include/fennec/rtti/singleton.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file singleton.h +/// \file fennec/rtti/singleton.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/rtti/type.h b/include/fennec/rtti/type.h index ea44517..4a1eff1 100644 --- a/include/fennec/rtti/type.h +++ b/include/fennec/rtti/type.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file type.h +/// \file fennec/rtti/type.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/rtti/type_data.h b/include/fennec/rtti/type_data.h index abe8961..7cda420 100644 --- a/include/fennec/rtti/type_data.h +++ b/include/fennec/rtti/type_data.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file type_data.h +/// \file fennec/rtti/type_data.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/rtti/type_registry.h b/include/fennec/rtti/type_registry.h index 8a0878c..c9d9b6b 100644 --- a/include/fennec/rtti/type_registry.h +++ b/include/fennec/rtti/type_registry.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file type_registry.h +/// \file fennec/rtti/type_registry.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/rtti/typeid.h b/include/fennec/rtti/typeid.h index 505b365..f401ef8 100644 --- a/include/fennec/rtti/typeid.h +++ b/include/fennec/rtti/typeid.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/rtti/typelist.h b/include/fennec/rtti/typelist.h index 748af7e..3ea0bcb 100644 --- a/include/fennec/rtti/typelist.h +++ b/include/fennec/rtti/typelist.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file typelist.h +/// \file fennec/rtti/typelist.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/scene/component.h b/include/fennec/scene/component.h index 6daa7f3..9c5eb36 100644 --- a/include/fennec/scene/component.h +++ b/include/fennec/scene/component.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/scene/forward.h b/include/fennec/scene/forward.h index d4cae38..db4a935 100644 --- a/include/fennec/scene/forward.h +++ b/include/fennec/scene/forward.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file forward.h +/// \file fennec/scene/forward.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/scene/node2d.h b/include/fennec/scene/node2d.h index 9063c09..f8865ac 100644 --- a/include/fennec/scene/node2d.h +++ b/include/fennec/scene/node2d.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file node2d.h +/// \file fennec/scene/node2d.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/scene/scene.h b/include/fennec/scene/scene.h index fab64ff..42722c2 100644 --- a/include/fennec/scene/scene.h +++ b/include/fennec/scene/scene.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/scene/scene_node.h b/include/fennec/scene/scene_node.h index 162065b..a4f52de 100644 --- a/include/fennec/scene/scene_node.h +++ b/include/fennec/scene/scene_node.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file scene_node.h +/// \file fennec/scene/scene_node.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/string/cstring.h b/include/fennec/string/cstring.h index 31bfa15..63eb4df 100644 --- a/include/fennec/string/cstring.h +++ b/include/fennec/string/cstring.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/string/detail/_ctype.h b/include/fennec/string/detail/_ctype.h index 5962ed9..76816cb 100644 --- a/include/fennec/string/detail/_ctype.h +++ b/include/fennec/string/detail/_ctype.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/string/detail/_locale.h b/include/fennec/string/detail/_locale.h index 602a09f..7241312 100644 --- a/include/fennec/string/detail/_locale.h +++ b/include/fennec/string/detail/_locale.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/string/locale.h b/include/fennec/string/locale.h index 9e9c3a5..a80d75f 100644 --- a/include/fennec/string/locale.h +++ b/include/fennec/string/locale.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/string/string.h b/include/fennec/string/string.h index 2bfa421..ca2753e 100644 --- a/include/fennec/string/string.h +++ b/include/fennec/string/string.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/string/wcstring.h b/include/fennec/string/wcstring.h index 0f88491..609a456 100644 --- a/include/fennec/string/wcstring.h +++ b/include/fennec/string/wcstring.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/string/wstring.h b/include/fennec/string/wstring.h index 33d880b..e6e65b7 100644 --- a/include/fennec/string/wstring.h +++ b/include/fennec/string/wstring.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/threading/atomic.h b/include/fennec/threading/atomic.h index 11180ce..19839e3 100644 --- a/include/fennec/threading/atomic.h +++ b/include/fennec/threading/atomic.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file atomic.h +/// \file fennec/threading/atomic.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/threading/detail/_atomic.h b/include/fennec/threading/detail/_atomic.h index 0ef86f2..6f58d16 100644 --- a/include/fennec/threading/detail/_atomic.h +++ b/include/fennec/threading/detail/_atomic.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/include/fennec/threading/detail/_thread.h b/include/fennec/threading/detail/_thread.h index a83cb66..126b406 100644 --- a/include/fennec/threading/detail/_thread.h +++ b/include/fennec/threading/detail/_thread.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,19 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file _thread.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - - #ifndef FENNEC_THREADING_DETAIL_THREAD_H #define FENNEC_THREADING_DETAIL_THREAD_H diff --git a/include/fennec/threading/lock_guard.h b/include/fennec/threading/lock_guard.h index 10985b1..3c80bb3 100644 --- a/include/fennec/threading/lock_guard.h +++ b/include/fennec/threading/lock_guard.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file lock_guard.h +/// \file fennec/threading/lock_guard.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/threading/mpscq.h b/include/fennec/threading/mpscq.h index 3091e5c..7d838f2 100644 --- a/include/fennec/threading/mpscq.h +++ b/include/fennec/threading/mpscq.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file mpscq.h +/// \file fennec/threading/mpscq.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/threading/mutex.h b/include/fennec/threading/mutex.h index 7ef0f6f..7ae4362 100644 --- a/include/fennec/threading/mutex.h +++ b/include/fennec/threading/mutex.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file mutex.h +/// \file fennec/threading/mutex.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// diff --git a/include/fennec/threading/thread.h b/include/fennec/threading/thread.h index ee1208e..4f1a621 100644 --- a/include/fennec/threading/thread.h +++ b/include/fennec/threading/thread.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -17,14 +17,14 @@ // ===================================================================================================================== /// -/// \file thread.h +/// \file fennec/threading/thread.h /// \brief /// /// /// \details /// \author Medusa Slockbower /// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) +/// \copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) /// /// @@ -43,16 +43,26 @@ namespace fennec { +/// +/// \brief Wrapper class to encapsulate threads, implementation uses pthread class thread { + +// Constants & Definitions ============================================================================================= private: static constexpr pthread_t nullthread = 0; public: - using handle_t = pthread_t; + using handle_t = pthread_t; //!< The underlying handle type - class id { + /// + /// \brief Structure representing the id of a thread + struct id { public: - constexpr id() noexcept : _id(0) {} + /// + /// \brief Constructor + constexpr id() noexcept + : _id(0) { + } constexpr friend bool operator==(id x, id y) noexcept { if (x._id == 0) { @@ -161,6 +171,8 @@ private: pthread_t _handle; }; +/// +/// \brief Specialization of `fennec::hash` for `fennec::thread::id` template <> struct hash { size_t operator()(thread::id v) const noexcept { @@ -168,6 +180,8 @@ struct hash { } }; +/// +/// \brief Specialization of `fennec::formatter` for `fennec::thread::id` template<> struct formatter { string operator()(const format_arg& fmt, thread::id v) const noexcept { diff --git a/metaprogramming/float.h b/metaprogramming/float.h index 9e250ad..72ce485 100644 --- a/metaprogramming/float.h +++ b/metaprogramming/float.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ inline void float_h() out << "// =====================================================================================================================" << std::endl; out << "// fennec, a free and open source game engine" << std::endl; - out << "// Copyright © 2025 Medusa Slockbower" << std::endl; + out << "// Copyright © 2025 - 2026 Medusa Slockbower" << std::endl; out << "//" << std::endl; out << "// This program is free software: you can redistribute it and/or modify" << std::endl; out << "// it under the terms of the GNU General Public License as published by" << std::endl; @@ -47,13 +47,13 @@ inline void float_h() out << "" << std::endl; out << "///" << std::endl; - out << "/// \\file float.h" << std::endl; + out << "/// \\file fennec/lang/float.h" << std::endl; out << "/// \\brief metaprogramming floating point type info" << std::endl; out << "///" << std::endl; out << "///" << std::endl; out << "/// \\details this file is automatically generated for the current build environment" << std::endl; out << "///" << std::endl; - out << "/// \\copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html))" << std::endl; + out << "/// \\copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html))" << std::endl; out << "///" << std::endl; out << "///" << std::endl; diff --git a/metaprogramming/integer.h b/metaprogramming/integer.h index 05c8dbc..078d915 100644 --- a/metaprogramming/integer.h +++ b/metaprogramming/integer.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ inline void integer_h() out << "// =====================================================================================================================" << std::endl; out << "// fennec, a free and open source game engine" << std::endl; - out << "// Copyright © 2025 Medusa Slockbower" << std::endl; + out << "// Copyright © 2025 - 2026 Medusa Slockbower" << std::endl; out << "//" << std::endl; out << "// This program is free software: you can redistribute it and/or modify" << std::endl; out << "// it under the terms of the GNU General Public License as published by" << std::endl; @@ -47,13 +47,13 @@ inline void integer_h() out << "" << std::endl; out << "///" << std::endl; - out << "/// \\file integer.h" << std::endl; + out << "/// \\file fennec/lang/integer.h" << std::endl; out << "/// \\brief metaprogramming integer type info" << std::endl; out << "///" << std::endl; out << "///" << std::endl; out << "/// \\details this file is automatically generated for the current build environment" << std::endl; out << "///" << std::endl; - out << "/// \\copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html))" << std::endl; + out << "/// \\copyright Copyright © 2025 - 2026 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html))" << std::endl; out << "///" << std::endl; out << "///" << std::endl; diff --git a/metaprogramming/main.cpp b/metaprogramming/main.cpp index fd8ce48..037be54 100644 --- a/metaprogramming/main.cpp +++ b/metaprogramming/main.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec-metaprogramming, a program to generate metaprogramming intrinsics -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/metaprogramming/type_name.h b/metaprogramming/type_name.h index 80fb08d..a27c837 100644 --- a/metaprogramming/type_name.h +++ b/metaprogramming/type_name.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,18 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file type_name.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - #ifndef FENNEC_METAPROGRAMMING_TYPE_NAME_H #define FENNEC_METAPROGRAMMING_TYPE_NAME_H @@ -50,7 +38,7 @@ inline void type_name_h() out << "// =====================================================================================================================" << std::endl; out << "// fennec, a free and open source game engine" << std::endl; - out << "// Copyright © 2025 Medusa Slockbower" << std::endl; + out << "// Copyright © 2025 - 2026 Medusa Slockbower" << std::endl; out << "//" << std::endl; out << "// This program is free software: you can redistribute it and/or modify" << std::endl; out << "// it under the terms of the GNU General Public License as published by" << std::endl; diff --git a/source/core/engine.cpp b/source/core/engine.cpp index 6bacf49..0cbd0cf 100644 --- a/source/core/engine.cpp +++ b/source/core/engine.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/core/event.cpp b/source/core/event.cpp index bcaf8a0..a010f37 100644 --- a/source/core/event.cpp +++ b/source/core/event.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/core/logger.cpp b/source/core/logger.cpp index c869f39..3ace246 100644 --- a/source/core/logger.cpp +++ b/source/core/logger.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,18 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file logger.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - #include namespace fennec diff --git a/source/debug/assert_impl.cpp b/source/debug/assert_impl.cpp index 0a436b4..a98a7ba 100644 --- a/source/debug/assert_impl.cpp +++ b/source/debug/assert_impl.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/filesystem/file.cpp b/source/filesystem/file.cpp index a2c17b0..952709f 100644 --- a/source/filesystem/file.cpp +++ b/source/filesystem/file.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/filesystem/path.cpp b/source/filesystem/path.cpp index cd3d48d..7457fee 100644 --- a/source/filesystem/path.cpp +++ b/source/filesystem/path.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/format/charconv.cpp b/source/format/charconv.cpp index 0ae0525..2984eb5 100644 --- a/source/format/charconv.cpp +++ b/source/format/charconv.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,18 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file charconv.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - #define __cpp_lib_to_chars #include #include diff --git a/source/lang/assert.cpp b/source/lang/assert.cpp index b0902cc..cc77481 100644 --- a/source/lang/assert.cpp +++ b/source/lang/assert.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/interface/platform.cpp b/source/platform/interface/platform.cpp index c5f30af..74f5d8c 100644 --- a/source/platform/interface/platform.cpp +++ b/source/platform/interface/platform.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/interface/window.cpp b/source/platform/interface/window.cpp index 105a03c..32a6819 100644 --- a/source/platform/interface/window.cpp +++ b/source/platform/interface/window.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/linux/platform.cpp b/source/platform/linux/platform.cpp index 05e10ba..ab661cd 100644 --- a/source/platform/linux/platform.cpp +++ b/source/platform/linux/platform.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/linux/wayland/egl/context.cpp b/source/platform/linux/wayland/egl/context.cpp index 2b26186..4b759da 100644 --- a/source/platform/linux/wayland/egl/context.cpp +++ b/source/platform/linux/wayland/egl/context.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/linux/wayland/egl/surface.cpp b/source/platform/linux/wayland/egl/surface.cpp index 5fbeca0..2b4fa5c 100644 --- a/source/platform/linux/wayland/egl/surface.cpp +++ b/source/platform/linux/wayland/egl/surface.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/linux/wayland/lib/loader.cpp b/source/platform/linux/wayland/lib/loader.cpp index 51ac035..1af0a31 100644 --- a/source/platform/linux/wayland/lib/loader.cpp +++ b/source/platform/linux/wayland/lib/loader.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/linux/wayland/libdecor/loader.cpp b/source/platform/linux/wayland/libdecor/loader.cpp index 4576039..68cd95c 100644 --- a/source/platform/linux/wayland/libdecor/loader.cpp +++ b/source/platform/linux/wayland/libdecor/loader.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/linux/wayland/server.cpp b/source/platform/linux/wayland/server.cpp index 20482c0..83d788a 100644 --- a/source/platform/linux/wayland/server.cpp +++ b/source/platform/linux/wayland/server.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/linux/wayland/window.cpp b/source/platform/linux/wayland/window.cpp index 405a4d7..b682dc8 100644 --- a/source/platform/linux/wayland/window.cpp +++ b/source/platform/linux/wayland/window.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/linux/xkb/lib/loader.cpp b/source/platform/linux/xkb/lib/loader.cpp index b7b0367..3641c14 100644 --- a/source/platform/linux/xkb/lib/loader.cpp +++ b/source/platform/linux/xkb/lib/loader.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/opengl/egl/context.cpp b/source/platform/opengl/egl/context.cpp index 1da1fab..28571b6 100644 --- a/source/platform/opengl/egl/context.cpp +++ b/source/platform/opengl/egl/context.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/opengl/egl/surface.cpp b/source/platform/opengl/egl/surface.cpp index dc81a3c..d369a14 100644 --- a/source/platform/opengl/egl/surface.cpp +++ b/source/platform/opengl/egl/surface.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/unix/platform.cpp b/source/platform/unix/platform.cpp index df35f90..33b88db 100644 --- a/source/platform/unix/platform.cpp +++ b/source/platform/unix/platform.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/platform/window_manager.cpp b/source/platform/window_manager.cpp index 54e7164..84e04c7 100644 --- a/source/platform/window_manager.cpp +++ b/source/platform/window_manager.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/renderers/opengl/glcontext.cpp b/source/renderers/opengl/glcontext.cpp index fc777a3..4a10118 100644 --- a/source/renderers/opengl/glcontext.cpp +++ b/source/renderers/opengl/glcontext.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/source/scene/scene.cpp b/source/scene/scene.cpp index ef1588b..3d05fee 100644 --- a/source/scene/scene.cpp +++ b/source/scene/scene.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,18 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file scene.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - #include #include diff --git a/test.sh b/test.sh index 76dc1dc..b374555 100755 --- a/test.sh +++ b/test.sh @@ -1,6 +1,6 @@ ## ===================================================================================================================== ## fennec, a free and open source game engine -## Copyright © 2025 Medusa Slockbower +## Copyright © 2025 - 2026 Medusa Slockbower ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by diff --git a/test/main.cpp b/test/main.cpp index 0f35320..f080824 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec-test, a program to execute unit tests for fennec -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/printing.h b/test/printing.h index ecb3837..c04d22e 100644 --- a/test/printing.h +++ b/test/printing.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/test.h b/test/test.h index 441f166..3fd7570 100644 --- a/test/test.h +++ b/test/test.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec-test, a program to execute unit tests for fennec -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/containers/performance/test_iterator_visitor.h b/test/tests/containers/performance/test_iterator_visitor.h index e09e610..ed1081a 100644 --- a/test/tests/containers/performance/test_iterator_visitor.h +++ b/test/tests/containers/performance/test_iterator_visitor.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/containers/test_array.h b/test/tests/containers/test_array.h index dad2557..f62c72e 100644 --- a/test/tests/containers/test_array.h +++ b/test/tests/containers/test_array.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/containers/test_bintree.h b/test/tests/containers/test_bintree.h index 5be7a94..ce37a34 100644 --- a/test/tests/containers/test_bintree.h +++ b/test/tests/containers/test_bintree.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/containers/test_deque.h b/test/tests/containers/test_deque.h index 4f35751..71d19b6 100644 --- a/test/tests/containers/test_deque.h +++ b/test/tests/containers/test_deque.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/containers/test_dynarray.h b/test/tests/containers/test_dynarray.h index c845aa5..42e4410 100644 --- a/test/tests/containers/test_dynarray.h +++ b/test/tests/containers/test_dynarray.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/containers/test_graph.h b/test/tests/containers/test_graph.h index b21fccb..6a19564 100644 --- a/test/tests/containers/test_graph.h +++ b/test/tests/containers/test_graph.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/containers/test_list.h b/test/tests/containers/test_list.h index 4889807..9f12e05 100644 --- a/test/tests/containers/test_list.h +++ b/test/tests/containers/test_list.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -36,7 +36,7 @@ inline void fennec_test_containers_list() { const size_t n = 50; for (size_t i = 0; i < n; ++i) { const size_t p = rand() % (i + 1); - assertf(test.insert(p, i) == i, "List Construct Test Failed."); + assertf(test.insert(p, i) != test.end(), "List Construct Test Failed."); } while (test.is_empty() == false) { diff --git a/test/tests/containers/test_map.h b/test/tests/containers/test_map.h index d793d17..a179649 100644 --- a/test/tests/containers/test_map.h +++ b/test/tests/containers/test_map.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/containers/test_object_pool.h b/test/tests/containers/test_object_pool.h index f54de41..f2619e7 100644 --- a/test/tests/containers/test_object_pool.h +++ b/test/tests/containers/test_object_pool.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/containers/test_optional.h b/test/tests/containers/test_optional.h index 1b8e545..a67af95 100644 --- a/test/tests/containers/test_optional.h +++ b/test/tests/containers/test_optional.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/containers/test_priority_queue.h b/test/tests/containers/test_priority_queue.h index 3f48c49..6b59893 100644 --- a/test/tests/containers/test_priority_queue.h +++ b/test/tests/containers/test_priority_queue.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/containers/test_rdtree.h b/test/tests/containers/test_rdtree.h index 71f88f1..c0d05e3 100644 --- a/test/tests/containers/test_rdtree.h +++ b/test/tests/containers/test_rdtree.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/containers/test_sequence.h b/test/tests/containers/test_sequence.h index 70d7642..dbb9cee 100644 --- a/test/tests/containers/test_sequence.h +++ b/test/tests/containers/test_sequence.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,18 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file test_sequence.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - #ifndef FENNEC_TEST_CONTAINERS_SEQUENCE_H #define FENNEC_TEST_CONTAINERS_SEQUENCE_H #include diff --git a/test/tests/containers/test_set.h b/test/tests/containers/test_set.h index 03f0f13..c035ed8 100644 --- a/test/tests/containers/test_set.h +++ b/test/tests/containers/test_set.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/containers/test_tuple.h b/test/tests/containers/test_tuple.h index 207a899..2fe8ed6 100644 --- a/test/tests/containers/test_tuple.h +++ b/test/tests/containers/test_tuple.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/core/test_event.h b/test/tests/core/test_event.h index 370d7bb..ca29bf4 100644 --- a/test/tests/core/test_event.h +++ b/test/tests/core/test_event.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,19 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file test_event.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - - #ifndef FENNEC_TEST_CORE_EVENT_H #define FENNEC_TEST_CORE_EVENT_H diff --git a/test/tests/lang/test_bits.h b/test/tests/lang/test_bits.h index ed33d2a..32ab33c 100644 --- a/test/tests/lang/test_bits.h +++ b/test/tests/lang/test_bits.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/lang/test_conditional_types.h b/test/tests/lang/test_conditional_types.h index d1b93ed..52940d1 100644 --- a/test/tests/lang/test_conditional_types.h +++ b/test/tests/lang/test_conditional_types.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec-test, a program to execute unit tests for fennec -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/lang/test_function.h b/test/tests/lang/test_function.h index 9893c70..1a29a63 100644 --- a/test/tests/lang/test_function.h +++ b/test/tests/lang/test_function.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,19 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file test_function.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - - #ifndef FENNEC_TEST_LANG_FUNCTION_H #define FENNEC_TEST_LANG_FUNCTION_H diff --git a/test/tests/lang/test_hashing.h b/test/tests/lang/test_hashing.h index 78f24da..e80a6db 100644 --- a/test/tests/lang/test_hashing.h +++ b/test/tests/lang/test_hashing.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/lang/test_metaprogramming.h b/test/tests/lang/test_metaprogramming.h index 407f324..2b9c5cc 100644 --- a/test/tests/lang/test_metaprogramming.h +++ b/test/tests/lang/test_metaprogramming.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,19 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file test_metaprogramming.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - - #ifndef FENNEC_TEST_LANG_METAPROGRAMMING_H #define FENNEC_TEST_LANG_METAPROGRAMMING_H diff --git a/test/tests/math/ext/test_quaternion.h b/test/tests/math/ext/test_quaternion.h index 3aff7f0..93ad71f 100644 --- a/test/tests/math/ext/test_quaternion.h +++ b/test/tests/math/ext/test_quaternion.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/math/test_common.h b/test/tests/math/test_common.h index 526f030..e7d2515 100644 --- a/test/tests/math/test_common.h +++ b/test/tests/math/test_common.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/math/test_exponential.h b/test/tests/math/test_exponential.h index c387c4c..a1422bc 100644 --- a/test/tests/math/test_exponential.h +++ b/test/tests/math/test_exponential.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/math/test_ext.h b/test/tests/math/test_ext.h index 200dd53..7a56d5e 100644 --- a/test/tests/math/test_ext.h +++ b/test/tests/math/test_ext.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/math/test_geometric.h b/test/tests/math/test_geometric.h index 61c19f9..6ea517b 100644 --- a/test/tests/math/test_geometric.h +++ b/test/tests/math/test_geometric.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec-test, a program to execute unit tests for fennec -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/math/test_matrix.h b/test/tests/math/test_matrix.h index 5540a8e..11d2052 100644 --- a/test/tests/math/test_matrix.h +++ b/test/tests/math/test_matrix.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec-test, a program to execute unit tests for fennec -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/math/test_relational.h b/test/tests/math/test_relational.h index 0f5b041..6cbabff 100644 --- a/test/tests/math/test_relational.h +++ b/test/tests/math/test_relational.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/math/test_scalar.h b/test/tests/math/test_scalar.h index a88ba3d..5301143 100644 --- a/test/tests/math/test_scalar.h +++ b/test/tests/math/test_scalar.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec-test, a program to execute unit tests for fennec -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/math/test_trigonometric.h b/test/tests/math/test_trigonometric.h index a5f30fd..ae2fb06 100644 --- a/test/tests/math/test_trigonometric.h +++ b/test/tests/math/test_trigonometric.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/math/test_vector.h b/test/tests/math/test_vector.h index 2d1985b..e4588a0 100644 --- a/test/tests/math/test_vector.h +++ b/test/tests/math/test_vector.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec-test, a program to execute unit tests for fennec -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/string/test_cstring.h b/test/tests/string/test_cstring.h index 283a4c8..b568227 100644 --- a/test/tests/string/test_cstring.h +++ b/test/tests/string/test_cstring.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/string/test_string.h b/test/tests/string/test_string.h index 204026f..90dad25 100644 --- a/test/tests/string/test_string.h +++ b/test/tests/string/test_string.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,18 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file test_string.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - #ifndef FENNEC_TEST_STRING_STRING_H #define FENNEC_TEST_STRING_STRING_H diff --git a/test/tests/test_containers.h b/test/tests/test_containers.h index 8ec58b1..49f895c 100644 --- a/test/tests/test_containers.h +++ b/test/tests/test_containers.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec-test, a program to execute unit tests for fennec -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/test_core.h b/test/tests/test_core.h index 38685ed..04c36ab 100644 --- a/test/tests/test_core.h +++ b/test/tests/test_core.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,19 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file test_core.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - - #ifndef FENNEC_TEST_CORE_H #define FENNEC_TEST_CORE_H diff --git a/test/tests/test_filesystem.h b/test/tests/test_filesystem.h index 761a6fe..e6761c0 100644 --- a/test/tests/test_filesystem.h +++ b/test/tests/test_filesystem.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/test_format.h b/test/tests/test_format.h index a38ceb8..ef15424 100644 --- a/test/tests/test_format.h +++ b/test/tests/test_format.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,18 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file test_format.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - #ifndef FENNEC_TEST_FORMAT_H #define FENNEC_TEST_FORMAT_H diff --git a/test/tests/test_lang.h b/test/tests/test_lang.h index eadcb70..bacf40a 100644 --- a/test/tests/test_lang.h +++ b/test/tests/test_lang.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec-test, a program to execute unit tests for fennec -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/test_math.h b/test/tests/test_math.h index 6cf0b3f..28c2c6c 100644 --- a/test/tests/test_math.h +++ b/test/tests/test_math.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec-test, a program to execute unit tests for fennec -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/test_memory.h b/test/tests/test_memory.h index 218bd20..2c74782 100644 --- a/test/tests/test_memory.h +++ b/test/tests/test_memory.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec-test, a program to execute unit tests for fennec -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/test_platform.h b/test/tests/test_platform.h index fb6dda1..7472731 100644 --- a/test/tests/test_platform.h +++ b/test/tests/test_platform.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/test_rtti.h b/test/tests/test_rtti.h index 375153b..5e0f8c8 100644 --- a/test/tests/test_rtti.h +++ b/test/tests/test_rtti.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,18 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file test_rtti.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - #ifndef FENNEC_TEST_RTTI_H #define FENNEC_TEST_RTTI_H diff --git a/test/tests/test_string.h b/test/tests/test_string.h index a130083..615270a 100644 --- a/test/tests/test_string.h +++ b/test/tests/test_string.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/test/tests/test_threading.h b/test/tests/test_threading.h index dd9ffe6..3d4fc45 100644 --- a/test/tests/test_threading.h +++ b/test/tests/test_threading.h @@ -1,6 +1,6 @@ // ===================================================================================================================== // fennec, a free and open source game engine -// Copyright © 2025 Medusa Slockbower +// Copyright © 2025 - 2026 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -16,19 +16,6 @@ // along with this program. If not, see . // ===================================================================================================================== -/// -/// \file test_threading.h -/// \brief -/// -/// -/// \details -/// \author Medusa Slockbower -/// -/// \copyright Copyright © 2025 Medusa Slockbower ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)) -/// -/// - - #ifndef FENNEC_TEST_THREADING_H #define FENNEC_TEST_THREADING_H