summaryrefslogtreecommitdiff
path: root/water_cmd.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-03-01 20:49:47 +0000
committerDarkvater <darkvater@openttd.org>2006-03-01 20:49:47 +0000
commite7e8466fb637c4e0f23550d4c1f27b07224b27b1 (patch)
tree48a6322311b5a05ae9e5a951c069d7400f086511 /water_cmd.c
parent6e9211fc5a2300c7d6806d159b78365dd2891aff (diff)
downloadopenttd-e7e8466fb637c4e0f23550d4c1f27b07224b27b1.tar.xz
(svn r3713) - Fix up the cheats window a little. The cheats code is still abominable, but at least a bit more readable now.
Use the now generalized ReadValue/WriteValue functions as well as using general variable-types (SLE_VAR, instead of custom CE_ ones). Remove the CE_CLICK type and use a SLE_BOOL type instead with a flag of CE_CLICK. Remove stepsize from the struct. The stepsize is automatically calculated from the minimum and maximum values (in 20 steps).
Diffstat (limited to 'water_cmd.c')
0 files changed, 0 insertions, 0 deletions