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:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user