mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-17 09:56:07 -05:00
9e58b134e5
* 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
20 lines
865 B
Go
20 lines
865 B
Go
package d2enum
|
|
|
|
//go:generate stringer -linecomment -type ObjectAnimationMode -output object_animation_mode_string.go
|
|
//go:generate string2enum -samepkg -linecomment -type ObjectAnimationMode -output object_animation_mode_string2enum.go
|
|
|
|
// ObjectAnimationMode represents object animation modes
|
|
type ObjectAnimationMode int
|
|
|
|
// Object animation modes
|
|
const (
|
|
ObjectAnimationModeNeutral ObjectAnimationMode = iota // NU
|
|
ObjectAnimationModeOperating // OP
|
|
ObjectAnimationModeOpened // ON
|
|
ObjectAnimationModeSpecial1 // S1
|
|
ObjectAnimationModeSpecial2 // S2
|
|
ObjectAnimationModeSpecial3 // S3
|
|
ObjectAnimationModeSpecial4 // S4
|
|
ObjectAnimationModeSpecial5 // S5
|
|
)
|