1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2025-02-20 15:37:31 -05:00
Julien Ganichot 0d691dbffa
Key binding menu (#918)
* Feat(KeyBindingMenu): Adds dynamic box system with scrollbar

* Feat(Hotkeys): WIP Adds a lot of things

* Feat(KeyBindingMenu): WIP Adds logic to binding

* Feat(KeyBindingMenu): Fixes assignment logic

* Feat(KeyBindingMenu): Adds buttons logic

* Feat(KeyBindingMenu): Fixes sprites positions+add padding to Box

* Feat(KeyBindingMenu): Adds label blinking cap

* Feat(KeyBindingMenu): Removes commented func

* Feat(KeyBindingMenu): Fixes lint errors and refactors a bit

* Feat(KeyBindingMenu): Corrects few minor things from Grave

* Feat(KeyBindingMenu): removes forgotten key to string mapping
2020-11-13 12:03:30 -08:00
..
2020-08-06 16:45:22 -04:00
2020-07-09 23:12:28 -04:00
2020-07-09 23:12:28 -04:00
2020-09-12 16:25:09 -04:00
2020-07-09 23:12:28 -04:00
2020-07-30 10:14:15 -04:00
2020-11-13 12:03:30 -08:00
2020-07-09 23:12:28 -04:00
2020-07-09 23:12:28 -04:00
2020-07-09 23:12:28 -04:00
2020-10-25 17:28:40 -07:00
2020-11-13 12:03:30 -08:00
2020-07-09 23:12:28 -04:00
2020-07-09 23:12:28 -04:00
2020-07-09 23:12:28 -04:00
2020-08-06 16:45:22 -04:00
2020-07-09 23:12:28 -04:00
2020-08-06 16:45:22 -04:00
2020-07-09 23:12:28 -04:00
2020-08-06 16:45:22 -04:00
2020-07-23 12:56:50 -04:00
2020-07-09 23:12:28 -04:00
2020-07-09 23:12:28 -04:00
2020-07-09 23:12:28 -04:00
2020-07-09 23:12:28 -04:00

OpenDiablo2 Enums

Items in this folder are compiled with two programs. You can obtain them by running the following:

go get golang.org/x/tools/cmd/stringer
go get github.com/mewspring/tools/cmd/string2enum

Once you have the tools installed, simply run the following command in this folder to regenerate the support files:

go generate

If you add any enums (e.g. AnimationMode), make sure to add the following to the end of the file:

//go:generate stringer -linecomment -type AnimationMode