diff options
author | rubidium <rubidium@openttd.org> | 2010-04-25 16:27:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-04-25 16:27:30 +0000 |
commit | c72e2dde603fe9ba0d57d2e6f259f32398b75a15 (patch) | |
tree | a4245990af5d20004a918d8b0131bd3a96e88613 /src/pbs.cpp | |
parent | 4868fb988ff7373ac0b436511464434a310273fd (diff) | |
download | openttd-c72e2dde603fe9ba0d57d2e6f259f32398b75a15.tar.xz |
(svn r19723) -Add: a simple sprite alignment helper. It does not store the new offsets anywhere so as soon as the sprite is reloaded the offsets are gone (use a bigger sprite cache if this happens). Also anything that reloads NewGRFs (new games, loading games or (re)applying NewGRFs) clears the sprite cache and as such resets the offsets.
Diffstat (limited to 'src/pbs.cpp')
0 files changed, 0 insertions, 0 deletions