summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-23(svn r12854) -Codechange: make drawing of rail catenary a bit fastersmatz
2008-04-23(svn r12853) -Fix: catenary on tunnel entrances and middle bridge pieces was ↵smatz
drawn twice in some cases
2008-04-23(svn r12852) -Fix: do not try to draw rail catenary above non-rail station tilessmatz
2008-04-23(svn r12850) -Fix (r12848): compilation was broken for some platformsglx
2008-04-23(svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix ↵peter1138
with _ for non-globals, and use implicit enum numbering.
2008-04-23(svn r12847) -Cleanup: Identing and variable scopepeter1138
2008-04-23(svn r12845) -Change: use YAPF for fairly old savegames from before YAPF was ↵rubidium
introduced.
2008-04-23(svn r12844) -Fix: the industry tick trigger should only be triggered once ↵rubidium
every 256 ticks, not every tick... Also bail out of the triggers a little earlier if you know they are not going to happen anyway.
2008-04-22(svn r12843) -Feature [FS#1945]: The autoreplace window is now resizable in ↵bjarni
both directions The code to open this window is also unified for all vehicle types
2008-04-22(svn r12842) -Codechange [FS#1604]: scale message history by map sizeglx
2008-04-22(svn r12839) -Codechange: Allocate temporary engine data when loading GRFs ↵peter1138
as needed instead of statically.
2008-04-22(svn r12837) -Codechange: Alignment of widget arraybelugas
2008-04-21(svn r12836) -Fix: SunOS non-dedicated server compilation.rubidium
2008-04-21(svn r12824) -Codechange: Standardise routines for drawing vehicle images, ↵peter1138
using correct types and less duplication.
2008-04-21(svn r12820) -Documentation: Mark callbacks as 8 or 15 bit in ↵frosch
'newgrf_callbacks.h'.
2008-04-21(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does ↵rubidium
it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
2008-04-21(svn r12818) -Codechange: make callbacks 31 and 37 behave like they do in ↵rubidium
TTDP according to frosch's survey.
2008-04-21(svn r12817) -Feature: the ability to play NewGRF sounds for industries and ↵rubidium
stations.
2008-04-21(svn r12816) -Fix: the cargo count in the performance rating window could be ↵rubidium
wrong.
2008-04-21(svn r12815) -Codechange: reshuffle some variables in the CargoPacket struct ↵rubidium
saving 4 of 36 bytes with a 32 bit compiler and 8 of 48 bytes on 64 bit compiler per cargo packets. There are generally more cargopackets in game than vehicles.
2008-04-21(svn r12814) -Codechange: reshuffle some variables in the Vehicle struct ↵rubidium
saving 20 bytes with a 32 bit compiler and 32 bytes on 64 bit compiler per vehicle.
2008-04-21(svn r12813) -Fix [FS#1943]: the 'last built railtype' got reset too often.rubidium
2008-04-20(svn r12810) -Codechange: style and useless casts in CmdSetAutoReplace()glx
2008-04-20(svn r12809) -Fix (r1704): Possible out of bounds array access.peter1138
2008-04-20(svn r12808) -Fix: enforce autorenew values range in commandglx
-Fix: typo in english.txt
2008-04-20(svn r12805) -Codechange: remove some bit magic related to the news display ↵rubidium
states. Patch by cirdan.
2008-04-20(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpprubidium
2008-04-20(svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a ↵rubidium
uniform naming of the thing instead of using both names for the same thing.
2008-04-20(svn r12802) -Fix (r12800): do not commit from the src directory when you ↵rubidium
want to commit source.list too.
2008-04-20(svn r12801) -Codechange: remove the dependency of function.h in town_map.hrubidium
2008-04-20(svn r12800) -Codechange: move the animated tile related functions out of ↵rubidium
texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions.
2008-04-19(svn r12799) -Fix (r12798): Empty for-loop warnings from gcc 4.3+peter1138
2008-04-19(svn r12798) -Feature: Add some support for NewGRF station animation. ↵peter1138
(Thanks to mart3p for samples and fixes)
2008-04-19(svn r12797) -Codechange: [autoreplace] moved wagon removal to a function of ↵bjarni
it's own
2008-04-19(svn r12796) -Fix: the dedicated blitter did segfault too, like the null ↵rubidium
blitter did.
2008-04-19(svn r12795) -Fix [FS#1938]: vehicles could break down during loading and ↵rubidium
keep loading. The intention of the break down code is not to break down when having zero speed, therefor break downs now do not happen when loading.
2008-04-19(svn r12794) -Doc: added missing doxygen comment in autoreplace_cmd.cppbjarni
2008-04-19(svn r12793) -Codechange: Use enum values for station types instead of ↵peter1138
mysterious hex (ln)
2008-04-19(svn r12792) -Codechange: [autoreplace] added a function to figure out if a ↵bjarni
replacement is needed and if so, to which EngineID It's designed to save a bit of CPU time, specially if the replacement isn't buildable (think autorenew of old vehicle)
2008-04-19(svn r12791) -Codechange: [autoreplace] Added a flag parameter (listens for ↵bjarni
DC_EXEC and DC_QUERY_COST) and included more info when returning CommandCost This allowed cleaning up the code in MaybeReplaceVehicle()
2008-04-19(svn r12790) -Codechange: code style fixes. Patch by Alberth.rubidium
2008-04-19(svn r12789) -Codechange: rename AssignWindowViewport to ↵rubidium
InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
2008-04-19(svn r12788) -Codechange: unduplicate some vehicle GUI code. Patch by Alberth.rubidium
2008-04-19(svn r12787) -Documentation: add/fix documentation of some functions. Patch ↵rubidium
by Alberth.
2008-04-19(svn r12786) -Change: remove more function from functions.h.rubidium
2008-04-19(svn r12785) -Codechange: put all news-type related constants in the same ↵rubidium
array. Patch by cirdan.
2008-04-19(svn r12784) -Codechange: handle the asynchronious save 'handlers' in ↵rubidium
saveload.cpp instead of openttd.cpp.
2008-04-19(svn r12783) -Codechange: do not statically allocate the 'temporary map3 ↵rubidium
array' in the oldloader.
2008-04-19(svn r12782) -Codechange: remove some functions from functions.h and do not ↵rubidium
statically 'waste' memory when the old name array is not needed anymore.
2008-04-18(svn r12780) -Fix: the null blitter did segfault.rubidium