Skip to content

1.0.0

Latest

Choose a tag to compare

@copyrat90 copyrat90 released this 11 Sep 00:13
· 6 commits to main since this release
  • (Breaking change) Integer field type defaults to std::int32_t, when no limits present.
    • Previously, it was std::int16_t, because LDtk limits putting the integer value to [-32768..32767] when no limits specified.
  • (Breaking change) Added std::uint32_t as a valid integer field type
    • This changes the user-specified limit range [0..2147483647] to std::uint32_t, instead of std::int32_t
    • Also add std::uint64_t and std::int64_t for future expansions.

See ldtk::field::get<T>() documentation for more info about changed behavior.