1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-09-25 04:36:12 -04:00

Fix bad file names (#626)

* Fixed bad capitalization in names

* More bad name fixes

* temp rename for case sensitivity issues

* Temporary rename to fix capitalization
This commit is contained in:
Tim Sarbin 2020-07-26 13:06:37 -04:00 committed by GitHub
parent 8c8ab94f8c
commit 63aa1eebe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 5 additions and 4 deletions

View File

@ -1,9 +1,9 @@
package d2DebugUtil
package d2debugutil
import (
"image"
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2DebugUtil/internal/assets"
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2debugutil/internal/assets"
"github.com/hajimehoshi/ebiten"
)

View File

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

View File

@ -9,7 +9,7 @@ import (
"github.com/hajimehoshi/ebiten"
"github.com/hajimehoshi/ebiten/ebitenutil"
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2DebugUtil"
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2debugutil"
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2enum"
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2interface"
)
@ -174,7 +174,7 @@ func (s *ebitenSurface) RenderSection(sfc d2interface.Surface, bound image.Recta
// DrawTextf renders the string to the surface with the given format string and a set of parameters
func (s *ebitenSurface) DrawTextf(format string, params ...interface{}) {
d2DebugUtil.D2DebugPrintAt(s.image, fmt.Sprintf(format, params...), s.stateCurrent.x, s.stateCurrent.y)
d2debugutil.D2DebugPrintAt(s.image, fmt.Sprintf(format, params...), s.stateCurrent.x, s.stateCurrent.y)
}
// DrawLine draws a line

1
go.mod
View File

@ -11,6 +11,7 @@ require (
github.com/pkg/profile v1.5.0
github.com/robertkrimen/otto v0.0.0-20191219234010-c382bd3c16ff
github.com/satori/go.uuid v1.2.0
github.com/stretchr/testify v1.4.0
golang.org/x/image v0.0.0-20200618115811-c13761719519
gopkg.in/alecthomas/kingpin.v2 v2.2.6
gopkg.in/sourcemap.v1 v1.0.5 // indirect