1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-18 02:16:23 -05:00
OpenDiablo2/d2common
danhale-git 921d44a70c
mapEntity.Step() benchmark and improvements. (#593)
* Initial test and benchmark for mapEntity.Step().

* Removed `&& !m.hasPath()` from mapEntity.atTarget

* Direction is now updated when the path node changes mid-step and target is updated when path is set.

* Test improvements.

* Deleted old benchmark function and tidying.

* d2math.Abs added.

* Abs benchmark and optimisation.

* Negate and Distance benchmark.

* Length and SetLength benchmark.

* Lerp and Dot benchmark.

* Cross and Normalize benchmark.

* Angle and SignedAngle benchmark.

* Trivial change to Vector.Abs()
2020-07-16 12:06:08 -04:00
..
d2astar Replace ebitenUtil with d2DebugUtil and new charmap for debugger. (#577) 2020-07-11 18:12:20 -04:00
d2data Loaded Skills.txt (#583) 2020-07-14 06:59:49 -04:00
d2DebugUtil set compositing on debug print so text bg is transparent (#578) 2020-07-11 20:33:20 -04:00
d2enum Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
d2fileformats Add static checks to help ensure implementations conform to interfaces (#582) 2020-07-13 09:05:04 -04:00
d2interface Vector float64 (#565) 2020-07-09 08:30:55 -04:00
d2math mapEntity.Step() benchmark and improvements. (#593) 2020-07-16 12:06:08 -04:00
d2resource Loaded Skills.txt (#583) 2020-07-14 06:59:49 -04:00
bitmuncher.go Add static checks to help ensure implementations conform to interfaces (#582) 2020-07-13 09:05:04 -04:00
bitstream_test.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
bitstream.go Add static checks to help ensure implementations conform to interfaces (#582) 2020-07-13 09:05:04 -04:00
build_info.go merged d2shared into the core package (#275) 2020-01-26 00:39:13 -05:00
cache.go Add static checks to help ensure implementations conform to interfaces (#582) 2020-07-13 09:05:04 -04:00
calcstring.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
data_dictionary.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
doc.go moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
math.go Map entity rework - vectors in mapEntity (#579) 2020-07-13 09:06:50 -04:00
music_defs.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
path_tile.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
path.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
Point.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
rectangle.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
size.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
stream_reader_test.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
stream_reader.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
stream_writer_test.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
stream_writer.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
stringutils.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
text_dictionary.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
timeutils.go Working on d2input.go for #487 (#514) 2020-07-01 14:03:40 -04:00