Skip to content

Version 1.1.0

Choose a tag to compare

@allejo allejo released this 13 Aug 02:39
· 11 commits to master since this release
2c07725

Despite the semantic versioning change, this is no minor change 😎 This release comes with support for unpacking the embedded world databases that are stored within replay files.

New

  • All world-related functionality was added to the new allejo\bzflag\world namespace
  • Added new Replay::getWorldDatabase() and ReplayHeader::getWorldDatabase() methods for accessing the world database

Changes

  • Replay related classes have been moved to the new allejo\bzflag\replays namespace. Classes in the original allejo\bzflag\networking namespace have been deprecated and will be removed in version 2.0.0.
    • InvalidReplayException
    • Replay
    • ReplayDuration
    • ReplayHeader

Changes Since Alpha 3

⚠️ BC Breaking Changes

  • INameableObstacle has been renamed to NameableObstacleInterface
  • IWorldDatabaseAware has been renamed to WorldDatabaseAwareInterface
  • Exceptions have been moved into a dedicated Exceptions namespace
    • allejo\bzflag\networking\InaccessibleResourceException => allejo\bzflag\networking\Exceptions\InaccessibleResourceException
    • allejo\bzflag\networking\InvalidTimestampFormatException => allejo\bzflag\networking\Exceptions\InvalidTimestampFormatException
    • allejo\bzflag\replays\InvalidReplayException => allejo\bzflag\replays\Exceptions\InvalidReplayException
    • allejo\bzflag\world\GroupDefinitionNotFoundException => allejo\bzflag\world\Exceptions\GroupDefinitionNotFoundException
    • allejo\bzflag\world\InvalidWorldCompression => allejo\bzflag\world\Exceptions\InvalidWorldCompressionException
    • allejo\bzflag\world\InvalidWorldDatabase => allejo\bzflag\world\Exceptions\InvalidWorldDatabaseException
    • allejo\bzflag\world\NamedObstacleNotFoundException => allejo\bzflag\world\Exceptions\NamedObstacleNotFoundException

New

  • Added Replay::getWorldDatabase() convenience method
  • Added support for unpacking teleporter links
  • The initial BZDB state of the world is now available in the World Database
  • Water level, world weapons, and world zones are now unpacked
  • BZDB Manager can now return all values

Fixes

  • Add defaults to ArcObstacle and TextureMatrix to prevent invalid values