summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2008-02-10 14:49:44 +0000
committermaedhros <maedhros@openttd.org>2008-02-10 14:49:44 +0000
commit4e839aacf650f65cd8aeeece91fa038b3c68ffdb (patch)
tree9f2fca07965bf4aafc72cfaa9e2264d08d5c0ec1 /src/settings.cpp
parente075cf550033b68dbfba0c60988943e23a252ccc (diff)
downloadopenttd-4e839aacf650f65cd8aeeece91fa038b3c68ffdb.tar.xz
(svn r12102) -Feature: Allow locking individual transparency settings so they will not be changed by pressing 'x'. (Roujin)
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 5f18f3c5c..8e88c5e8c 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1283,6 +1283,7 @@ static const SettingDescGlobVarList _misc_settings[] = {
SDTG_VAR("sprite_cache_size",SLE_UINT, S, 0, _sprite_cache_size, 4, 1, 64, 0, STR_NULL, NULL),
SDTG_VAR("player_face", SLE_UINT32, S, 0, _player_face, 0,0,0xFFFFFFFF,0, STR_NULL, NULL),
SDTG_VAR("transparency_options", SLE_UINT8, S, 0, _transparency_opt, 0, 0,0xFF,0, STR_NULL, NULL),
+ SDTG_VAR("transparency_locks", SLE_UINT8, S, 0, _transparency_lock, 0, 0,0xFF,0, STR_NULL, NULL),
SDTG_END()
};