client:gdefaults
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
client:gdefaults [2018/04/18 09:25] – [darkness] Add command line parameters karl | client:gdefaults [2025/04/18 13:09] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 79: | Line 79: | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 1 \\ | Default: 1 \\ | ||
- | Menu Entry: Client > Configure > General " | + | Menu Entry: Client > Configure > General " |
+ | Command Line Parameter: //None// | ||
==== cacheimages ==== | ==== cacheimages ==== | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 0 \\ | Default: 0 \\ | ||
- | Menu Entry: Client > Configure > Map & Image "Cache Images" | + | Menu Entry: Client > Configure > Map & Image "Cache Images" |
+ | Command Line Parameter: [[optional_parameters# | ||
==== command_window ==== | ==== command_window ==== | ||
Range: **1** - **127** \\ | Range: **1** - **127** \\ | ||
Default: **10** \\ | Default: **10** \\ | ||
- | Menu Entry: Client > Configure > General " | + | Menu Entry: Client > Configure > General " |
+ | Command Line Parameter: //None// | ||
Functions: | Functions: | ||
Line 99: | Line 102: | ||
* CButtons cbuttons[MAX_BUTTONS] = { | * CButtons cbuttons[MAX_BUTTONS] = { | ||
* File: client/ | * File: client/ | ||
- | * {NULL, | + | * {NULL, |
* configdialog(GtkWidget *widget) | * configdialog(GtkWidget *widget) | ||
- | * File: client/ | + | * File: client/ |
* else if (cbuttons[i].type == SPIN_CWINDOW) adj = (GtkAdjustment *) gtk_adjustment_new(want_config[cbuttons[i].config], | * else if (cbuttons[i].type == SPIN_CWINDOW) adj = (GtkAdjustment *) gtk_adjustment_new(want_config[cbuttons[i].config], | ||
* load_defaults() | * load_defaults() | ||
- | * File client/ | + | * File client/ |
- | * **Warning**: | + | * **Warning**: |
==== darkness ==== | ==== darkness ==== | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Line 136: | Line 140: | ||
* LOG(LOG_WARNING," | * LOG(LOG_WARNING," | ||
* want_config[CONFIG_DARKNESS] = FALSE; | * want_config[CONFIG_DARKNESS] = FALSE; | ||
- | |||
Line 142: | Line 145: | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 0 \\ | Default: 0 \\ | ||
- | Menu Entry: Client > Configure > Map & Image "SDL Image Support (Take effect next run)" | + | Menu Entry: Client > Configure > Map & Image "SDL Image Support (Take effect next run)" |
+ | Command Line Parameter: [[optional_parameters# | ||
The displaymode entry can have two values for drawing the map: | The displaymode entry can have two values for drawing the map: | ||
Line 171: | Line 175: | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 0 \\ | Default: 0 \\ | ||
- | Menu Entry: Client > Configure > Map & Image " | + | Menu Entry: Client > Configure > Map & Image " |
+ | Command Line Parameter: [[optional_parameters# | ||
==== echo_bindings ==== | ==== echo_bindings ==== | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 0 \\ | Default: 0 \\ | ||
- | Menu Entry: Client > Configure > General "Echo Bound Commands" | + | Menu Entry: Client > Configure > General "Echo Bound Commands" |
+ | Command Line Parameter: [[optional_parameters# | ||
When set, should print the commands issued to the server by keypress in the informational window. | When set, should print the commands issued to the server by keypress in the informational window. | ||
Line 183: | Line 189: | ||
==== faceset ==== | ==== faceset ==== | ||
- | Range: \\ | + | Range: |
Default: standard \\ | Default: standard \\ | ||
- | Menu Entry: Client > Configure > Map & Image | + | Menu Entry: Client > Configure > Map & Image \\ |
+ | Command Line Parameter: [[optional_parameters# | ||
==== fasttcpsend ==== | ==== fasttcpsend ==== | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 1 \\ | Default: 1 \\ | ||
- | Menu Entry: Client > Configure > General "Fast TCP Send (May improve performance at expense\n of outgoing bandwidth)" | + | Menu Entry: Client > Configure > General "Fast TCP Send (May improve performance at expense\n of outgoing bandwidth)" |
+ | Command Line Parameter: [[optional_parameters# | ||
==== fog_of_war ==== | ==== fog_of_war ==== | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 1 \\ | Default: 1 \\ | ||
- | Menu Entry: Client > Configure > Map & Image "Fog of War" | + | Menu Entry: Client > Configure > Map & Image "Fog of War" |
+ | Command Line Parameter: [[optional_parameters# | ||
The "Fog of War" is mere a "Line of Sight" handler, since cleared areas do not become covered by inscrutable " | The "Fog of War" is mere a "Line of Sight" handler, since cleared areas do not become covered by inscrutable " | ||
Line 203: | Line 212: | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 0 \\ | Default: 0 \\ | ||
- | Menu Entry: Client > Configure > General "Beep When Food is Low" | + | Menu Entry: Client > Configure > General "Beep When Food is Low" |
+ | Command Line Parameter: //None// | ||
The client issues beep tones to the beep speaker of the computer, when the nourishing level gets below 200, | The client issues beep tones to the beep speaker of the computer, when the nourishing level gets below 200, | ||
Line 211: | Line 221: | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 0 \\ | Default: 0 \\ | ||
- | Menu Entry: Client > Configure > General " | + | Menu Entry: Client > Configure > General " |
+ | Command Line Parameter: //None// | ||
When unset, the status bars for HP, SP, GR, Food do not change coloration according to their current amount. | When unset, the status bars for HP, SP, GR, Food do not change coloration according to their current amount. | ||
Line 218: | Line 229: | ||
Range: **25** - **200** \\ | Range: **25** - **200** \\ | ||
Default: **100** \\ | Default: **100** \\ | ||
- | Menu Entry: Client > Configure > Map & Image "Icon Scale (Takes effect next run)" | + | Menu Entry: Client > Configure > Map & Image "Icon Scale (Takes effect next run)" |
+ | Command Line Parameter: [[optional_parameters# | ||
Functions : | Functions : | ||
Line 226: | Line 238: | ||
* configdialog(GtkWidget *widget) | * configdialog(GtkWidget *widget) | ||
- | * File: client/ | + | * File: client/ |
* if (cbuttons[i].type == SPIN_SCALE) adj = (GtkAdjustment *) gtk_adjustment_new(want_config[cbuttons[i].config], | * if (cbuttons[i].type == SPIN_SCALE) adj = (GtkAdjustment *) gtk_adjustment_new(want_config[cbuttons[i].config], | ||
* load_defaults() | * load_defaults() | ||
- | * File client/ | + | * File client/ |
* if (want_config[CONFIG_ICONSCALE]< | * if (want_config[CONFIG_ICONSCALE]< | ||
+ | |||
==== lighting ==== | ==== lighting ==== | ||
Range: **0** - **3** \\ | Range: **0** - **3** \\ | ||
Line 240: | Line 253: | ||
* 2 : "Fast Per Pixel Lighting" | * 2 : "Fast Per Pixel Lighting" | ||
* 3 : "Best Per Pixel Lighting (slowest)" | * 3 : "Best Per Pixel Lighting (slowest)" | ||
+ | Command Line Parameter: //None// | ||
**Note**: When not set (0, CFG_LT_NONE), | **Note**: When not set (0, CFG_LT_NONE), | ||
Functions: | Functions: | ||
- | * client/ | + | * client/ |
* /* CONFIG_LIGHTING can have several possible values - set them accordingly */ | * /* CONFIG_LIGHTING can have several possible values - set them accordingly */ | ||
- | * #define CFG_LT_NONE 0 | + | * #define CFG_LT_NONE |
- | * #define CFG_LT_TILE 1 | + | * #define CFG_LT_TILE |
- | * #define CFG_LT_PIXEL 2 | + | * #define CFG_LT_PIXEL |
* #define CFG_LT_PIXEL_BEST | * #define CFG_LT_PIXEL_BEST | ||
Line 260: | Line 274: | ||
* CButtons cbuttons[MAX_BUTTONS] = { | * CButtons cbuttons[MAX_BUTTONS] = { | ||
- | * File: client/ | + | * File: client/ |
* {NULL, RBUTTON, 100 + CFG_LT_PIXEL_BEST, | * {NULL, RBUTTON, 100 + CFG_LT_PIXEL_BEST, | ||
* {NULL, RBUTTON, 100 + CFG_LT_PIXEL, | * {NULL, RBUTTON, 100 + CFG_LT_PIXEL, | ||
Line 272: | Line 286: | ||
* if ( GTK_TOGGLE_BUTTON (cbuttons[onbutton].widget)-> | * if ( GTK_TOGGLE_BUTTON (cbuttons[onbutton].widget)-> | ||
* if ( cbuttons[onbutton].config >= 100 && | * if ( cbuttons[onbutton].config >= 100 && | ||
- | * lighting = cbuttons[onbutton].config - 100; | + | * lighting = cbuttons[onbutton].config - 100; |
* **Note**: applyconfig does not work correctly for almost all configuration options to apply them immediately "on the fly" - but for the lighting settings, it works. | * **Note**: applyconfig does not work correctly for almost all configuration options to apply them immediately "on the fly" - but for the lighting settings, it works. | ||
Line 284: | Line 298: | ||
Range: **9** - **31** ( see function // | Range: **9** - **31** ( see function // | ||
Default: **11** ( see function // | Default: **11** ( see function // | ||
- | Menu Entry: Client > Configure > General "Map Height" | + | Menu Entry: Client > Configure > General |
+ | "Map Height" | ||
+ | Command Line Parameter: [[optional_parameters# | ||
+ | |||
+ | **Note**: The server has a maximum map size hardcoded to send to the client set as **25** by default. \\ | ||
+ | See topic [[: | ||
+ | |||
- | "Map Size: Larger map lets you see more information, | ||
==== map_width ==== | ==== map_width ==== | ||
Range: **9** - **31** ( see function // | Range: **9** - **31** ( see function // | ||
Default: **11** ( see function // | Default: **11** ( see function // | ||
- | Menu Entry: Client > Configure > General "Map Width" | + | Menu Entry: Client > Configure > General "Map Width" |
+ | Command Line Parameter: [[optional_parameters# | ||
+ | **Note**: The server has a maximum map size hardcoded to send to the client set as **25** by default. \\ | ||
+ | See topic [[: | ||
==== mapscale ==== | ==== mapscale ==== | ||
Range: **25** - **200** \\ | Range: **25** - **200** \\ | ||
Default: **100** \\ | Default: **100** \\ | ||
- | Menu Entry: Client > Configure > Map & Image "Map Scale (Takes effect next run)" | + | Menu Entry: Client > Configure > Map & Image "Map Scale (Takes effect next run)" |
+ | Command Line Parameter: [[optional_parameters# | ||
Functions : | Functions : | ||
Line 305: | Line 329: | ||
* CButtons cbuttons[MAX_BUTTONS] = { | * CButtons cbuttons[MAX_BUTTONS] = { | ||
* File: client/ | * File: client/ | ||
- | * {NULL, | + | * {NULL, |
* configdialog(GtkWidget *widget) | * configdialog(GtkWidget *widget) | ||
- | * File: client/ | + | * File: client/ |
* if (cbuttons[i].type == SPIN_SCALE) adj = (GtkAdjustment *) gtk_adjustment_new(want_config[cbuttons[i].config], | * if (cbuttons[i].type == SPIN_SCALE) adj = (GtkAdjustment *) gtk_adjustment_new(want_config[cbuttons[i].config], | ||
* load_defaults() | * load_defaults() | ||
- | * File client/ | + | * File client/ |
* if (want_config[CONFIG_MAPSCALE]< | * if (want_config[CONFIG_MAPSCALE]< | ||
Line 318: | Line 342: | ||
Range: \\ | Range: \\ | ||
Default: 1 \\ | Default: 1 \\ | ||
- | Menu Entry: //not available// | + | Menu Entry: //not available// |
+ | Command Line Parameter: [[optional_parameters# | ||
==== message_timestamping ==== | ==== message_timestamping ==== | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 0 \\ | Default: 0 \\ | ||
- | Menu Entry: Client > Configure > General " | + | Menu Entry: Client > Configure > General " |
+ | Command Line Parameter: //None// | ||
when set, adds a HH:MM Hour:Minute tag to each message printed in the informational window. | when set, adds a HH:MM Hour:Minute tag to each message printed in the informational window. | ||
Line 330: | Line 356: | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 1 \\ | Default: 1 \\ | ||
- | Menu Entry: Client > Configure > General " | + | Menu Entry: Client > Configure > General " |
+ | Command Line Parameter: [[optional_parameters# | ||
==== popups ==== | ==== popups ==== | ||
Values : 0 or 1 -- 0 disables popup windows like a separate log-in window, 1 enables them. \\ | Values : 0 or 1 -- 0 disables popup windows like a separate log-in window, 1 enables them. \\ | ||
Default: 0 ( disabled ) \\ | Default: 0 ( disabled ) \\ | ||
- | Menu Entry: Client > Configure > General "Popup Windows" | + | Menu Entry: Client > Configure > General "Popup Windows" |
+ | Command Line Parameter: [[optional_parameters# | ||
The default is set to **0** inside the source code \\ | The default is set to **0** inside the source code \\ | ||
in function init_client_vars() in file common/ | in function init_client_vars() in file common/ | ||
- | |||
- | Command-line options : [[optional_parameters# | ||
Behaviour: Most popup-windows might be annoying, while playing the game, but the log-on to a server had been impossible for versions 1.11.0 and below of the GTK-1 client, if that was unset ( 0 ) . To enter a user-name was not possible in the " | Behaviour: Most popup-windows might be annoying, while playing the game, but the log-on to a server had been impossible for versions 1.11.0 and below of the GTK-1 client, if that was unset ( 0 ) . To enter a user-name was not possible in the " | ||
Line 347: | Line 373: | ||
* ChangeLog [[changelog_0_92_1_70_0# | * ChangeLog [[changelog_0_92_1_70_0# | ||
* ChangeLog [[changelog_0_92_1_70_0# | * ChangeLog [[changelog_0_92_1_70_0# | ||
- | * known_client_issues [[: | ||
* bugs [[bugs# | * bugs [[bugs# | ||
Line 354: | Line 379: | ||
Range: \\ | Range: \\ | ||
Default: \\ | Default: \\ | ||
- | Menu Entry: //not available// | + | Menu Entry: //not available// |
+ | Command Line Parameter: [[optional_parameters# | ||
==== resistances ==== | ==== resistances ==== | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 0 \\ | Default: 0 \\ | ||
- | Menu Entry: Client > Configure > General " | + | Menu Entry: Client > Configure > General " |
+ | Command Line Parameter: [[optional_parameters# | ||
The value **0** prints resistances in 1 column, the value **1** prints them in two columns. | The value **0** prints resistances in 1 column, the value **1** prints them in two columns. | ||
Line 366: | Line 393: | ||
Range: \\ | Range: \\ | ||
Default: \\ | Default: \\ | ||
- | Menu Entry: //not available// | + | Menu Entry: //not available// |
+ | Command Line Parameter: [[optional_parameters# | ||
==== show_grid ==== | ==== show_grid ==== | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 0 | Default: 0 | ||
+ | Client Menu: Client > Configure > Map & Image > "Print Grid Overlay (SDL only, Slow, useful for debugging/ | ||
+ | Command Line Parameter: //None// | ||
This option is only available for the SDL [[# | This option is only available for the SDL [[# | ||
Purpose: It draws a red tile grid-overlay onto the map. \\ | Purpose: It draws a red tile grid-overlay onto the map. \\ | ||
- | Effect: | + | Effect: |
Implemented: | Implemented: | ||
- | Client Menu: Client > Configure > Map & Image > "Print Grid Overlay (SDL only, Slow, useful for debugging/ | ||
The GTK-2 client does not have such a Menu option to choose anymore; but still has this parameter entry in it's [[gdefaults2]] config file. | The GTK-2 client does not have such a Menu option to choose anymore; but still has this parameter entry in it's [[gdefaults2]] config file. | ||
Line 383: | Line 412: | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 0 \\ | Default: 0 \\ | ||
- | Menu Entry: Client > Configure > General "Show Inventory Icon" | + | Menu Entry: Client > Configure > General "Show Inventory Icon" |
+ | Command Line Parameter: [[optional_parameters# | ||
- | Add a notebook tab to the inventory window, where the items in the inventory are just drawn without any text. | + | Adds a notebook tab to the inventory window, where the items in the inventory are just drawn without any text. |
==== sign_popups ==== | ==== sign_popups ==== | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 1 \\ | Default: 1 \\ | ||
- | Menu Entry: Client > Configure > General "Popup Sign Windows (need [[# | + | Menu Entry: Client > Configure > General "Popup Sign Windows (need [[# |
+ | Command Line Parameter: //None// | ||
==== smoothing ==== | ==== smoothing ==== | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 0 \\ | Default: 0 \\ | ||
- | Menu Entry: Client > Configure > Map & Image " | + | Menu Entry: Client > Configure > Map & Image " |
+ | Command Line Parameter: [[optional_parameters# | ||
==== sound ==== | ==== sound ==== | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 1 \\ | Default: 1 \\ | ||
- | Menu Entry: Client > Configure > General " | + | Menu Entry: Client > Configure > General " |
+ | Command Line Parameter: [[optional_parameters# | ||
When enabled, raises a sound server, but sound had been broken for a long time. \\ | When enabled, raises a sound server, but sound had been broken for a long time. \\ | ||
Line 408: | Line 441: | ||
Range: \\ | Range: \\ | ||
Default: cfsndserv \\ | Default: cfsndserv \\ | ||
- | Menu Entry: //not available// | + | Menu Entry: //not available// |
+ | Command Line Parameter: [[optional_parameters# | ||
==== split ==== | ==== split ==== | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 0 \\ | Default: 0 \\ | ||
- | Menu Entry: Client > Configure > General "Split Windows" | + | Menu Entry: Client > Configure > General "Split Windows" |
+ | Command Line Parameter: [[optional_parameters# | ||
When set, the client GUI will be split into several small windows, instead of one single window. | When set, the client GUI will be split into several small windows, instead of one single window. | ||
Line 420: | Line 455: | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 0 \\ | Default: 0 \\ | ||
- | Menu Entry: Client > Configure > General "Split Information Window (Takes effect next run)" | + | Menu Entry: Client > Configure > General "Split Information Window (Takes effect next run)" |
+ | Command Line Parameter: [[optional_parameters# | ||
The information window to the right side of the GUI can be split into two areas. \\ | The information window to the right side of the GUI can be split into two areas. \\ | ||
Line 428: | Line 464: | ||
Range: 0 - 1 | False | True \\ | Range: 0 - 1 | False | True \\ | ||
Default: 1 \\ | Default: 1 \\ | ||
- | Menu Entry: Client > Configure > General | + | Menu Entry: Client > Configure > General |
+ | Command Line Parameter: //None// | ||
Tooltips are the small text popups that appear when hoovering with the mouse pointer about areas. | Tooltips are the small text popups that appear when hoovering with the mouse pointer about areas. | ||
Line 438: | Line 475: | ||
" | " | ||
" | " | ||
+ | Command Line Parameter: [[optional_parameters# | ||
When set, limits the scrollback buffer of the information window to ~100 thousand chars. | When set, limits the scrollback buffer of the information window to ~100 thousand chars. | ||
client/gdefaults.1524061555.txt.gz · Last modified: (external edit)