Commit Graph

12459 Commits

Author SHA1 Message Date
rubidium
2c478d1b6d (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
e6ac18cd57 (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
7f117cf256 (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
5140f4261b (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
ce55eda3e1 (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
523cde0798 (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
c52fe937d5 (svn r16677) -Codechange: Dimension width and height are unsigned. 2009-06-27 20:53:45 +00:00
frosch
4c3f480f92 (svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names. 2009-06-27 18:26:50 +00:00
translators
415c575fe5 (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
83abcf6034 (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
837b3628d9 (svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly 2009-06-27 17:05:20 +00:00
alberth
28ad9897da (svn r16672) -Codechange: Add functions to compute size of strings and sprites. 2009-06-27 11:45:05 +00:00
alberth
d5693bd446 (svn r16671) -Doc: Documenting Sprite structure. 2009-06-26 23:20:32 +00:00
alberth
657b6c84f0 (svn r16670) -Codechange: Containers with equally sized children are useful to have. 2009-06-26 21:25:25 +00:00
frosch
9136b9b779 (svn r16669) -Cleanup (r1): Only animated tiles are... animated. 2009-06-26 20:03:16 +00:00
translators
cbb3fa2eca (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
873a205ae6 (svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by Town::GetRandom() and Industry::GetRandom() 2009-06-26 15:08:54 +00:00
smatz
0e5af86ead (svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide _house_specs[] 2009-06-26 14:02:27 +00:00
smatz
7b78bae8e7 (svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile() 2009-06-26 13:46:23 +00:00
smatz
d39c08fd9d (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
5ca420492f (svn r16663) -Codechange: make removing of railway station tiles faster 2009-06-26 12:25:53 +00:00
smatz
9d63b88b22 (svn r16662) -Codechange: replace GetRoadStopByTile() by RoadStop::GetByTile() 2009-06-26 10:45:20 +00:00
smatz
d5e58990f8 (svn r16661) -Codechange: move definition of few very short functions to header files 2009-06-25 23:49:59 +00:00
smatz
bd208c30e0 (svn r16660) -Codechange: get rid of more dummy tile_type_procs 2009-06-25 20:08:59 +00:00
smatz
5d301445a2 (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
0767682e01 (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
1eb577e003 (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
5799a7a57c (svn r16656) -Fix (r16655): strange things happen 2009-06-25 16:07:23 +00:00
smatz
c113303593 (svn r16655) -Codechange: use IsRailwayStationTile() more 2009-06-25 15:54:06 +00:00
smatz
72bee4ad2d (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
2fc6fc7d62 (svn r16653) -Fix (r16269): TOC() macro was broken 2009-06-25 00:06:06 +00:00
smatz
d4538bc611 (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
210c61bef7 (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
b424962e57 (svn r16650) -Fix (r16649): missing () 2009-06-24 23:24:01 +00:00
yexo
f225163e60 (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
a52f5c45e6 (svn r16648) -Codechange: move some more includes around 2009-06-24 22:38:47 +00:00
yexo
b00726a5d2 (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
a9602401f0 (svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile() 2009-06-24 19:26:41 +00:00
translators
6a43a2e8f2 (svn r16645) -Update from WebTranslator v3.0:
russian - 6 changes by Lone_Wolf
2009-06-24 17:45:07 +00:00
translators
172a366412 (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
smatz
f6a4d61cca (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 2009-06-24 17:39:54 +00:00
smatz
916331328e (svn r16642) -Codechange: use map size limits enum at one more place 2009-06-23 23:42:37 +00:00
smatz
4b3bf5667a (svn r16641) -Codechange: reduce number of multiplications done in FindTrainCollideEnum() to minimum 2009-06-23 23:31:43 +00:00
smatz
61a42f42c1 (svn r16640) -Codechange: move roadstop stuff to separate files 2009-06-23 21:44:48 +00:00
smatz
cc9ecc4e7d (svn r16639) -Codechange: enumify RoadStop::status, move definition of short functions to header file 2009-06-23 21:12:48 +00:00
smatz
51c8a2fefc (svn r16637) -Cleanup: remove unused _debug_station_level 2009-06-23 20:39:41 +00:00
smatz
da1b67f115 (svn r16636) -Codechange: no need to initialize already zeroed variables by zero in station and rs constructors, remove debug output 2009-06-23 20:32:51 +00:00
rubidium
b5f49d5b5a (svn r16635) -Fix: a couple of MSVC 64 bits warnings 2009-06-23 20:29:59 +00:00
smatz
54cbd17bd8 (svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany() 2009-06-23 12:11:35 +00:00
smatz
9ec6fc8a61 (svn r16633) -Codechange: remove checks for consistency of newpool 2009-06-23 10:44:46 +00:00