mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-16 09:25:57 -05:00
6e31cfb52a
* migrate to ebiten v2.0 API * fixed lint errors
22 lines
392 B
Go
22 lines
392 B
Go
package ebiten
|
|
|
|
import (
|
|
"image/color"
|
|
|
|
"github.com/hajimehoshi/ebiten/v2"
|
|
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2enum"
|
|
)
|
|
|
|
type surfaceState struct {
|
|
x int
|
|
y int
|
|
filter ebiten.Filter
|
|
color color.Color
|
|
brightness float64
|
|
saturation float64
|
|
effect d2enum.DrawEffect
|
|
skewX, skewY float64
|
|
scaleX, scaleY float64
|
|
}
|