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?
This commit is contained in:
2018-10-13 03:24:10 +01:00
parent 019108bff8
commit 73804519b0
5 changed files with 88 additions and 2 deletions

View File

@@ -1,5 +1,21 @@
package main
func 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)
}