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?
22 lines
259 B
Go
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)
|
|
}
|