mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-18 18:36:12 -05:00
ba89bf965a
The edits outside of d2render or to fix the lint error for `DrawText`. `DrawText` should be called `DrawTextf` because it formats the string.
19 lines
293 B
Go
19 lines
293 B
Go
package ebiten
|
|
|
|
import (
|
|
"image/color"
|
|
|
|
"github.com/hajimehoshi/ebiten"
|
|
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2enum"
|
|
)
|
|
|
|
type surfaceState struct {
|
|
x int
|
|
y int
|
|
filter ebiten.Filter
|
|
color color.Color
|
|
brightness float64
|
|
effect d2enum.DrawEffect
|
|
}
|