Real-time strategy (RTS) video game
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
349 B

//go:build !js || !wasm
// +build !js !wasm
package main
import (
"flag"
"code.rocketnine.space/tslocum/commandeuropa/world"
)
func parseFlags() {
flag.IntVar(&world.Debug, "debug", 0, "print debug information")
flag.BoolVar(&world.StartMuted, "mute", false, "mute music")
flag.Parse()
if world.Debug > 0 {
world.ShownIntro = true
}
}