diff options
author | bjarni <bjarni@openttd.org> | 2006-09-24 15:01:02 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-09-24 15:01:02 +0000 |
commit | 8f4a4a81da0e11db1cf1947d393eb12344edfbc9 (patch) | |
tree | 680aa98cd17642b6eb9f646e79fac71932347f3c /Makefile | |
parent | 1c56a5ae0fefac5636a7f93c3bed9285fca558d8 (diff) | |
download | openttd-8f4a4a81da0e11db1cf1947d393eb12344edfbc9.tar.xz |
(svn r6503) -Codechange: added a function to tell what vehicles a depot contains
This will ensure that you can always get the same list when checking for vehicles in a depot (no need to duplicate code for each place, that needs such a list)
Since the vehicles are only looped once for each redraw, drawing speed is around twice as fast (measured to be 114%-121% faster depending on the number of vehicles in the game)
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions