mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-01-12 20:36:25 -05:00
894c60f77a
* Fixed NaN on normalize 0 vector. * Tentative implementation in getStepLength. * mapEntity.TileX/Y removed. * Fixed Position and Target not being initialised in createMapEntity. * mapEntity.Position is no longer embedded. * mapEntity.LocationX/Y no longer used outside map_entity.go. * mapEntity.subCellX/Y removed. * mapEntity.LocationX/Y removed. * mapEntity.OffsetX/Y and TargetX/Y removed. * Direction method added to Vector, returns 0-64 direction. * Moved Vector.Direction() to Position.DirectionTo and refactored. * Renamed RenderOffset from SubCell and tested IsZero. * d2math.WrapInt added for use with directions. * Tidied up position and tests. * Refactored d2common.AdjustWithRemainder into d2mapEntity. * Tidying up d2mapEntity. * Final cleanup. * Lint warnings. * Spelling correction. |
||
---|---|---|
.. | ||
d2astar | ||
d2data | ||
d2DebugUtil | ||
d2enum | ||
d2fileformats | ||
d2interface | ||
d2math | ||
d2resource | ||
bitmuncher.go | ||
bitstream_test.go | ||
bitstream.go | ||
build_info.go | ||
cache.go | ||
calcstring.go | ||
data_dictionary.go | ||
doc.go | ||
math.go | ||
music_defs.go | ||
path_tile.go | ||
path.go | ||
Point.go | ||
rectangle.go | ||
size.go | ||
stream_reader_test.go | ||
stream_reader.go | ||
stream_writer_test.go | ||
stream_writer.go | ||
stringutils.go | ||
text_dictionary.go | ||
timeutils.go |