Debian Codegraph @

allegro5.cfg

raw symbols SCIP
1 #
2 # Configuration file for the Allegro 5 library.
3 #
4 # This file should be either in the same directory as your program.
5 #
6 # On Unix, this file may also be stored as ~/.allegro5rc or /etc/allegro5rc.
7 # If multiple files exist, they will be merged, with values from more specific
8 # files overriding the less specific files.
9
10 [graphics]
11
12 # Graphics driver.
13 # Can be 'default', 'opengl' or 'direct3d' (Windows only).
14 driver=default
15
16 # Display configuration selection mode.
17 #
18 # Under Linux, it can be used to force the old GLX 1.2 way of choosing
19 # display settings or the new FBConfig method introduced with GLX 1.3.
20 #
21 # Under Windows, when using the OpenGL driver, setting it to old will
22 # use DescribePixelFormat and new will use wglGetPixelFormatAttribivARB
23 # (provided by WGL_ARB_pixel_format extension).
24 #
25 # Can be 'old' and 'new'. Default is 'new'.
26 config_selection=new
27
28 # What method to use to detect legacy cards for the Direct3D backend of the
29 # primitives addon. Can be 'default', which means it'll check that the pixel
30 # shader version supported is below some value. 'force_legacy' will force it to
31 # detect as a legacy card. 'force_modern' will force it to detect is as a modern
32 # card.
33 prim_d3d_legacy_detection=default
34
35 # For compatibility reasons, video bitmaps smaller than this size are
36 # backed by textures with this size. This is often no longer necessary
37 # on more modern systems, and should be set to < 16 if you're creating
38 # bitmaps smaller than this size. Note that on Android, this is ignored
39 # if smaller than 32.
40 min_bitmap_size=16
41
42 [audio]
43
44 # Driver can be 'default', 'openal', 'alsa', 'oss', 'pulseaudio' or 'directsound'
45 # depending on platform.
46 driver=default
47
48 # Mixer quality can be 'linear' (default), 'cubic' (best), or 'point' (bad).
49 # default_mixer_quality=linear
50
51 # The frequency to use for the default voice/mixer. Default: 44100.
52 # primary_voice_frequency=44100
53 # primary_mixer_frequency=44100
54
55 # Can be 'int16', otherwise defaults to float32.
56 # primary_voice_depth=float32
57 # primary_mixer_depth=float32
58
59 [oss]
60
61 # You can skip probing for OSS4 driver by setting this option to 'yes'.
62 # Default is 'no'.
63 force_ver3=no
64
65 # When OSS3 is used, you can choose a sound device here.
66 # Default is '/dev/dsp'.
67 device=/dev/dsp
68
69 [alsa]
70
71 # Set the ALSA sound device.
72 # Default is 'default'.
73 device=default
74
75 # Set the ALSA capture device, e.g. hw:0,0
76 # Default is 'default'.
77 capture_device=default
78
79 # Set the period size (in samples)
80 # Note that this is erroneously called 'buffer_size' for backwards
81 # compatibility.
82 buffer_size=32
83
84 # Set the buffer size (in samples)
85 buffer_size2=2048
86
87 [pulseaudio]
88
89 # Set the buffer size (in samples)
90 buffer_size=1024
91
92 [directsound]
93
94 # Set the DirectSound buffer size (in samples)
95 buffer_size = 8192
96
97 # Which window to attach the device to. Can be 'desktop', or 'foreground'. Try
98 # flipping this if there are issues initializing audio.
99 window = desktop
100
101 [opengl]
102
103 # If you want to support old OpenGL versions, you can make Allegro
104 # believe an older version than what you actually have is used with
105 # this key. This is only for testing/debugging purposes.
106
107 # force_opengl_version = 1.2
108
109 [opengl_disabled_extensions]
110
111 # Any OpenGL extensions can be listed here to make Allegro report them
112 # as not available. The extensions used by Allegro itself if available
113 # are shown below - uncommenting them would disable them:
114
115 # GL_ARB_texture_non_power_of_two=0
116 # GL_EXT_framebuffer_object=0
117
118 [image]
119
120 # Gamma handling of PNG files.
121 # A value of 0.0 means: Don't do any gamma correction.
122 # A value of -1.0 means: Use the value from the environment variable
123 # SCREEN_GAMMA (if available), otherwise fallback to a value of 2.2
124 # (a good guess for PC monitors, and the value for sRGB colourspace).
125 # Otherwise, the value is taken as-is.
126 png_screen_gamma = -1.0
127
128 # Compression level for PNG files. Possible values: 0-9, "best", "fastest",
129 # "none" or "default" (a sane compromise between size and speed).
130 png_compression_level = default
131
132 # Quality level for JPEG files. Possible values: 0-100
133 jpeg_quality_level = 75
134
135 # Quality level for WebP files. Possible values: 0-100 or "lossless"
136 webp_quality_level = lossless
137
138 [joystick]
139
140 # Linux: Allegro normally searches for joystick device N at /dev/input/jsN.
141 # You can override the device file path on a per-device basis, like this.
142
143 # device0=/dev/input/by-id/usb-blahblah-joystick
144
145 # Windows: You can choose between the XINPUT or DIRECTINPUT driver for
146 # joysticks and force feedback joysticks. Xinput is the more modern
147 # system, but DirectInput has more force feedback capabilities for older
148 # joysticks.
149 driver=
150
151 # Windows: Use this to force an XInput DLL version, example "3" forces
152 # xinput1_3.dll. By default, the latest version is used.
153
154 # force_xinput_version = 3
155
156 [keyboard]
157
158 # You can trap/untrap the mouse cursor within a window with a key combination
159 # of your choice, e.g. "Ctrl-G", "Shift-Ctrl-G", "Ctrl-LShift", "RWin".
160 # This feature currently only works on X11 and Windows.
161
162 # toggle_mouse_grab_key = ScrollLock
163
164 # By default, you can press Ctrl-Alt-Delete or Ctrl-Alt-End to quit Allegro
165 # programs. Set this to false to disable this feature. This only works on
166 # Linux.
167
168 # enable_three_finger_exit = true
169
170 # By default, pressing the LED toggling keys (e.g. CapsLock) will also toggle
171 # the LED on the keyboard. Setting this to false disable that connection.
172 # This can only be controled on non-X11 Linux.
173
174 # enable_key_led_toggle = true
175
176
177 [trace]
178 # Comma-separated list of channels to log. Default is "all" which
179 # disables channel filtering. Some possible channels are:
180 # system,display,keyboard,opengl
181 # Channel names can be prefixed with - to exclude only those channels.
182 # Each addon and source-file can define additional channels though so
183 # there are more.
184 channels=all
185
186 # Log-level. Can be one of debug, info, warn, error, none or empty.
187 # In debug builds if it is empty or unset, then the level is set to debug.
188 # In release builds if it is empty or unset, then the level is set to none.
189 # If not none, Allegro will write out the logs to an allegro.log file next to
190 # the binary. Use ALLEGRO_TRACE environment variable to control that file
191 # location. A special filename of - (dash) means logging to stdout.
192 # You can override this value via the ALLEGRO_TRACE_LEVEL environment variable.
193 level=
194
195 # Set to 0 to disable line numbers in log files.
196 lines=1
197
198 # Set to 0 to disable timestamps in log files.
199 timestamps=1
200
201 # Set to 0 to disable function names in log files.
202 functions=1
203
204 # Send logs to the debug output as well.
205 win_use_output_debug_string = false
206
207 [x11]
208 # Can be fullscreen_only, always, never
209 bypass_compositor = fullscreen_only
210
211 [xkeymap]
212 # Override X11 keycode. The below example maps X11 code 52 (Y) to Allegro
213 # code 26 (Z) and X11 code 29 (Z) to Allegro code 25 (Y).
214 # 52=26
215 # 29=25
216
217
218 [shader]
219 # If you want to support override version of the d3dx9_xx.dll library
220 # define this value.
221 # By default, latest installed version is used.
222
223 # force_d3dx9_version = 36
224
225 [ttf]
226
227 # Set these to something other than 0 to override the default page sizes for TTF
228 # glyphs.
229 min_page_size = 0
230 max_page_size = 0
231
232 # This entry contains characters that will be pre-catched during font loading.
233 # cache_text = a bcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
234
235 # Uncomment if you want only the characters in the cache_text entry to ever be drawn
236 # skip_cache_misses = true
237
238 [osx]
239
240 # If set to false, then Allegro will send ALLEGRO_EVENT_DISPLAY_HALT_DRAWING
241 # and ALLEGRO_EVENT_DISPLAY_RESUME_DRAWING events when the user resizes a
242 # window. Drawing while resizing ("live resizing") has historically been buggy,
243 # so setting this to false allows you to opt out of this behavior and detect
244 # when the resize happens.
245 allow_live_resize = true
246
247 [compatibility]
248
249 # Prior to 5.2.4 on Windows you had to manually resize the display when
250 # showing the menu using the dialog addon. After 5.2.4 this is done
251 # automatically, but may break old code that handled this eventuality.
252 # Set this to false for such code.
253 automatic_menu_display_resize = true
254
255 # On OSX outside an app bundle, on system init allegro manually promotes the process
256 # to a graphical application. This may be undesirable for console applications. Set
257 # this to false to disable this behavior.
258 osx_tell_dock_outside_bundle = true
259
260 # To restore behavior of older code versions, specify this value to the
261 # Allegro version that had the desired old behavior.
262 # joystick_version = 5.2.9
263 # keyboard_version = 5.2.9
264
265 # Prefer using DUMB rather than OpenMPT to decode module files.
266 acodec_prefer_dumb = false