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.

19 lines
506 B

8 months ago
//go:build !js || !wasm
// +build !js !wasm
package main
import (
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")
8 months ago
flag.IntVar(&g.levelNum, "level", 0, "Warp to level")
8 months ago