]> Dogcows Code - chaz/yoink/blobdiff - data/yoinkrc
prep for runloop code
[chaz/yoink] / data / yoinkrc
index f6f362cbeedb0d88403317c000cd0293d70ef0bd..af051b38bd1f83ec366469ee71bdb898e0d107dc 100644 (file)
@@ -1,6 +1,5 @@
 
 -- Example Yoink Configuration File
--- ex:ft=lua ts=4 sw=4 tw=75
 
 print "loading default settings..."
 
@@ -48,18 +47,15 @@ fullscreen          = false
 resizable              = true
 
 -- Set the screen resolution or size of the window.  The value is an array
--- with three number elements representing the width, height, and bits per
--- pixel that make up the video mode.  If the fullscreen option is set, the
--- default behavior is to pick a native resolution.  You can use the
--- videomode to override the default resolution.  If the fullscreen option
--- is false, videomode will determine the size of the window.
+-- with three number elements representing the width, height, and
+-- (optionally) bits per pixel that make up the video mode.
 
---videomode            = {800, 600}
-
--- Set this to make the cursor remain visible as you mouse over the video
--- output of the game.
-
-showcursor             = false
+if fullscreen then
+       -- In fullscreen mode, a native resolution will be picked.  You could
+       -- still set videomode if you want to use a different resolution.
+else
+       videomode       = {800, 600}
+end
 
 -- Set this to use double-buffering to improve animation quality.  You
 -- really don't want to turn this off.
@@ -74,12 +70,16 @@ doublebuffer        = true
 
 swapcontrol            = true
 
--- Set the level of log detail that will be printed to the console.
+-- Set the level of log detail that will be output to the console.
 -- Possible values are:
--- 0 print nothing
--- 1 errors only
--- 2 include warnings
--- 3 print everything, including debug messages
+--   0 nothing
+--   1 errors
+--   2 warnings
+--   3 info
+--   4 debug messages
 
 loglevel               = 2
 
+
+-- vi:ft=lua ts=4 sw=4 tw=75
+
This page took 0.021748 seconds and 4 git commands to generate.