diff options
Diffstat (limited to 'nodedef.go')
-rw-r--r-- | nodedef.go | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -9,6 +9,8 @@ const ( P1Light ) +//go:generate stringer -trimprefix P1 -type Param1Type + type Param2Type uint8 const ( @@ -26,6 +28,8 @@ const ( P2GlassLikeLevel ) +//go:generate stringer -trimprefix P2 -type Param2Type + // A DrawType specifies how a node is drawn. type DrawType uint8 @@ -50,6 +54,8 @@ const ( DrawRootedPlant ) +//go:generate stringer -trimprefix Draw -type DrawType + type WaveType uint8 const ( @@ -59,6 +65,8 @@ const ( LiquidWaving // Wave up and down. ) +//go:generate stringer -type WaveType + type LiquidType uint8 const ( @@ -67,6 +75,8 @@ const ( LiquidSrc ) +//go:generate stringer -type LiquidType + // AlphaUse specifies how the alpha channel of a texture is used. type AlphaUse uint8 @@ -77,6 +87,8 @@ const ( Legacy ) +//go:generate stringer -type AlphaUse + type NodeDef struct { Param0 Content |