Releases: dgcor/DGEngine.core
Releases · dgcor/DGEngine.core
DGEngine v1.2.0
- add action event.timeout - add function to pack ImageContainer and return image + rects - add getTimeUVal and tests - add LazyImageContainer - add mingw presets - add option to draw whitespace in BitmapFont - add panel.AddDrawable action - add properties to Circle and Scrollable - add rectpack2D library - add reset to game constructor - add saveBytes function - add smooth fonts option - add spdlog support - add splitStringView - add startPosition and bytesToRead properties to file resource - add tests using Catch2 - fix errors caught with tests - fix loadingScreen showing background when StretchToFit is off - make getColorVal function work with json arrays of RGBA - make ParseAnimation read group and direction indexes - make Scrollable move in different directions - make Surface accept parameter not to be even aligned in size - refactor - refactor BitmapFontTexturePack to use ImageUtils::packImages - refactor GameUtils replace string functions to reuse the same code - refactor GameUtils::getTime to support negative numbers - refactor JsonUtils::replaceValuesWithGameVar to use same code as GameUtils's replace functions - refactor TexturePacks - remove custom vcpkg ports - remove DrawableText constructor from Text and replace it with Font constructor - remove endsWith function (use standard C++) - remove extra splitString and make existing accept multiple delimiters - remove getFramesKey/Val and use getRangeKey/Val - remove ParseUtilsIdx - remove ReverseIterable.h and use std::ranges - rename splitText to wordWrap - update BitmapFontTexturePack to support ImageContainers - update CMake files - update documentation - update dr_wav.h - update endian - update getTime implementation - update menu.setFont and menu.setAction to set both for all menu items by default - update NumberVector to load numbers separated by commas and whitespace too - update palette to load text based palettes - update ParseTexturePackIndexes.h to support texture index ranges - update ParseTexturePackIndexes.h to support texture indexes in reverse order - update sfeMovie to support ffmpeg 4, 5 and 6 - update SFML to official 2.6.0 release - use getSizeKey instead of getVector2fKey (rounds floats) - use getTimeU instead of GetTime - use small_vector instead of element + vector - use std::byte in FileBytes