1
1
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:
gravestench 2020-11-22 13:54:18 -08:00
parent 85ac48bff6
commit 1c8240d869
6 changed files with 9 additions and 4 deletions

View File

@ -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,

View File

@ -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,

View File

@ -0,0 +1,2 @@
// Package d2animation provides functions for creating animations for various file formats
package d2animation

View File

@ -4,6 +4,7 @@ import (
"github.com/gravestench/akara"
)
// Scene is an extension of akara.System
type Scene interface {
akara.SystemInitializer
Key() string

View File

@ -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) {

View File

@ -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