summaryrefslogtreecommitdiff
path: root/StdAfx.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
commit78d666eb8e10bd199db091954d65d41847e736db (patch)
tree48a6322311b5a05ae9e5a951c069d7400f086511 /StdAfx.c
parent0ef8e80667a3cd3d572a50d62ede9aa246e166ac (diff)
downloadopenttd-78d666eb8e10bd199db091954d65d41847e736db.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 'StdAfx.c')
0 files changed, 0 insertions, 0 deletions