diff options
author | Darkvater <Darkvater@openttd.org> | 2006-03-01 20:49:47 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-03-01 20:49:47 +0000 |
commit | 78d666eb8e10bd199db091954d65d41847e736db (patch) | |
tree | 48a6322311b5a05ae9e5a951c069d7400f086511 /newgrf.c | |
parent | 0ef8e80667a3cd3d572a50d62ede9aa246e166ac (diff) | |
download | openttd-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 'newgrf.c')
0 files changed, 0 insertions, 0 deletions