Commit Graph

12088 Commits

Author SHA1 Message Date
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. 2009-05-23 12:56:30 +00:00
rubidium 86710c5185 (svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle 2009-05-23 12:27:42 +00:00
rubidium f490394aa8 (svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union 2009-05-23 12:13:42 +00:00
smatz b270ca84ba (svn r16395) -Fix (r16379): max sign ID can be higher than total number of signs 2009-05-23 11:13:43 +00:00
rubidium 6237fe1462 (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 da5661a0c8 (svn r16393) -Codechange: move VehicleRail to Train. 2009-05-22 22:55:41 +00:00
rubidium c4b627af42 (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 80e94b9bb1 (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. 2009-05-22 22:22:46 +00:00
rubidium 7a37220881 (svn r16390) -Codechange: move u.road to RoadVehicle. 2009-05-22 20:22:20 +00:00
rubidium d37b840cf3 (svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate 2009-05-22 20:18:45 +00:00
rubidium c882248348 (svn r16388) -Codechange: move u.air to Aircraft 2009-05-22 20:07:26 +00:00
rubidium ada3067960 (svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate 2009-05-22 20:03:26 +00:00
frosch 09d64ff79d (svn r16386) -Codechange: Move ShowAdditionalText() to build_vehicle_gui and make it static. 2009-05-22 19:47:26 +00:00
rubidium 74ea34ca66 (svn r16385) -Codechange: move u.disaster to DisasterVehicle. 2009-05-22 18:57:11 +00:00
rubidium 6d1c974254 (svn r16384) -Codechange: move u.effect to EffectVehicle 2009-05-22 18:56:25 +00:00
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. 2009-05-22 18:44:22 +00:00
rubidium 441011b782 (svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle. 2009-05-22 18:17:20 +00:00
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)
2009-05-22 17:38:53 +00:00
smatz 56a7b70591 (svn r16380) -Codechange: rename pool.hpp to pool_type.hpp 2009-05-22 15:39:22 +00:00
smatz 10d1ef5447 (svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead 2009-05-22 15:23:47 +00:00
smatz 62a7948af0 (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 04723b240e (svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index variable instead of var->index 2009-05-22 14:23:36 +00:00
smatz b687ac51ee (svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted 2009-05-22 13:53:14 +00:00
smatz 561d97880d (svn r16375) -Codechange: don't be afraid of deleting NULL pointers 2009-05-22 13:13:55 +00:00
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. 2009-05-22 12:05:28 +00:00
smatz 6afce484bb (svn r16373) -Codechange: use () instead of (void) for functions without parameters 2009-05-21 22:43:25 +00:00
alberth c497e9e7ed (svn r16372) -Codechange: Simplify size calculations with a few helper functions. 2009-05-21 18:12:28 +00:00
alberth 1122d625ae (svn r16371) -Codechange (r16367): Properly align comments. 2009-05-21 17:45:12 +00:00
alberth 438a5e77b7 (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
alberth b6d198ca0b (svn r16369) -Codechange: Renaming ComputeMinimalSize() to SetupSmallestSize(), and AssignMinimalPosition() to AssignSizePosition(), they do not compute minimal size anymore. 2009-05-21 16:14:04 +00:00
alberth db1be47d76 (svn r16368) -Codechange: Only leaf widgets use min_x and min_y. 2009-05-21 16:00:52 +00:00
alberth 054deab7b3 (svn r16367) -Codechange: Do not use min_x and min_y for storing smallest size to allow initialization more than once. 2009-05-21 15:48:27 +00:00
frosch 82532ac12e (svn r16366) -Fix: Use a valid StringID as fall-back when undefined generic newgrf strings of vehicles are requested. 2009-05-21 13:05:48 +00:00
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. 2009-05-21 07:29:50 +00:00
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)
2009-05-20 17:30:30 +00:00
rubidium 26070726ac (svn r16361) -Fix: pointer incremented with wrong count 2009-05-19 21:25:20 +00:00
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. 2009-05-19 21:20:14 +00:00
smatz 00bc2659f2 (svn r16359) -Codechange: don't abuse company 0 when determining 'cost to clear land' in the LandInfoWindow 2009-05-19 19:26:03 +00:00
glx ec76117379 (svn r16358) -Fix (r16343): strdup doesn't like NULL 2009-05-19 17:04:42 +00:00
smatz 1e45f4bc4c (svn r16357) -Codechange: delete invalid depots in TTD savegames caused by improper SVXConverter conversions 2009-05-19 12:47:47 +00:00
smatz 3bd52accd9 (svn r16356) -Codechange: use 'size_t' instead of 'uint' as parameter of functions in mem_func.hpp 2009-05-19 08:21:37 +00:00
smatz 70aab8bf04 (svn r16354) -Codechange: use 'new' pool accessors and methods for Engine too 2009-05-18 19:32:16 +00:00
smatz a0ff6363e6 (svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALID 2009-05-18 17:40:03 +00:00
smatz 8808f3beea (svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get() 2009-05-18 16:21:28 +00:00
smatz 5fe906e149 (svn r16351) -Fix (r14773): signal handler could end in endless loop 2009-05-18 12:01:13 +00:00
smatz 9af2e38d44 (svn r16350) -Codechange: make some 'rail track is present' checks more 'secure' 2009-05-18 01:35:15 +00:00
smatz 0af27062c4 (svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile() 2009-05-18 01:26:23 +00:00
smatz d1f9a90d32 (svn r16348) -Fix (r16280): buoys with invalid station ID could be left in the game 2009-05-18 00:33:24 +00:00
rubidium b385cf31cb (svn r16347) -Cleanup: remove some unused defines from oldpool.h. 2009-05-17 20:38:22 +00:00
rubidium 10406e8ad6 (svn r16346) -Codechange: don't exploit the pool system in the way done for the saveload pool; it makes writing replacements unnecessarily difficult. And now we've got SmallVector that does more than enough for saving with less lines of 'interface' code. 2009-05-17 20:38:05 +00:00