Commit Graph

6401 Commits (8eda6955b5848ba994f97efcbd54bd65f1be0f04)

Author SHA1 Message Date
smatz 8eda6955b5 (svn r16716) -Codechange: reduce code duplication in DrawCompanyVehiclesAmount() 15 years ago
smatz fe57925910 (svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't warn when used inside function 15 years ago
smatz 93557ba4e9 (svn r16714) -Codechange: use pool-like accessors for Subsidy 15 years ago
smatz 07f133e7c4 (svn r16713) -Doc: document the Subsidy struct 15 years ago
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
15 years ago
smatz d04750ff87 (svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies 15 years ago
smatz 5a227bffdc (svn r16710) -Fix: invalidate subsidies with invalid source or destination when converting older savegames 15 years ago
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 15 years ago
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. 15 years ago
rubidium ff4326d6a3 (svn r16707) -Fix [FS#3007] (r16693): under some circumstances vehicles would skip loading as they thought nothing could be unloaded or loaded. 15 years ago
rubidium e189037662 (svn r16706) -Fix (r16694): acquiring a subsidy resulted in an assertion. 15 years ago
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
15 years ago
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. 15 years ago
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 15 years ago
rubidium f0693ed0c8 (svn r16700) -Fix: if allegro fails to start or fails open a window or sound card fall back to another driver 15 years ago
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. 15 years ago
translators 7de2b22d92 (svn r16697) -Fix (r16696): don't silently introduce old ##case for some languages 15 years ago
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
15 years ago
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)
15 years ago
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.
15 years ago
rubidium 025cf4b546 (svn r16693) -Fix [FS#3004] (r16883): cargo income was not added to the vehicle's profit. 15 years ago
translators 86dbc2bc89 (svn r16692) -Update from WebTranslator v3.0:
ukrainian - 3 changes by Madvin
15 years ago
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. 15 years ago
michi_cc dfa16d6525 (svn r16690) -Fix [FS#3002]: Missing debug string for ESRB_SAFE_TILE in YAPF debugging helper. 15 years ago
alberth 2509f55d87 (svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows. 15 years ago
alberth 0365d15306 (svn r16688) -Codechange: Some cleanup of intro screen and town directory. 15 years ago
alberth 194701b27a (svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change. 15 years ago
translators d443e0c0a8 (svn r16686) -Update from WebTranslator v3.0:
german - 4 changes by planetmaker
15 years ago
translators cb8820f221 (svn r16685) -Update: WebTranslator2 update to 2009-06-28 17:40:12
korean     - 3 fixed, 28 changed by leejaeuk5 (31)
15 years ago
alberth ae9cd9b700 (svn r16684) -Codechange: Add maxdim function for Dimension struct. 15 years ago
rubidium 2c478d1b6d (svn r16683) -Codechange: move the cargo payment handling to a seperate class. Based on ideas of fonso/fonsinchen. 15 years ago
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 15 years ago
rubidium 7f117cf256 (svn r16681) -Codechange: only resolve the company once for vehicle payment instead of each time a cargo packet is delivered 15 years ago
rubidium 5140f4261b (svn r16680) -Codechange: don't go through all the station unloading stuff when there is no vehicle at the station 15 years ago
frosch ce55eda3e1 (svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a CargoArray instead of a pointer to a static array. 15 years ago
frosch 523cde0798 (svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays. 15 years ago
alberth c52fe937d5 (svn r16677) -Codechange: Dimension width and height are unsigned. 15 years ago
frosch 4c3f480f92 (svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names. 15 years ago
translators 415c575fe5 (svn r16675) -Update from WebTranslator v3.0:
german - 19 changes by planetmaker
ukrainian - 21 changes by Madvin
15 years ago
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)
15 years ago
smatz 837b3628d9 (svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly 15 years ago
alberth 28ad9897da (svn r16672) -Codechange: Add functions to compute size of strings and sprites. 15 years ago
alberth d5693bd446 (svn r16671) -Doc: Documenting Sprite structure. 15 years ago
alberth 657b6c84f0 (svn r16670) -Codechange: Containers with equally sized children are useful to have. 15 years ago
frosch 9136b9b779 (svn r16669) -Cleanup (r1): Only animated tiles are... animated. 15 years ago
translators cbb3fa2eca (svn r16668) -Update from WebTranslator v3.0:
dutch - 43 changes by Yexo
ukrainian - 34 changes by Madvin
15 years ago
smatz 873a205ae6 (svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by Town::GetRandom() and Industry::GetRandom() 15 years ago
smatz 0e5af86ead (svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide _house_specs[] 15 years ago
smatz 7b78bae8e7 (svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile() 15 years ago
smatz d39c08fd9d (svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files 15 years ago