Commit Graph

12494 Commits

Author SHA1 Message Date
smatz
9b10bc9cdf (svn r16720) -Codechange: make Set/ClearFrontEngine(), Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train 2009-07-02 00:17:27 +00:00
smatz
1e1f0ab2cf (svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train 2009-07-01 23:57:20 +00:00
smatz
378d01f2f4 (svn r16718) -Codechange: make IsFreeWagon() member of Train 2009-07-01 23:49:13 +00:00
smatz
20fedeb3d6 (svn r16717) -Codechange: make IsFrontEngine() member of Train 2009-07-01 22:22:01 +00:00
smatz
8eda6955b5 (svn r16716) -Codechange: reduce code duplication in DrawCompanyVehiclesAmount() 2009-07-01 21:33:06 +00:00
smatz
fe57925910 (svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't warn when used inside function 2009-07-01 21:29:03 +00:00
smatz
93557ba4e9 (svn r16714) -Codechange: use pool-like accessors for Subsidy 2009-07-01 18:45:05 +00:00
smatz
07f133e7c4 (svn r16713) -Doc: document the Subsidy struct 2009-07-01 18:18:12 +00:00
translators
26d1a888f9 (svn r16712) -Update from WebTranslator v3.0:
afrikaans - 23 changes by burgerd
dutch - 8 changes by Yexo
french - 8 changes by glx
german - 29 changes by dihedral, planetmaker
indonesian - 14 changes by fanioz
italian - 43 changes by lorenzodv
malay - 55 changes by Syed
2009-07-01 17:45:22 +00:00
smatz
d04750ff87 (svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies 2009-07-01 17:43:26 +00:00
smatz
5a227bffdc (svn r16710) -Fix: invalidate subsidies with invalid source or destination when converting older savegames 2009-07-01 15:08:43 +00:00
rubidium
3b44f44287 (svn r16709) -Fix [FS#2994]: the list of animated tiles could have duplicates (only for old savegames) and tiles that weren't animated 2009-07-01 14:51:05 +00:00
rubidium
4e15c61aff (svn r16708) -Cleanup: do not try to indent strings using spaces, especially strings that span multiple lines; it will not get the effect you want. Also do not indent at different levels in different strings that will be shown on the same place. 2009-07-01 09:53:54 +00:00
rubidium
ff4326d6a3 (svn r16707) -Fix [FS#3007] (r16693): under some circumstances vehicles would skip loading as they thought nothing could be unloaded or loaded. 2009-07-01 09:50:52 +00:00
rubidium
e189037662 (svn r16706) -Fix (r16694): acquiring a subsidy resulted in an assertion. 2009-07-01 09:45:30 +00:00
translators
50827afb71 (svn r16703) -Update from WebTranslator v3.0:
catalan - 1 changes by arnaullv
traditional_chinese - 7 changes by elleryq
danish - 3 changes by silentStatic
dutch - 4 changes by Excel20
estonian - 34 changes by kristjans
german - 7 changes by dihedral
greek - 24 changes by Gonik
malay - 30 changes by Syed
romanian - 68 changes by kneekoo
2009-06-30 17:45:27 +00:00
rubidium
54c52f4401 (svn r16702) -Change: don't implicitly fall back to the null/dedicated (video) drivers, but show an error message that no driver could be found. You can still explicitly start the null drivers thought. 2009-06-30 16:20:16 +00:00
rubidium
ffb9f1f1f9 (svn r16701) -Fix [FS#3001]: limit the screen's resolution to 65535x65535 so the dirty pixels stay within bounds of a 32 bits integer 2009-06-30 12:42:43 +00:00
rubidium
f0693ed0c8 (svn r16700) -Fix: if allegro fails to start or fails open a window or sound card fall back to another driver 2009-06-30 12:38:18 +00:00
rubidium
231626f98c (svn r16699) -Fix [FS#3001]: if SDL fails to allocate a surface due to it being too large (and SDL doesn't crash!) fall back to another video driver. 2009-06-30 12:36:24 +00:00
rubidium
6ce7df1153 (svn r16698) -Document: update documentation pointing to the old translator tool. 2009-06-30 10:26:28 +00:00
translators
7de2b22d92 (svn r16697) -Fix (r16696): don't silently introduce old ##case for some languages 2009-06-30 10:19:14 +00:00
translators
a4ffea66e0 (svn r16696) -Change: make order of pragmas identical for all languages (and to what strgen defines it to be)
-Change: make order of cases identical to what the case-pragma indicates
2009-06-30 10:14:17 +00:00
translators
21a845ac98 (svn r16695) -Update: WebTranslator2 update to 2009-06-30 10:00:57
japanese   - 6 fixed by nex259 (6)
norwegian_bokmal - 8 fixed by jankmi (8)
portuguese - 9 fixed by SnowFlake (9)
serbian    - 111 fixed by etran (111)
spanish    - 1 fixed by erregerre (1)
2009-06-30 10:01:05 +00:00
rubidium
4f99508114 (svn r16694) -Fix [FS#2995] (rgradual loading, rnewindustries): only pay for whatever has been actually unloaded and perform the payment when unloading has finished. This fixes, amongst others:
* cheating by starting to unload and after getting paid rushing to the depot to get sold (or unloading, loading and getting paid again for the remainder)
 * cargo being dropped onto a station at the moment a stockpiling industry doesn't accept it anymore
 * industries getting cargo that has not been unloaded yet and subsequently dumping it back on the station in one go
Note: you will now get paid after the unloading has finished, so you'll have to wait a bit longer for 'your' money.
2009-06-29 19:55:36 +00:00
rubidium
025cf4b546 (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
86dbc2bc89 (svn r16692) -Update from WebTranslator v3.0:
ukrainian - 3 changes by Madvin
2009-06-29 17:45:07 +00:00
rubidium
6670a92012 (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
dfa16d6525 (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
2509f55d87 (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
0365d15306 (svn r16688) -Codechange: Some cleanup of intro screen and town directory. 2009-06-28 21:23:37 +00:00
alberth
194701b27a (svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change. 2009-06-28 20:09:40 +00:00
translators
d443e0c0a8 (svn r16686) -Update from WebTranslator v3.0:
german - 4 changes by planetmaker
2009-06-28 17:45:07 +00:00
translators
cb8820f221 (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
ae9cd9b700 (svn r16684) -Codechange: Add maxdim function for Dimension struct. 2009-06-28 15:16:57 +00:00
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