Twin-stick shooter
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.

18 lines
506 B

//go:build !js || !wasm
// +build !js !wasm
package main
import (
"flag"
)
func parseFlags(g *game) {
flag.BoolVar(&g.godMode, "god", false, "Enable God mode")
flag.BoolVar(&g.noclipMode, "noclip", false, "Enable noclip mode")
flag.BoolVar(&g.fullBrightMode, "fullbright", false, "Enable fullbright mode")
flag.BoolVar(&g.debugMode, "debug", false, "Enable debug mode")
flag.BoolVar(&g.muteAudio, "mute", false, "Mute audio")
flag.IntVar(&g.levelNum, "level", 0, "Warp to level")
flag.Parse()
}