Commit Graph

11996 Commits (4bf70602a116f957ffdbb599d0de6f92a7df0a28)
 

Author SHA1 Message Date
smatz 4bf70602a1 (svn r16406) -Codechange: constify parameters of CheckSubsidised() 15 years ago
alberth 6fc9b04861 (svn r16405) -Codechange: Move widget drawing code to functions to allow re-use. 15 years ago
rubidium 9f51f3a0f9 (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.
15 years ago
smatz b2aed51f8e (svn r16403) -Codechange: move code related to subsidies to separate file 15 years ago
rubidium f2317d0d9d (svn r16402) -Codechange: make Resolve a function of SpriteGroup 15 years ago
yexo 8d072585ae (svn r16401) -Fix (r16400): forgot to commit the changes to source.list (thanks SmatZ) 15 years ago
yexo 0b243d25cb (svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete. 15 years ago
frosch 8e30f0e75a (svn r16399) -Fix (r4540): Don't treat pointer values as integer. 15 years ago
rubidium bbd14acb1d (svn r16398) -Feature: make NewGRF callbacks work again; honouring the 'features' of 0.3.2.1, which was released only 5 years ago. 15 years ago
rubidium 86710c5185 (svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle 15 years ago
rubidium f490394aa8 (svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union 15 years ago
smatz b270ca84ba (svn r16395) -Fix (r16379): max sign ID can be higher than total number of signs 15 years ago
rubidium 6237fe1462 (svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier. 15 years ago
rubidium da5661a0c8 (svn r16393) -Codechange: move VehicleRail to Train. 15 years ago
rubidium c4b627af42 (svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train 15 years ago
rubidium 80e94b9bb1 (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. 15 years ago
rubidium 7a37220881 (svn r16390) -Codechange: move u.road to RoadVehicle. 15 years ago
rubidium d37b840cf3 (svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate 15 years ago
rubidium c882248348 (svn r16388) -Codechange: move u.air to Aircraft 15 years ago
rubidium ada3067960 (svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate 15 years ago
frosch 09d64ff79d (svn r16386) -Codechange: Move ShowAdditionalText() to build_vehicle_gui and make it static. 15 years ago
rubidium 74ea34ca66 (svn r16385) -Codechange: move u.disaster to DisasterVehicle. 15 years ago
rubidium 6d1c974254 (svn r16384) -Codechange: move u.effect to EffectVehicle 15 years ago
frosch 2365d27a4d (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. 15 years ago
rubidium 441011b782 (svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle. 15 years ago
translators cf0cfb908f (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)
15 years ago
smatz 56a7b70591 (svn r16380) -Codechange: rename pool.hpp to pool_type.hpp 15 years ago
smatz 10d1ef5447 (svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead 15 years ago
smatz 62a7948af0 (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved 15 years ago
smatz 04723b240e (svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index variable instead of var->index 15 years ago
smatz b687ac51ee (svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted 15 years ago
smatz 561d97880d (svn r16375) -Codechange: don't be afraid of deleting NULL pointers 15 years ago
peter1138 b37fda664c (svn r16374) -Fix (r11622): Valid UTF-8 sequences between 0x20 and 0xFF should be allowed as is instead of being treated as control codes. 15 years ago
smatz 6afce484bb (svn r16373) -Codechange: use () instead of (void) for functions without parameters 15 years ago
alberth c497e9e7ed (svn r16372) -Codechange: Simplify size calculations with a few helper functions. 15 years ago
alberth 1122d625ae (svn r16371) -Codechange (r16367): Properly align comments. 15 years ago
alberth 438a5e77b7 (svn r16370) -Doc: Improvements to the nested widgets documentation, added explanation about computations, fixed typo in param description. 15 years ago
alberth b6d198ca0b (svn r16369) -Codechange: Renaming ComputeMinimalSize() to SetupSmallestSize(), and AssignMinimalPosition() to AssignSizePosition(), they do not compute minimal size anymore. 15 years ago
alberth db1be47d76 (svn r16368) -Codechange: Only leaf widgets use min_x and min_y. 15 years ago
alberth 054deab7b3 (svn r16367) -Codechange: Do not use min_x and min_y for storing smallest size to allow initialization more than once. 15 years ago
frosch 82532ac12e (svn r16366) -Fix: Use a valid StringID as fall-back when undefined generic newgrf strings of vehicles are requested. 15 years ago
peter1138 b801d801b5 (svn r16363) -Fix: The previously selected newgrf station type was still remembered after switching to a different game without newstations enabled, preventing stations from being built. 15 years ago
translators 2d8d5580b6 (svn r16362) -Update: WebTranslator2 update to 2009-05-20 17:30:16
catalan    - 2 fixed by arnaullv (2)
czech      - 2 fixed by Hadez (2)
dutch      - 2 fixed by habell (2)
finnish    - 2 fixed by jpx_ (2)
german     - 2 fixed by planetmaker (2)
hungarian  - 2 fixed by oklmernok (2)
italian    - 2 fixed by lorenzodv (2)
japanese   - 20 fixed by ickoonite (20)
turkish    - 2 fixed by Emin (2)
15 years ago
rubidium 26070726ac (svn r16361) -Fix: pointer incremented with wrong count 15 years ago
rubidium 9f4d64bda0 (svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP. 15 years ago
smatz 00bc2659f2 (svn r16359) -Codechange: don't abuse company 0 when determining 'cost to clear land' in the LandInfoWindow 15 years ago
glx ec76117379 (svn r16358) -Fix (r16343): strdup doesn't like NULL 15 years ago
smatz 1e45f4bc4c (svn r16357) -Codechange: delete invalid depots in TTD savegames caused by improper SVXConverter conversions 15 years ago
smatz 3bd52accd9 (svn r16356) -Codechange: use 'size_t' instead of 'uint' as parameter of functions in mem_func.hpp 15 years ago
smatz 70aab8bf04 (svn r16354) -Codechange: use 'new' pool accessors and methods for Engine too 15 years ago