Remove the -win-x and -win-y options for the ordoor binary
This commit is contained in:
@@ -12,6 +12,9 @@ import (
|
||||
var (
|
||||
gamePath = flag.String("game-path", "./orig", "Path to a WH40K: Chaos Gate installation")
|
||||
menuName = flag.String("menu", "", "Name of a menu, e.g. Main")
|
||||
|
||||
winX = flag.Int("win-x", 1280, "Pre-scaled window X dimension")
|
||||
winY = flag.Int("win-y", 1024, "Pre-scaled window Y dimension")
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -37,7 +40,7 @@ func main() {
|
||||
log.Fatalf("Couldn't initialize interface: %v", err)
|
||||
}
|
||||
|
||||
win, err := ui.NewWindow(iface, "View Menu: "+*menuName)
|
||||
win, err := ui.NewWindow(iface, "View Menu: "+*menuName, *winX, *winY)
|
||||
if err != nil {
|
||||
log.Fatal("Couldn't create window: %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user