client:gdefaults2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
client:gdefaults2 [2018/04/17 05:29] – Add full context (stubs) karl | client:gdefaults2 [2025/04/18 13:09] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 16: | Line 16: | ||
# sensitive. | # sensitive. | ||
# have been replaced with 1 and 0 respectively. | # have been replaced with 1 and 0 respectively. | ||
- | </ | + | </ |
< | < | ||
< | < | ||
Line 44: | Line 44: | ||
See also the gtk-1 [[gdefaults]] configfile, since the gdefaults2 does not differ much. | See also the gtk-1 [[gdefaults]] configfile, since the gdefaults2 does not differ much. | ||
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
* [[# | * [[# | ||
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[#port]]: < > | + | * [[#port]]: < > |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[#sound]]: < 0 | 1 > | + | * [[#sound]]: < 0 | 1 > |
- | * [[#split]]: < 0 | 1 > | + | * [[#split]]: < 0 | 1 > |
- | * [[# | + | * [[# |
- | * [[#theme]]: < 0 | 1 > | + | * [[#theme]]: < 0 | 1 > |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
---- | ---- | ||
Line 84: | Line 84: | ||
==== auto_apply_container ==== | ==== auto_apply_container ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
==== cacheimages ==== | ==== cacheimages ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== command_window ==== | ==== command_window ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== darkness ==== | ==== darkness ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
==== displaymode ==== | ==== displaymode ==== | ||
- | Range: \\ | + | Range: |
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
+ | |||
+ | The displaymode entry can have three values for drawing the map: | ||
+ | * 0 : Pixmap | ||
+ | * 1 : SDL ; command line option [[optional parameters# | ||
+ | * 2 : OpenGL ; command line option [[optional parameters# | ||
+ | Any other numerical values than those above will still be " | ||
+ | '' | ||
+ | and \\ | ||
+ | '' | ||
+ | , thus the map would not be drawn. | ||
+ | |||
+ | === SDL === | ||
+ | If the SDL libraries were not available at [[client compiling]] time, then the displaymode would fall back to Pixmap mode. \\ | ||
+ | The client then should print to stderr from function // | ||
+ | <code c> | ||
+ | #if !defined(HAVE_SDL) | ||
+ | if (want_config[CONFIG_DISPLAYMODE] == CFG_DM_SDL) { | ||
+ | want_config[CONFIG_DISPLAYMODE] = CFG_DM_PIXMAP; | ||
+ | LOG(LOG_ERROR, | ||
+ | "is not compiled with SDL support. | ||
+ | } | ||
+ | #endif | ||
+ | </ | ||
+ | |||
+ | See also [[# | ||
+ | |||
+ | === OpenGL === | ||
+ | The OpenGL mode is available on Linux, if the MESA package is found at compilation time. \\ | ||
+ | If the gdefaults2 entry is set to 2, and MESA was not found at compilation time, \\ | ||
+ | < | ||
+ | the client prints \\ | ||
+ | '' | ||
+ | to the logging output. | ||
+ | |||
+ | When using OpenGL displaymode, | ||
+ | when the X-Server Xorg is started to manage the monitor of the computer. \\ | ||
+ | When the GLX extension is not available for the X-Server, then the client will either crash with \\ | ||
+ | message '' | ||
+ | version 1.10.0 for example; or \\ | ||
+ | printing '' | ||
+ | and still would work in OpenGL drawing mode if libGL.so.1, libGLU.so.1 and libglut.so.3 are available on the system ( but GLX disabled for the X-Server ) . | ||
+ | |||
+ | |||
+ | Special kdrive X-Servers disbanded after version 1.4.x of the Xorg R7 release like Xvesa, \\ | ||
+ | likely will not work with MESA and DRI. \\ | ||
+ | The Xorg's own driver vesa_drv.so and probably some special framebuffer drivers will also not work \\ | ||
+ | with OpenGL / MESA. | ||
+ | |||
+ | Screenshot of Scorn at nighttime of the client' | ||
+ | {{opengl_scorn-400.jpg}} | ||
+ | |||
==== download_all_images ==== | ==== download_all_images ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== echo_bindings ==== | ==== echo_bindings ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== faceset ==== | ==== faceset ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== fasttcpsend ==== | ==== fasttcpsend ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== fog_of_war ==== | ==== fog_of_war ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== foodbeep ==== | ==== foodbeep ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== grad_color_bars ==== | ==== grad_color_bars ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== iconscale ==== | ==== iconscale ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== lighting ==== | ==== lighting ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== map_height ==== | ==== map_height ==== | ||
- | Range: \\ | + | Range: |
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
+ | |||
+ | Functions: See // | ||
+ | * <widget class=" | ||
+ | * < | ||
+ | |||
+ | **Note**: The code in function // | ||
+ | a lower limit of **9** and an upper limit of MAP_MAX_SIZE set. \\ | ||
+ | MAX_MAP_SIZE is defined in // | ||
+ | The user should be able to use the command line parameter [[optional_parameters# | ||
+ | |||
+ | <WRAP lo> | ||
+ | **Note**: The **old gcfclients2** had an // | ||
+ | '' | ||
+ | consist of 6 variables (value, lower, upper, step_increment, | ||
+ | The setting of ' | ||
+ | >The page size of the adjustment. Note that the page-size is irrelevant and should be set to zero if the adjustment is used for a simple scalar value, e.g. in a GtkSpinButton. | ||
+ | Therefore the user would have had the chance to spin from 11 - 15 . \\ | ||
+ | GTK-2 has changed from version 2.4 to 2.14, and maybe " | ||
+ | Between GTK-2 versions 2.4 and 2.13 the code could have worked " | ||
+ | </ | ||
==== mapscale ==== | ==== mapscale ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== mapscroll ==== | ==== mapscroll ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
==== map_width ==== | ==== map_width ==== | ||
- | Range: \\ | + | Range: |
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
+ | |||
+ | Functions: See // | ||
+ | * <widget class=" | ||
+ | * < | ||
+ | |||
+ | **Note**: The code in function // | ||
+ | a lower limit of **9** and an upper limit of MAP_MAX_SIZE set. \\ | ||
+ | MAX_MAP_SIZE is defined in // | ||
+ | The user should be able to use the command line parameter [[optional_parameters# | ||
+ | |||
+ | <WRAP lo> | ||
+ | **Note**: The **old gcfclients2** had an // | ||
+ | '' | ||
+ | consist of 6 variables (value, lower, upper, step_increment, | ||
+ | The setting of ' | ||
+ | >The page size of the adjustment. Note that the page-size is irrelevant and should be set to zero if the adjustment is used for a simple scalar value, e.g. in a GtkSpinButton. | ||
+ | Therefore the user would have had the chance to spin from 11 - 15 . \\ | ||
+ | GTK-2 has changed from version 2.4 to 2.14, and maybe " | ||
+ | Between GTK-2 versions 2.4 and 2.13 the code could have worked " | ||
+ | </ | ||
==== message_timestamping ==== | ==== message_timestamping ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
==== nosplash ==== | ==== nosplash ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
==== popups ==== | ==== popups ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
==== port ==== | ==== port ==== | ||
Range: \\ | Range: \\ | ||
Default: \\ | Default: \\ | ||
Menu Entry: | Menu Entry: | ||
+ | |||
==== resistances ==== | ==== resistances ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
==== server ==== | ==== server ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
==== show_grid ==== | ==== show_grid ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
==== showicon ==== | ==== showicon ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
==== sign_popups ==== | ==== sign_popups ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
==== smoothing ==== | ==== smoothing ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== sound ==== | ==== sound ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
==== split ==== | ==== split ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
+ | That leftover from the gtk-1 client does not work for the gtk-2 client. | ||
+ | |||
==== splitinfo ==== | ==== splitinfo ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
+ | That leftover from the gtk-1 client does not work for the gtk-2 client. | ||
+ | |||
==== theme ==== | ==== theme ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default:Standard |
- | Menu Entry: | + | Menu Entry: |
+ | |||
+ | Implemented since version 1.12 | ||
==== tooltips ==== | ==== tooltips ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
==== trim_info_window ==== | ==== trim_info_window ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
Menu Entry: | Menu Entry: | ||
+ | |||
==== window_layout ==== | ==== window_layout ==== | ||
Range: \\ | Range: \\ | ||
- | Default: \\ | + | Default: |
- | Menu Entry: | + | Menu Entry: |
+ | Implemented since version 1.12 | ||
client/gdefaults2.1523960995.txt.gz · Last modified: (external edit)