2 .\" Copyright (c) 2009-2011, Charles McGarvey
3 .\" All rights reserved.
5 .\" Distributable under the terms and conditions of the 2-clause BSD
6 .\" license; see the file COPYING for a complete text of the license.
13 .Nd user configuration for yoink
15 Yoink configuration files are little more than Lua scripts with meaningful
16 variables. The syntax for variable assignment is similar to that in other
17 languages, where the variable name appears on the left side of an equals
18 \(lq=\(rq character, and the value to be assigned appears on the right
19 side. Please refer to the distributed configuration file at
20 .Pa @pkgdatadir@/yoinkrc
21 for an example of the syntax. Here is a list of some of the available
25 The level of detail. Possible values are 1, 2, or 3 where 1 means the
26 least amount of detail and 3 means the most. This effects the number of
27 objects drawn to the screen. A high level of detail will draw everything
28 but could cause poor frame rates if the graphics driver can't keep up with
29 the load. Lower levels will omit certain details which aren't crucial for
30 playing the game with the possible benefit of higher frame rates. See the
31 Notes for more ways to increase the game's performance. The default value
34 If true, double-buffering will be used to help minimize distortion and
35 artifacts caused by the animation of the game. Otherwise, a single buffer
36 will be used. The default value is true.
38 The target number of frames to be drawn per second. If your computer is
39 really old, you can get away with decreasing this value and still have
40 reasonably smooth animation. You can set this to a very high number to
41 effectively render as many frames as is possible, but the actual rate could
42 be limited by vertical display synchronization, depending on the X11 driver
43 and settings used. The default value is 50.
45 If true, the window will capture the display and render the game in full
46 screen splendor. A value of false means the game will run in a window.
47 The default value is false.
49 If true, the window will be resizable by the window manager. This option
50 is meaningless if the game is drawing to the full screen. The default
53 If true, the current number of frames being drawn per second will be
54 printed to the console every second. The default value is false.
56 The number of times per second the simulation state will be updated. A
57 value of 100 or higher is ideal for a better physical simulation. Values
58 that are much lower cause the CPU to do less work, but accuracy will
59 suffer. Errors could be introduced in the game with extremely low values.
60 The default value is 80.
62 The resolution or size of the window. The value is an array with three
63 number elements representing the width, height, and bits per pixel that
64 make up the video mode. The third number is optional. The default value
69 .It Pa @pkgdatadir@/yoinkrc
76 .Bl -tag -width 2i -compact
77 .It An Charles McGarvey