1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-26 09:05:24 +00:00
OpenDiablo2/d2common
thetogi 7b60882ba3
Replace ebitenUtil with d2DebugUtil and new charmap for debugger. (#577)
* lint updates for /d2astar

* png issue

* debug package

* load bmp properly

* debug draft

* Vector float64 (#565)

* Fixed nil pointer in Copy()

* Position added

Added Floor() and String() methods to Vector.

Also added Position which declares an embedded Vector2 and returns various forms of it.

* d2vector.Vector2 renamed to d2vector.BigFloat

* vector.go renamed to big_float.go

* Float64 stub and more renaming

* Vector value getters

* Separate vector types with initial methods.

* Divide and lint warnings.

* Distance and Length.

* Scale, Abs and Negate.

* CompareFloat64Fuzzy delta direction reversed.

* Refactor vector_test.go.

* Renamed Approx methods.

* Distance and Length.

* Distance and Length.

* Removed BigFloat and Vector, renamed Float64 to Vector, simplified tests.

* Angle, SignedAngle and other small functions.

* Receiver rename.

* SingedAngle and test fixed

* Rotate.

* SetLength.

* Cross.

* NinetyAnti and NinetyClock.

* Lerp and Clamp.

* Reflect and ReflectSurface.

* Cardinal convenience functions.

* Comments.

* Panic on NaN and Inf in Position.

* Lint warnings and comments.

* D2map lint warnings (#566)

* Comments and newlines in engine.go

* Comments and newlines in object.go

* Comments and newlines in animated_entity.go

* Comments and newlines in missile.go

* Comments and newlines in npc.go

* Comments and newlines in player.go

* Removed object.go (incorrectly merged it in during rebase).

* Comments and newlines in renderer.go.

* Comments and newlines in map_entity.go.

* Comments and newlines in walk_mesh.go.

* Comments and newlines in viewport.go and tile_cache.go.

* Comments and newlines in stamp.go and wilderness_tile_types.go.

* Comments and newlines in everything else.

* removing inventory grid test for now because it causes builds to fail on github (#570)

* Refactored d2enum (#567)

* Refactored animation mode enum

* More d2enum changes

* Refactored tile enum

* Refactored weapon class enum

* Refactored more enums

* Refactored item event enum

* Fixed init_functions animation mode

* Removed string2enum from MonsterAnimationMode

* Refactored ItemStatCost description

* Last enum lint errors

* Regenerated monster stringer file

* compressed image

* Replaced restruct with StreamReader (#574)

* Fixed bug in palette.go (#575)

* Javascript console commands (#572)

* Allow the execution of JS from the terminal when hosting a local game or playing a single game

Signed-off-by: William Claude <w.claude@thebeat.co>

* Reorganise imports on edited files

Signed-off-by: William Claude <w.claude@thebeat.co>

* Remove Reset

Signed-off-by: William Claude <w.claude@thebeat.co>

* Add inventory.txt loader, use the records (#573)

* adding resource entry for inventory.txt

* adding loader for inventory.txt

* adding call to inventory.txt loader in d2app

* d2game now uses the inventory.txt records for making the inventory panel

* removed comments

* remove unused files

* update go.mod

* lint updates for /d2astar

* png issue

* update go.mod

Co-authored-by: danhale-git <36298392+danhale-git@users.noreply.github.com>
Co-authored-by: dk <dknuth0101@gmail.com>
Co-authored-by: Intyre <Intyre@gmail.com>
Co-authored-by: William <1004323+aziule@users.noreply.github.com>
2020-07-11 18:12:20 -04:00
..
d2astar Replace ebitenUtil with d2DebugUtil and new charmap for debugger. (#577) 2020-07-11 18:12:20 -04:00
d2data Add inventory.txt loader, use the records (#573) 2020-07-11 11:25:34 -04:00
d2DebugUtil Replace ebitenUtil with d2DebugUtil and new charmap for debugger. (#577) 2020-07-11 18:12:20 -04:00
d2enum Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
d2fileformats Replaced restruct with StreamReader (#574) 2020-07-10 23:02:45 -04:00
d2interface Vector float64 (#565) 2020-07-09 08:30:55 -04:00
d2math Position supports current coordinate types. (#576) 2020-07-11 18:11:26 -04:00
d2resource Add inventory.txt loader, use the records (#573) 2020-07-11 11:25:34 -04:00
bitmuncher.go Decouple bitmuncher (#495) 2020-06-29 20:21:09 -04:00
bitstream_test.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
bitstream.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -04:00
build_info.go merged d2shared into the core package (#275) 2020-01-26 00:39:13 -05:00
cache.go lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -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 lint fixes for the d2common package (#558) 2020-07-08 09:16:56 -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