Commit Graph

12317 Commits

Author SHA1 Message Date
smatz 59f94619c7 (svn r16746) -Codechange: use Town::PostDestructor() instead of not very clean construct for invalidating nearest town for road tiles 2009-07-05 13:21:51 +00:00
smatz c861d9b64b (svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing item from the pool 2009-07-05 13:20:05 +00:00
translators 4c6a4e3ab2 (svn r16743) -Update from WebTranslator v3.0:
german - 18 changes by planetmaker
2009-07-04 17:45:07 +00:00
alberth d65c6cae54 (svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows. 2009-07-04 15:35:36 +00:00
alberth 2385aeae3c (svn r16739) -Codechange: Initialize internal data before computing the widgets. 2009-07-04 14:13:23 +00:00
alberth c7c422465a (svn r16738) -Codechange: Remove casting away constness by changing the text before storing. 2009-07-04 13:55:28 +00:00
frosch 7d90c06eb9 (svn r16737) -Fix (r15645): When loading a savegame Engine::grffile might be left NULL in certain cases. (dynamic_engines enabled, articulated vehicle with only wagon-override action3s) 2009-07-04 12:20:42 +00:00
rubidium 571dfb9055 (svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'. 2009-07-04 11:26:57 +00:00
rubidium 65f77a7bee (svn r16735) -Codechange: had_vehicle_of_type only stored 7 bits, all less that bit 7... but it was a word wasting space etc. 2009-07-04 11:24:25 +00:00
alberth 527dd3dcf7 (svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents. 2009-07-03 22:25:59 +00:00
alberth 50ca187524 (svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint. 2009-07-03 21:38:41 +00:00
rubidium ab67cf0031 (svn r16732) -Fix [FS#2991]: show Close instead of Cancel when there's nothing to canel in the content downloading window. 2009-07-03 21:08:18 +00:00
yexo a6b0f0b51a (svn r16731) -Fix [NoAI]: AIDepotList contained wrong tiles for hangars when st->xy != st->airport_tile. 2009-07-03 19:55:07 +00:00
alberth f5d9760824 (svn r16730) -Doc: Added some missing docs (most notably the class/struct docs) to GUIList template. 2009-07-03 19:34:28 +00:00
translators ff402e7ea0 (svn r16729) -Update from WebTranslator v3.0:
german - 7 changes by planetmaker
hebrew - 2 changes by yitzc
indonesian - 28 changes by fanioz
korean - 1 changes by darkttd
brazilian_portuguese - 85 changes by Tucalipe
turkish - 23 changes by niw3
2009-07-03 17:45:22 +00:00
smatz e7be1c74cf (svn r16728) -Fix (r14919): the Join station window didn't show all stations nearby in some cases 2009-07-03 13:33:00 +00:00
alberth 3c50a66ced (svn r16727) -Codechange: Introducing WD_SORTBUTTON_ARROW_WIDTH constant. 2009-07-02 21:18:22 +00:00
translators 7e852ab446 (svn r16726) -Update from WebTranslator v3.0:
indonesian - 26 changes by fanioz
italian - 8 changes by lorenzodv
korean - 29 changes by darkttd
swedish - 74 changes by daishan
2009-07-02 17:45:16 +00:00
frosch 6ffa9f50db (svn r16725) -Documentation: raw_industry_cost_multiplier 2009-07-02 17:08:54 +00:00
smatz 1e6a12b75b (svn r16724) -Fix (r16714): MSVC 64bit warnings (Rubidium) 2009-07-02 12:47:52 +00:00
smatz 6a0855f0d1 (svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train 2009-07-02 12:10:39 +00:00
rubidium 4d14c1b534 (svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions 2009-07-02 09:06:15 +00:00
rubidium 61e735ba4c (svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle. 2009-07-02 08:59:27 +00:00
smatz 77eaefb61c (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 d86e17d65a (svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train 2009-07-01 23:57:20 +00:00
smatz ecfaa0564d (svn r16718) -Codechange: make IsFreeWagon() member of Train 2009-07-01 23:49:13 +00:00
smatz adc5363202 (svn r16717) -Codechange: make IsFrontEngine() member of Train 2009-07-01 22:22:01 +00:00
smatz 15990079ce (svn r16716) -Codechange: reduce code duplication in DrawCompanyVehiclesAmount() 2009-07-01 21:33:06 +00:00
smatz 93c5300fc5 (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 76a50ce94d (svn r16714) -Codechange: use pool-like accessors for Subsidy 2009-07-01 18:45:05 +00:00
smatz aaeb53066d (svn r16713) -Doc: document the Subsidy struct 2009-07-01 18:18:12 +00:00
translators 973adfe98a (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 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