fixed clear screen problem, menus are now shown correctly. lots new

bugs though
This commit is contained in:
2024-06-01 20:22:28 +02:00
committed by T.v.Dein
parent 9f1bdfd2af
commit 689b7be08b
10 changed files with 115 additions and 83 deletions

View File

@@ -12,11 +12,12 @@ import (
)
func main() {
dau := true
var directstart bool
if len(os.Args) > 1 {
dau = false
directstart = true
}
config, err := ParseCommandline()
if err != nil {
log.Fatal(err)
@@ -28,8 +29,9 @@ func main() {
}
start := Play
if dau {
if !directstart {
start = Menu
config.DelayedStart = true
}
game := NewGame(config, SceneName(start))