summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-24(svn r16419) -Fix [FS#2916]: MSYS has two distinct ways to write paths. When ↵rubidium
calling external binaries it resolves paths which causes comparisons between a resolved and unresolved path. So always use the resolved path instead of the unresolved one.
2009-05-24(svn r16418) -Fix: Resolve the company name for 'subsidy awarded'-news when ↵frosch
the news are triggered, so it stays valid when the company bankrupts or is taken over.
2009-05-24(svn r16417) -Update: WebTranslator2 update to 2009-05-24 17:18:38translators
icelandic - 31 fixed, 14 changed by scrooge (45) indonesian - 17 fixed by adjayanto (17) serbian - 84 fixed by etran (84)
2009-05-24(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced ↵frosch
vehicles/stations/industries are deleted.
2009-05-24(svn r16415) -Fix (r13008): some 64bit architectures require size_t to be ↵smatz
aligned at 8-byte boundary, ensure it for MemBlock
2009-05-24(svn r16414) -Change: Make it harder to ignore/close important error ↵frosch
messages. Esp. do not close them automatically after some time.
2009-05-24(svn r16413) -Codechange: Allow leading/trailing whitespace and comma in ↵alberth
newgrf parameters instead of treating them as invalid.
2009-05-24(svn r16412) -Cleanup: Shuffle vehicle pointers in AddArticulatedParts(), ↵frosch
and remove two of them.
2009-05-24(svn r16411) -Fix (r16390): Building articulated roadvehicles caused ↵frosch
infinite loop due to v->Next() pointing to v itself.
2009-05-24(svn r16410) -Fix (r16307): don't assume the extension starts with the first ↵rubidium
'.', but with the last '.'. This way depend doesn't fail if there's a dot in your path, e.g. 'gcc-4.4'.
2009-05-23(svn r16409) -Change: don't add empty lines/duplicates of the previous ↵rubidium
command to the console's history
2009-05-23(svn r16408) -Codechange: Silence a pointless newgrf debug message.frosch
2009-05-23(svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when ↵smatz
source station is deleted
2009-05-23(svn r16406) -Codechange: constify parameters of CheckSubsidised()smatz
2009-05-23(svn r16405) -Codechange: Move widget drawing code to functions to allow re-use.alberth
2009-05-23(svn r16404) -Fix [FS#2911] (r16378): the number of spritegroups got halved ↵rubidium
when the new pool was added, which mean there weren't enough spritegroups when you have more than about a dozen ECS vectors. -Change: increase the spritegroup pool's maximum size to something more than the number of real sprites that OpenTTD can handle; for example ECS has about 30 spritegroups per real sprite. With the 'old' limit that would mean 'only' about 4000 real sprites worth of spritegroups could be loaded.
2009-05-23(svn r16403) -Codechange: move code related to subsidies to separate filesmatz
2009-05-23(svn r16402) -Codechange: make Resolve a function of SpriteGrouprubidium
2009-05-23(svn r16401) -Fix (r16400): forgot to commit the changes to source.list ↵yexo
(thanks SmatZ)
2009-05-23(svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of ↵yexo
valid signs. This makes AISign::GetMaxSignID obsolete.
2009-05-23(svn r16399) -Fix (r4540): Don't treat pointer values as integer.frosch
2009-05-23(svn r16398) -Feature: make NewGRF callbacks work again; honouring the ↵rubidium
'features' of 0.3.2.1, which was released only 5 years ago.
2009-05-23(svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehiclerubidium
2009-05-23(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses ↵rubidium
instead of using a big union
2009-05-23(svn r16395) -Fix (r16379): max sign ID can be higher than total number of signssmatz
2009-05-23(svn r16394) -Codechange: move (NewGRF) cache variables into a separate ↵rubidium
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
2009-05-22(svn r16393) -Codechange: move VehicleRail to Train.rubidium
2009-05-22(svn r16392) -Codechange: move some variables (the ones that aren't caches) ↵rubidium
from VehicleRail to Train
2009-05-22(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.rubidium
2009-05-22(svn r16390) -Codechange: move u.road to RoadVehicle.rubidium
2009-05-22(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriaterubidium
2009-05-22(svn r16388) -Codechange: move u.air to Aircraftrubidium
2009-05-22(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriaterubidium
2009-05-22(svn r16386) -Codechange: Move ShowAdditionalText() to build_vehicle_gui and ↵frosch
make it static.
2009-05-22(svn r16385) -Codechange: move u.disaster to DisasterVehicle.rubidium
2009-05-22(svn r16384) -Codechange: move u.effect to EffectVehiclerubidium
2009-05-22(svn r16383) -Fix/Change: Disable multitile houses with non-zero population ↵frosch
on additional tiles as they cause desyncs and because the specs do not allow that either.
2009-05-22(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.rubidium
2009-05-22(svn r16381) -Update: WebTranslator2 update to 2009-05-22 17:38:42translators
brazilian_portuguese - 2 fixed by tucalipe (2) estonian - 2 fixed by kristjans (2) french - 2 fixed by glx (2) indonesian - 20 fixed by rindu (20) romanian - 4 fixed by CrystyB (2), kkmic (2) serbian - 229 fixed by etran (229) spanish - 2 fixed by eusebio (2)
2009-05-22(svn r16380) -Codechange: rename pool.hpp to pool_type.hppsmatz
2009-05-22(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and ↵smatz
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-22(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index ↵smatz
variable instead of var->index
2009-05-22(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle ↵smatz
was deleted
2009-05-22(svn r16375) -Codechange: don't be afraid of deleting NULL pointerssmatz
2009-05-22(svn r16374) -Fix (r11622): Valid UTF-8 sequences between 0x20 and 0xFF ↵peter1138
should be allowed as is instead of being treated as control codes.
2009-05-21(svn r16373) -Codechange: use () instead of (void) for functions without ↵smatz
parameters
2009-05-21(svn r16372) -Codechange: Simplify size calculations with a few helper ↵alberth
functions.
2009-05-21(svn r16371) -Codechange (r16367): Properly align comments.alberth
2009-05-21(svn r16370) -Doc: Improvements to the nested widgets documentation, added ↵alberth
explanation about computations, fixed typo in param description.