diff options
author | dominik <dominik@openttd.org> | 2004-12-18 16:00:10 +0000 |
---|---|---|
committer | dominik <dominik@openttd.org> | 2004-12-18 16:00:10 +0000 |
commit | 74a0d26d0ec77d9861daab5233e231de47f154f8 (patch) | |
tree | 4e7895f4c3392096e2351852fb14ade12f0061f4 /settings.h | |
parent | 17a613546cfce5f963d47575f6847830f40cd053 (diff) | |
download | openttd-74a0d26d0ec77d9861daab5233e231de47f154f8.tar.xz |
(svn r1157) Enhanced the config file (openttd.cfg) to use another section type. "List sections" as opposed to "variable sections" contain a list of values, separated by a new line. This is now used for the [newgrf] group. You have to edit each line in this section from e.g. "0 = firstset.grf" to only "firstset.grf".
Diffstat (limited to 'settings.h')
-rw-r--r-- | settings.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/settings.h b/settings.h index 6e55862ed..ed6545924 100644 --- a/settings.h +++ b/settings.h @@ -28,6 +28,11 @@ enum SettingDescType { SDT_BOOL = SDT_BOOLX | SDT_UINT8, }; +typedef enum { + IGT_VARIABLES = 0, // values of the form "landscape = hilly" + IGT_LIST = 1, // a list of values, seperated by \n and terminated by the next group block +} IniGroupType; + typedef struct SettingDesc { const char *name; int flags; |