Difference between revisions of "Config Item Purposes"

From Armagetron
 
Line 7: Line 7:
 
== tSettingItem ==
 
== tSettingItem ==
  
Local settings that are loaded from settings.cfg.  They are not saved when you quit the game, and they are only editable from the config files.
+
Local settings that are loaded from settings.cfg.  You may change these setting in-game, but they are not saved when you quit. To make the changes permanent you must edit your configuration files.
  
 
== tConfItem ==
 
== tConfItem ==

Revision as of 14:50, 21 October 2005

Choose the right kind of setting item:

nSettingItem

Transferred over the network. These are settings that are controlled by the server, such as CYCLE_RUBBER.

tSettingItem

Local settings that are loaded from settings.cfg. You may change these setting in-game, but they are not saved when you quit. To make the changes permanent you must edit your configuration files.

tConfItem

Local settings. These are saved when quitting and include things like video card options, resolution settings, player names, instant chats, and the like.

Variants

The XItemLine variant is a specialization of the XItem< tString > class with the difference that it saves and reads whole lines of config files, while the standard item will only read the first word.