From 7bfb9a3b614193dbdea6b12b188d6e29e16143b5 Mon Sep 17 00:00:00 2001 From: xushiwei Date: Wed, 13 Mar 2024 17:41:10 +0800 Subject: [PATCH 1/2] TODO --- game.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/game.go b/game.go index 720992cd..86d15735 100644 --- a/game.go +++ b/game.go @@ -124,7 +124,7 @@ func (p *Game) initGame() { } // Gopt_Game_Main is required by Go+ compiler as the entry of a .gmx project. -func Gopt_Game_Main(game Gamer) { +func Gopt_Game_Main(game Gamer) { // TODO(xsw): sprites ...Spriter) { game.initGame() game.(interface{ MainEntry() }).MainEntry() } @@ -1420,3 +1420,5 @@ func (p *Game) HideVar(name string) { func (p *Game) ShowVar(name string) { p.setStageMonitor("", getVarPrefix+name, true) } + +// ----------------------------------------------------------------------------- From 22d6d9eaf9a17578b346c5a880b5ccada47d980a Mon Sep 17 00:00:00 2001 From: xushiwei Date: Wed, 13 Mar 2024 17:42:20 +0800 Subject: [PATCH 2/2] go1.18 --- go.mod | 14 ++++++++++++++ go.sum | 1 - 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 89b5ade9..2fdc12c6 100644 --- a/go.mod +++ b/go.mod @@ -15,6 +15,20 @@ require ( golang.org/x/mobile v0.0.0-20220518205345-8578da9835fd ) +require ( + github.com/esimov/stackblur-go v1.0.1-0.20190121110005-00e727e3c7a9 // indirect + github.com/go-gl/glfw/v3.3/glfw v0.0.0-20220320163800-277f93cfa958 // indirect + github.com/gofrs/flock v0.8.1 // indirect + github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect + github.com/hajimehoshi/go-mp3 v0.3.3 // indirect + github.com/hajimehoshi/oto/v2 v2.1.0 // indirect + github.com/jezek/xgb v1.0.0 // indirect + golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56 // indirect + golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect + golang.org/x/sys v0.0.0-20220408201424-a24fb2fb8a0f // indirect + golang.org/x/text v0.3.7 // indirect +) + replace ( github.com/hajimehoshi/oto => github.com/hajimehoshi/oto v1.0.1 github.com/srwiley/oksvg => github.com/qiniu/oksvg v0.2.0-no-charset diff --git a/go.sum b/go.sum index 7d93669a..29d673f2 100644 --- a/go.sum +++ b/go.sum @@ -21,7 +21,6 @@ github.com/hajimehoshi/file2byteslice v0.0.0-20210813153925-5340248a8f41/go.mod github.com/hajimehoshi/go-mp3 v0.3.2/go.mod h1:qMJj/CSDxx6CGHiZeCgbiq2DSUkbK0UbtXShQcnfyMM= github.com/hajimehoshi/go-mp3 v0.3.3 h1:cWnfRdpye2m9ElSoVqneYRcpt/l3ijttgjMeQh+r+FE= github.com/hajimehoshi/go-mp3 v0.3.3/go.mod h1:qMJj/CSDxx6CGHiZeCgbiq2DSUkbK0UbtXShQcnfyMM= -github.com/hajimehoshi/oto v1.0.1 h1:8AMnq0Yr2YmzaiqTg/k1Yzd6IygUGk2we9nmjgbgPn4= github.com/hajimehoshi/oto v1.0.1/go.mod h1:wovJ8WWMfFKvP587mhHgot/MBr4DnNy9m6EepeVGnos= github.com/hajimehoshi/oto/v2 v2.1.0 h1:/h+UkbKzhD7xBHOQlWgKUplBPZ+J4DK3P2Y7g2UF1X4= github.com/hajimehoshi/oto/v2 v2.1.0/go.mod h1:9i0oYbpJ8BhVGkXDKdXKfFthX1JUNfXjeTp944W8TGM=