Commit Graph

12285 Commits

Author SHA1 Message Date
smatz f4d0d94184 (svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies 2009-07-01 17:43:26 +00:00
smatz 023f78b5ff (svn r16710) -Fix: invalidate subsidies with invalid source or destination when converting older savegames 2009-07-01 15:08:43 +00:00
rubidium 927c4a0fe8 (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 8db99f57f8 (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 3884221a94 (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 8e804a4b6c (svn r16706) -Fix (r16694): acquiring a subsidy resulted in an assertion. 2009-07-01 09:45:30 +00:00
translators e3627dabda (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 65191b077d (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 b7c8026a3d (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 c29afac0a7 (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 791187cd12 (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 414b719b03 (svn r16698) -Document: update documentation pointing to the old translator tool. 2009-06-30 10:26:28 +00:00
translators ccf2682269 (svn r16697) -Fix (r16696): don't silently introduce old ##case for some languages 2009-06-30 10:19:14 +00:00
translators 5ce1184775 (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 e32a51c8b7 (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 985608c713 (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 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