Releases: Chris3606/GoRogue
Releases · Chris3606/GoRogue
2.5.1
2.5.0
2.4.3
2.4.2
2.4.1
New Features
- Added an
ApplyTerrainOverlay
function toGoRogue.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 onGoRogue.MapGeneration.QuickGenerators.GenerateDungeonMazeMap
2.4.0
New Features
- Added
ApplyTerrainOverlay
function toMap
, to make it easier to copy terrain to aMap
via a translation map. - Made type
T
forIMapView<T>
covariant to enable useful polymorphism, egIMapView<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
2.3.0
2.2.2
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
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