Skip to content

Releases: Chris3606/GoRogue

2.5.1

09 Sep 22:24
Compare
Choose a tag to compare

Bugfixes

  • Update Troschuetz.Random library to new version that fixes RNG bug. Removed temporary workaround in GoRogue code
  • Fixed various docstring typos

2.5.0

24 Aug 04:04
Compare
Choose a tag to compare

New Features

  • Added serialization capability to basic data classes.
  • Added equality operators for classes that can be serialized to avoid reference-equality de-sync issues.

2.4.3

16 Jul 02:30
Compare
Choose a tag to compare

Bugfixes

  • Fixed FleeMap.GetDirectionOfMinValue to access proper member
  • Tweaked GetDirectionOfMinValue to return sensible values in cases where the current square is the min.

2.4.2

14 Jul 15:47
Compare
Choose a tag to compare

Bugfixes

  • BasicRoomsGenerator now returns interior rectangles as documented/intended

New Features

  • Added option to disable 2-wide vertical tunnels in DirectLineTunnelCreator.

2.4.1

21 Jun 03:27
Compare
Choose a tag to compare

New Features

  • Added an ApplyTerrainOverlay function to GoRogue.GameFramework.Map to allow easy translation of map generation results to game objects.

Bugfixes

  • Fixed ArgumentOutOfRange exception that could be thrown when using default RNG on GoRogue.MapGeneration.QuickGenerators.GenerateDungeonMazeMap

2.4.0

07 Jun 02:46
Compare
Choose a tag to compare

New Features

  • Added ApplyTerrainOverlay function to Map, to make it easier to copy terrain to a Map via a translation map.
  • Made type T for IMapView<T> covariant to enable useful polymorphism, eg IMapView<BaseType> map = /* object implementing IMapView<DerivedType> where DerivedType : BaseType */

Bugfixes

  • GoRogue.GameFramework.Entity/GoRogue.GameFramework.Map now properly check for out-of-bounds locations on move/adding entity to map.
  • LambdaTranslationMap now passes correct positions to the given getter function when a function taking a Coord parameter is used.

2.3.1

04 Jun 04:01
Compare
Choose a tag to compare

Bugfixes

  • FOV no longer throws NullReferenceException if FOV location values are accessed before FOV is initially calculated.

2.3.0

23 May 18:36
Compare
Choose a tag to compare

New Features

  • Added messaging/event dispatch system, which allows subscribing to messages based on their type in a type-safe, inheritance-safe way.

2.2.2

03 May 22:14
Compare
Choose a tag to compare

Bugfixes

  • Fixed bug involving AStar w/default heuristic rarely creating valid but non-shortest paths when weights less than 1.0 are used.
    • If you are currently passing custom weights to AStar or FastAStar and using the default heuristic, you will need to add to the list of parameters given to the constructor the minimum weight in the weights map view. The number you give must be less than or equal to the minimum weight in the weights list. If that minimum weight needs to be lowered later, set the value of the new MinimumWeight field.

2.2.1

30 Apr 20:05
Compare
Choose a tag to compare

New Features

  • Added overload of Rectangle.RandomPositions that takes the rectangle, to avoid the need to capture it in a lambda in cases where its needed.

Bugfixes

  • Directional FOV and directional sense sources now properly respect the angle/span put in, and do not offset the view area due to floating point error