mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-03 23:26:41 -05:00
fixed remaining lint errors
This commit is contained in:
parent
85ac48bff6
commit
1c8240d869
@ -14,6 +14,7 @@ import (
|
||||
var _ d2interface.Animation = &DC6Animation{} // Static check to confirm struct conforms to
|
||||
// interface
|
||||
|
||||
// NewDC6Animation creates an animation from a dc6 file
|
||||
func NewDC6Animation(
|
||||
dc6 *d2dc6.DC6,
|
||||
pal d2interface.Palette,
|
||||
|
@ -17,6 +17,7 @@ import (
|
||||
var _ d2interface.Animation = &DCCAnimation{} // Static check to confirm struct conforms to
|
||||
// interface
|
||||
|
||||
// NewDCCAnimation creates an animation from a dcc file
|
||||
func NewDCCAnimation(
|
||||
dcc *d2dcc.DCC,
|
||||
pal d2interface.Palette,
|
||||
|
2
d2common/d2animation/doc.go
Normal file
2
d2common/d2animation/doc.go
Normal file
@ -0,0 +1,2 @@
|
||||
// Package d2animation provides functions for creating animations for various file formats
|
||||
package d2animation
|
@ -4,6 +4,7 @@ import (
|
||||
"github.com/gravestench/akara"
|
||||
)
|
||||
|
||||
// Scene is an extension of akara.System
|
||||
type Scene interface {
|
||||
akara.SystemInitializer
|
||||
Key() string
|
||||
|
@ -1,13 +1,13 @@
|
||||
package d2asset
|
||||
|
||||
import (
|
||||
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2fileformats/d2tbl"
|
||||
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2util"
|
||||
"github.com/OpenDiablo2/OpenDiablo2/d2core/d2records"
|
||||
"testing"
|
||||
|
||||
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2cache"
|
||||
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2fileformats/d2tbl"
|
||||
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2loader"
|
||||
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2util"
|
||||
"github.com/OpenDiablo2/OpenDiablo2/d2core/d2records"
|
||||
)
|
||||
|
||||
func TestAssetManager_LoadFile_NoSource(t *testing.T) {
|
||||
|
2
main.go
2
main.go
@ -3,11 +3,11 @@ package main
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/OpenDiablo2/OpenDiablo2/d2core/d2systems"
|
||||
"github.com/gravestench/akara"
|
||||
"gopkg.in/alecthomas/kingpin.v2"
|
||||
|
||||
"github.com/OpenDiablo2/OpenDiablo2/d2app"
|
||||
"github.com/OpenDiablo2/OpenDiablo2/d2core/d2systems"
|
||||
)
|
||||
|
||||
// GitBranch is set by the CI build process to the name of the branch
|
||||
|
Loading…
Reference in New Issue
Block a user