Files
ordoor/cmd/wh40k/main.go
Nick Thomas 73804519b0 Beginnings of a WH40K.EXE implementation
So far, we just play the opening credits on an external video player.
I want to start loading and displaying the menus next. Perhaps I can
get the entire non-gameplay flow working?
2018-10-13 03:24:10 +01:00

22 lines
259 B
Go

package main
import (
"log"
"os"
"ur.gs/ordoor/internal/wh40k"
)
func main() {
configFile := "config.toml"
if len(os.Args) == 2 {
configFile = os.Args[1]
}
if err := wh40k.Run(configFile); err != nil {
log.Fatalf(err.Error())
}
os.Exit(0)
}