Commit Graph

12009 Commits

Author SHA1 Message Date
rubidium
a25584b76f (svn r16419) -Fix [FS#2916]: MSYS has two distinct ways to write paths. When 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 17:34:39 +00:00
frosch
80e19b12c3 (svn r16418) -Fix: Resolve the company name for 'subsidy awarded'-news when the news are triggered, so it stays valid when the company bankrupts or is taken over. 2009-05-24 17:23:24 +00:00
translators
6d74fb3553 (svn r16417) -Update: WebTranslator2 update to 2009-05-24 17:18:38
icelandic  - 31 fixed, 14 changed by scrooge (45)
indonesian - 17 fixed by adjayanto (17)
serbian    - 84 fixed by etran (84)
2009-05-24 17:18:45 +00:00
frosch
eeb3f75cfe (svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted. 2009-05-24 16:52:42 +00:00
smatz
b86ab81030 (svn r16415) -Fix (r13008): some 64bit architectures require size_t to be aligned at 8-byte boundary, ensure it for MemBlock 2009-05-24 16:28:33 +00:00
frosch
6e06e82bc4 (svn r16414) -Change: Make it harder to ignore/close important error messages. Esp. do not close them automatically after some time. 2009-05-24 12:50:58 +00:00
alberth
0db7c2929e (svn r16413) -Codechange: Allow leading/trailing whitespace and comma in newgrf parameters instead of treating them as invalid. 2009-05-24 12:49:27 +00:00
frosch
e60a1ec090 (svn r16412) -Cleanup: Shuffle vehicle pointers in AddArticulatedParts(), and remove two of them. 2009-05-24 12:05:27 +00:00
frosch
8ae1c5d908 (svn r16411) -Fix (r16390): Building articulated roadvehicles caused infinite loop due to v->Next() pointing to v itself. 2009-05-24 11:39:35 +00:00
rubidium
a661b157ad (svn r16410) -Fix (r16307): don't assume the extension starts with the first '.', 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-24 09:35:46 +00:00
rubidium
65d2a381d9 (svn r16409) -Change: don't add empty lines/duplicates of the previous command to the console's history 2009-05-23 22:40:14 +00:00
frosch
b9e911170a (svn r16408) -Codechange: Silence a pointless newgrf debug message. 2009-05-23 22:24:09 +00:00
smatz
bebab3cd79 (svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when source station is deleted 2009-05-23 19:43:09 +00:00
smatz
c1861060f7 (svn r16406) -Codechange: constify parameters of CheckSubsidised() 2009-05-23 19:26:00 +00:00
alberth
6bad10d216 (svn r16405) -Codechange: Move widget drawing code to functions to allow re-use. 2009-05-23 18:06:29 +00:00
rubidium
9f5d8d0f56 (svn r16404) -Fix [FS#2911] (r16378): the number of spritegroups got halved 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 16:39:55 +00:00
smatz
1eb48cdded (svn r16403) -Codechange: move code related to subsidies to separate file 2009-05-23 15:46:00 +00:00
rubidium
846382a0f3 (svn r16402) -Codechange: make Resolve a function of SpriteGroup 2009-05-23 15:25:52 +00:00
yexo
95f69954c0 (svn r16401) -Fix (r16400): forgot to commit the changes to source.list (thanks SmatZ) 2009-05-23 15:23:41 +00:00
yexo
2d8609080f (svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete. 2009-05-23 14:54:55 +00:00
frosch
a368f8615d (svn r16399) -Fix (r4540): Don't treat pointer values as integer. 2009-05-23 13:42:02 +00:00
rubidium
fd016d5d09 (svn r16398) -Feature: make NewGRF callbacks work again; honouring the 'features' of 0.3.2.1, which was released only 5 years ago. 2009-05-23 12:56:30 +00:00
rubidium
6cfc38b97c (svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle 2009-05-23 12:27:42 +00:00
rubidium
730b411878 (svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union 2009-05-23 12:13:42 +00:00
smatz
329407e9bc (svn r16395) -Fix (r16379): max sign ID can be higher than total number of signs 2009-05-23 11:13:43 +00:00
rubidium
cd382b28a3 (svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier. 2009-05-23 09:10:56 +00:00
rubidium
4c0542c17f (svn r16393) -Codechange: move VehicleRail to Train. 2009-05-22 22:55:41 +00:00
rubidium
6350648a6c (svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train 2009-05-22 22:33:05 +00:00
rubidium
1324100d69 (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. 2009-05-22 22:22:46 +00:00
rubidium
489253b630 (svn r16390) -Codechange: move u.road to RoadVehicle. 2009-05-22 20:22:20 +00:00
rubidium
1ceb349779 (svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate 2009-05-22 20:18:45 +00:00
rubidium
4ae19b7451 (svn r16388) -Codechange: move u.air to Aircraft 2009-05-22 20:07:26 +00:00
rubidium
1e853b1226 (svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate 2009-05-22 20:03:26 +00:00
frosch
6478025c7d (svn r16386) -Codechange: Move ShowAdditionalText() to build_vehicle_gui and make it static. 2009-05-22 19:47:26 +00:00
rubidium
d40c61749f (svn r16385) -Codechange: move u.disaster to DisasterVehicle. 2009-05-22 18:57:11 +00:00
rubidium
521c265282 (svn r16384) -Codechange: move u.effect to EffectVehicle 2009-05-22 18:56:25 +00:00
frosch
36d36166ad (svn r16383) -Fix/Change: Disable multitile houses with non-zero population on additional tiles as they cause desyncs and because the specs do not allow that either. 2009-05-22 18:44:22 +00:00
rubidium
86fc432293 (svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle. 2009-05-22 18:17:20 +00:00
translators
5c62ee0529 (svn r16381) -Update: WebTranslator2 update to 2009-05-22 17:38:42
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 17:38:53 +00:00
smatz
3793b966c3 (svn r16380) -Codechange: rename pool.hpp to pool_type.hpp 2009-05-22 15:39:22 +00:00
smatz
d6e203ebe2 (svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead 2009-05-22 15:23:47 +00:00
smatz
50624d5c0f (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved 2009-05-22 15:13:50 +00:00
smatz
7eb14aa49f (svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index variable instead of var->index 2009-05-22 14:23:36 +00:00
smatz
70d3ed15c8 (svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted 2009-05-22 13:53:14 +00:00
smatz
10a36c64ca (svn r16375) -Codechange: don't be afraid of deleting NULL pointers 2009-05-22 13:13:55 +00:00
peter1138
75c2f19ed2 (svn r16374) -Fix (r11622): Valid UTF-8 sequences between 0x20 and 0xFF should be allowed as is instead of being treated as control codes. 2009-05-22 12:05:28 +00:00
smatz
85043a1fb7 (svn r16373) -Codechange: use () instead of (void) for functions without parameters 2009-05-21 22:43:25 +00:00
alberth
eded5a612c (svn r16372) -Codechange: Simplify size calculations with a few helper functions. 2009-05-21 18:12:28 +00:00
alberth
673a4802e8 (svn r16371) -Codechange (r16367): Properly align comments. 2009-05-21 17:45:12 +00:00
alberth
b1afd68e4c (svn r16370) -Doc: Improvements to the nested widgets documentation, added explanation about computations, fixed typo in param description. 2009-05-21 16:26:38 +00:00