Commit Graph

12269 Commits

Author SHA1 Message Date
rubidium 80043e688e (svn r16693) -Fix [FS#3004] (r16883): cargo income was not added to the vehicle's profit. 2009-06-29 19:17:23 +00:00
translators fa4fc71e11 (svn r16692) -Update from WebTranslator v3.0:
ukrainian - 3 changes by Madvin
2009-06-29 17:45:07 +00:00
rubidium 5375b32aee (svn r16691) -Codechange: what's the point of getting the fifth dparam and then using that as the second dparam later on? Especially when the fifth dparam is never set and the second dparam is never used. 2009-06-29 09:32:58 +00:00
michi_cc b43a4f6787 (svn r16690) -Fix [FS#3002]: Missing debug string for ESRB_SAFE_TILE in YAPF debugging helper. 2009-06-28 22:42:19 +00:00
alberth baab325b54 (svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows. 2009-06-28 22:23:26 +00:00
alberth d5a42ee825 (svn r16688) -Codechange: Some cleanup of intro screen and town directory. 2009-06-28 21:23:37 +00:00
alberth 058bb5d6c3 (svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change. 2009-06-28 20:09:40 +00:00
translators 337c707fa1 (svn r16686) -Update from WebTranslator v3.0:
german - 4 changes by planetmaker
2009-06-28 17:45:07 +00:00
translators 02500a4e04 (svn r16685) -Update: WebTranslator2 update to 2009-06-28 17:40:12
korean     - 3 fixed, 28 changed by leejaeuk5 (31)
2009-06-28 17:40:14 +00:00
alberth 8fba82c99b (svn r16684) -Codechange: Add maxdim function for Dimension struct. 2009-06-28 15:16:57 +00:00
rubidium 18bc39d00b (svn r16683) -Codechange: move the cargo payment handling to a seperate class. Based on ideas of fonso/fonsinchen. 2009-06-28 15:12:59 +00:00
rubidium 043af83a03 (svn r16682) -Codechange: make (static) industry list used to trigger the industries' production compile unit static instead of passing it around as pointer 2009-06-28 14:36:25 +00:00
rubidium 778e92cf54 (svn r16681) -Codechange: only resolve the company once for vehicle payment instead of each time a cargo packet is delivered 2009-06-28 14:33:10 +00:00
rubidium eb4380f5ea (svn r16680) -Codechange: don't go through all the station unloading stuff when there is no vehicle at the station 2009-06-28 14:29:58 +00:00
frosch 1e09854cb7 (svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a CargoArray instead of a pointer to a static array. 2009-06-27 21:36:04 +00:00
frosch a288e4d82f (svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays. 2009-06-27 21:06:58 +00:00
alberth 9b070b5405 (svn r16677) -Codechange: Dimension width and height are unsigned. 2009-06-27 20:53:45 +00:00
frosch 812ad41f23 (svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names. 2009-06-27 18:26:50 +00:00
translators e42deae3a9 (svn r16675) -Update from WebTranslator v3.0:
german - 19 changes by planetmaker
ukrainian - 21 changes by Madvin
2009-06-27 17:45:10 +00:00
translators bbf5d7de21 (svn r16674) -Update: WebTranslator2 update to 2009-06-27 17:32:13
estonian   - 1 fixed by kristjans (1)
slovak     - 38 fixed by James (38)
traditional_chinese - 9 fixed, 15 changed by josesun (24)
2009-06-27 17:32:18 +00:00
smatz 50b5678e26 (svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly 2009-06-27 17:05:20 +00:00
alberth 996e5eea47 (svn r16672) -Codechange: Add functions to compute size of strings and sprites. 2009-06-27 11:45:05 +00:00
alberth 9489490e48 (svn r16671) -Doc: Documenting Sprite structure. 2009-06-26 23:20:32 +00:00
alberth 56122e377b (svn r16670) -Codechange: Containers with equally sized children are useful to have. 2009-06-26 21:25:25 +00:00
frosch c4418d243a (svn r16669) -Cleanup (r1): Only animated tiles are... animated. 2009-06-26 20:03:16 +00:00
translators 9e84a6ae1c (svn r16668) -Update from WebTranslator v3.0:
dutch - 43 changes by Yexo
ukrainian - 34 changes by Madvin
2009-06-26 17:45:11 +00:00
smatz ff33ed94ce (svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by Town::GetRandom() and Industry::GetRandom() 2009-06-26 15:08:54 +00:00
smatz b668c24d46 (svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide _house_specs[] 2009-06-26 14:02:27 +00:00
smatz af78d6a9bb (svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile() 2009-06-26 13:46:23 +00:00
smatz e6a165881c (svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files 2009-06-26 13:44:14 +00:00
smatz 2987f02144 (svn r16663) -Codechange: make removing of railway station tiles faster 2009-06-26 12:25:53 +00:00
smatz 90554ee390 (svn r16662) -Codechange: replace GetRoadStopByTile() by RoadStop::GetByTile() 2009-06-26 10:45:20 +00:00
smatz f2e55319dd (svn r16661) -Codechange: move definition of few very short functions to header files 2009-06-25 23:49:59 +00:00
smatz c0ac230e3e (svn r16660) -Codechange: get rid of more dummy tile_type_procs 2009-06-25 20:08:59 +00:00
smatz c30a87758f (svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
2009-06-25 19:23:09 +00:00
translators 103bff508b (svn r16658) -Update from WebTranslator v3.0:
dutch - 42 changes by Excel20
german - 26 changes by dihedral, mjreaper, planetmaker
hungarian - 39 changes by alyr
ukrainian - 47 changes by Madvin
2009-06-25 17:45:18 +00:00
translators 0745707464 (svn r16657) -Update: WebTranslator2 update to 2009-06-25 16:41:10
finnish    - 1 fixed by jpx_ (1)
serbian    - 110 fixed by etran (110)
2009-06-25 16:41:13 +00:00
smatz 6915643a99 (svn r16656) -Fix (r16655): strange things happen 2009-06-25 16:07:23 +00:00
smatz 38477f2b36 (svn r16655) -Codechange: use IsRailwayStationTile() more 2009-06-25 15:54:06 +00:00
smatz fa1ad0fd3c (svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made 2009-06-25 15:42:03 +00:00
smatz 8bc244d14e (svn r16653) -Fix (r16269): TOC() macro was broken 2009-06-25 00:06:06 +00:00
smatz 029fb9bdee (svn r16652) -Codechange: use less strict, but faster check for quickly bailing out in FindTrainCollideEnum() (Bilbo)
-Codechange: shuffle the code a bit
2009-06-24 23:59:20 +00:00
yexo d45b27c46b (svn r16651) -Fix: When there is no AI version that can load data from the savegame, load the latest version of the same AI instead of a random AI. 2009-06-24 23:34:30 +00:00
yexo cc07a78577 (svn r16650) -Fix (r16649): missing () 2009-06-24 23:24:01 +00:00
yexo 2970b72e59 (svn r16649) -Fix: When the exact AI version a game was saved with is no longer available and the latest version of the AI can't load data from that AI version, use the latest available version of the AI that can load the data instead of the first found version that can load the data. 2009-06-24 23:23:08 +00:00
yexo 8bc9adde19 (svn r16648) -Codechange: move some more includes around 2009-06-24 22:38:47 +00:00
yexo 44c15e4196 (svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway 2009-06-24 21:33:11 +00:00
smatz 05c695a647 (svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile() 2009-06-24 19:26:41 +00:00
translators fd4a9a9106 (svn r16645) -Update from WebTranslator v3.0:
russian - 6 changes by Lone_Wolf
2009-06-24 17:45:07 +00:00
translators 8f7b6536ab (svn r16644) -Update: WebTranslator2 update to 2009-06-24 17:43:08
czech      - 1 fixed by Hadez (1)
hungarian  - 1 fixed by IPG (1)
indonesian - 1 fixed by adjayanto (1)
2009-06-24 17:43:13 +00:00