mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-18 02:16:23 -05:00
e2e8a303c2
* Add PushEffect, handle effects in renderer * Set effects instead of blend * Stop using PushCompositeMode, use PushEffect * Remove remaining composite mode things
18 lines
292 B
Go
18 lines
292 B
Go
package ebiten
|
|
|
|
import (
|
|
"image/color"
|
|
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2enum"
|
|
"github.com/hajimehoshi/ebiten"
|
|
)
|
|
|
|
type surfaceState struct {
|
|
x int
|
|
y int
|
|
filter ebiten.Filter
|
|
color color.Color
|
|
brightness float64
|
|
effect d2enum.DrawEffect
|
|
}
|