mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-06 00:26:40 -05:00
* 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
43 lines
1.7 KiB
Go
43 lines
1.7 KiB
Go
package d2enum
|
|
|
|
// DrawEffect is a draw effect
|
|
type DrawEffect int
|
|
|
|
// Names courtesy of Necrolis
|
|
const (
|
|
// DrawEffectPctTransparency25 is a draw effect that implements the following function:
|
|
// GL_MODULATE; GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA 25 % transparency (colormaps 49-304 in a .pl2)
|
|
DrawEffectPctTransparency25 DrawEffect = iota
|
|
|
|
// DrawEffectPctTransparency50 is a draw effect that implements the following function:
|
|
// GL_MODULATE; GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA 50 % transparency (colormaps 305-560 in a .pl2)
|
|
DrawEffectPctTransparency50
|
|
|
|
// DrawEffectPctTransparency75 is a draw effect that implements the following function:
|
|
// GL_MODULATE; GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA 75 % transparency (colormaps 561-816 in a .pl2)
|
|
DrawEffectPctTransparency75
|
|
|
|
// DrawEffectModulate is a draw effect that implements the following function:
|
|
// GL_MODULATE; GL_SRC_ALPHA, GL_DST_ALPHA (colormaps 817-1072 in a .pl2)
|
|
DrawEffectModulate
|
|
|
|
// DrawEffectBurn is a draw effect that implements the following function:
|
|
// GL_MODULATE; GL_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA (colormaps 1073-1328 in a .pl2)
|
|
DrawEffectBurn
|
|
|
|
// DrawEffectNormal is a draw effect that implements the following function:
|
|
// GL_MODULATE; GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA (colormaps 1457-1712 in a .pl2)
|
|
DrawEffectNormal
|
|
|
|
// DrawEffectMod2XTrans is a draw effect that implements the following function:
|
|
// GL_MODULATE; GL_SRC_COLOR, GL_DST_ALPHA (colormaps 1457-1712 in a .pl2)
|
|
DrawEffectMod2XTrans
|
|
|
|
// DrawEffectMod2X is a draw effect that implements the following function:
|
|
// GL_COMBINE_ARB; GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA (colormaps 1457-1712 in a .pl2)
|
|
DrawEffectMod2X
|
|
|
|
// no effect
|
|
DrawEffectNone
|
|
)
|