Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- vk::throwResultException got moved to vk::detail::throwResultException - not sure why, it's convenient so I'm gonna keep using it anyway - update fmtlib to latest release - clean up Logging and make it use vformat to improve compile times and code bloat - added a format_consteval function to Strings.hpp that formats a stack string at compile time - update imgui to a merged version of docking/string_view - FINALLY I could remove most of the string_view wrappers as ImStrv makes them redundant - CStrView is gone, the few remaining functions that take c strings are still re-implemented - merged HoverTooltip and HoverTooltipFixed, pass dir=None for automatic placement - added a "delay" param to handle the new delay feature in imgui - added a "dir" param that specifies where the tooltip should appear - take format str and args as params so that the format string can be lazily evaluated - added a new function "AutoArrange" that automatically arranges widgets over one or more lines - added "if_Table" helper for BeginTable/EndTable - added IMPLUS_WITH macro for use with Scope/Style helpers - automatically generates a variable name so you don't need to come up with one - update miniaudio, update sound file loading to match new api - removed lean mean cpp option parser, which I don't think I ever used - there are much better newer libs to use for when I eventually need option parsing - update catch, update the tests - Approx was depreciated, replaced sq::Approx with new Matchers - added tl::expected to redist, a std::expected implementation for c++20 - added *_config.hpp files for miniaudio, stb_image, and yyjson with defines for each lib - print out basic platform/compiler info when running an Application - rework ResourceCache/Handle - renamed try_acquire to acquire_safe for consistency with other sqee functions - added an error string member to Resource - instead of returning a null handle on failure, an error resource is created - error resources have no value, instead they have an error string - added basic support for c++ class inheritence to WrenPlus - current implementation just dynamic_casts to every type listed until something works - no support for multiple inheritence or multiple levels of inheritence - changed Exception to just inherit from runtime_error instead of storing a std::string - new features for DrawItem - added a check_visibility method, along with visDataType and visSampleOffset fields - this allows animations to disable items completely - added ConstPackedBits as a new ParamType - this is intended for use with "ubershaders", like the one for brawl effects in STS - added ConstTexTransform as a new ParamType - so far only used for identity transforms to reduce shader permutations - added an order field that can be used to explicitly sort items within a pass - Pipeline now checks that push constants with the same name or offset match between stages - cleaned up maths code and made a bunch more things constexpr - finally removed the non-standard anonymous structs - fixed maths::srgb_to_linear - didn't touch Culling or Volumes coz that stuff needs a lot more work - added split_string utility function to Parsing that takes delimiters as template args - added acquire_safe method to ResourceCache that returns an expected - replace nlohmann json with yyjson + custom c++ wrappers - parsing is now much, much faster, and the api is also more convenient - PipelineCache now uses a minified string as a key rather than a json value - added three new core headers, TypeAliases, TypeTraits, and TypeNames - TypeAliases is similar to the old Types.hpp, except: - where possible, things are forward declarations instead of full includes - does not include random non-alias types like std::vector or std::map - I do want phase out Types.hpp, but don't want to bloat this commit even more - TypeTraits.hpp is a centralised place for concepts and variable templates - TypeNames.hpp replaces the old type_to_string functions that were all over the place - uses format_consteval to support arbitary template params - greatly simplified SQEE_ENUM_HELPER - added new generic SQEE_COUNT_ARGS and SQEE_STRINGIFY_ARGS macros to Macros.hpp - with these + cpp20 using enum it's possible to get rid of the EnumTraits struct completely - replaced has_enum_traits_v with a HasEnumHelper concept - fixed building with clang/libc++ - build sqee with -wpedantic now that the anonymous structs are gone - added support to Application for reducing update rate after a period of inactivity - currently very basic and a bit smelly, but solves the immediate issue of my laptop overheating
- Loading branch information