mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-17 18:06:03 -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
27 lines
1.3 KiB
Go
27 lines
1.3 KiB
Go
package d2enum
|
|
|
|
//go:generate stringer -linecomment -type MonsterAnimationMode -output monster_animation_mode_string.go
|
|
|
|
// MonsterAnimationMode represents monster animation modes
|
|
type MonsterAnimationMode int
|
|
|
|
// Monster animation modes
|
|
const (
|
|
MonsterAnimationModeDeath MonsterAnimationMode = iota // DT
|
|
MonsterAnimationModeNeutral // NU
|
|
MonsterAnimationModeWalk // WL
|
|
MonsterAnimationModeGetHit // GH
|
|
MonsterAnimationModeAttack1 // A1
|
|
MonsterAnimationModeAttack2 // A2
|
|
MonsterAnimationModeBlock // BL
|
|
MonsterAnimationModeCast // SC
|
|
MonsterAnimationModeSkill1 // S1
|
|
MonsterAnimationModeSkill2 // S2
|
|
MonsterAnimationModeSkill3 // S3
|
|
MonsterAnimationModeSkill4 // S4
|
|
MonsterAnimationModeDead // DD
|
|
MonsterAnimationModeKnockback // GH
|
|
MonsterAnimationModeSequence // xx
|
|
MonsterAnimationModeRun // RN
|
|
)
|