From: Markus Koschany Date: Wed, 25 Apr 2018 23:38:05 +0200 Subject: start in windowed mode Start by default in windowed mode which provides better performance and better compatibility with certain window managers. The fullscreen option can be enabled with the --fullscreen mode switch. Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718884 --- init.lua | 6 +++--- pax-britannica.6 | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 3164e0a..b43cb63 100644 --- a/init.lua +++ b/init.lua @@ -12,10 +12,10 @@ end kernel.set_ratio(4/3) -if args['--windowed'] then - kernel.set_video_mode(1024, 768) -else +if args['--fullscreen'] then kernel.set_fullscreen(true) +else + kernel.set_video_mode(1024, 768) end kernel.start_main_loop(the_game.make()) diff --git a/pax-britannica.6 b/pax-britannica.6 index 3bd9bab..8ee509a 100644 --- a/pax-britannica.6 +++ b/pax-britannica.6 @@ -19,6 +19,9 @@ played using only one button for each player. .TP .B \-\-stderr Send log messages to standard error, instead of \fI~/.dokidoki.log\fP. +.TP +.B \-\-fullscreen +Start in fullscreen mode. .SH HOW TO PLAY The A, F, H, and L keys control the four players, and the escape key quits. Gamepads are also supported.