Commit Graph

1668 Commits (79c94729b5e16deef82264bc959e82bb32e0f838)

Author SHA1 Message Date
belugas 79c94729b5 (svn r10640) -Fix(r10638): little typo... 17 years ago
belugas 71637303a9 (svn r10639) -Codechange: Give meaninfull name to a magic number 17 years ago
belugas 1dd61a2249 (svn r10638) -Codechange: Save the mapping of the industries and tiles, making them persistent. 17 years ago
belugas a79ed67f76 (svn r10637) -Fix: Enable the Random Industries in scenario editor if setting Number of Industries is not NONE.
Spotted by skiddl13.
Thanks to glx for help in finding and better looking code :)
17 years ago
belugas 05e4b47613 (svn r10635) -Codechange: Correct some typos and code beautifying (a little bit) 17 years ago
peter1138 a6aba9c83d (svn r10628) -Fix (r10606,FS#1055): Revert r10606 and fix the plural problem another way. 17 years ago
rubidium f6ca271375 (svn r10627) -Fix [FS#1052]: be consistent with the space between the company name and the player number, i.e. always put a space between them. 17 years ago
miham 95fc1a5057 (svn r10626) -Update: WebTranslator2 update to 2007-07-19 19:23:12
american   - 4 fixed by WhiteRabbit (4)
17 years ago
rubidium e8a73a0591 (svn r10624) -Fix [FS#1047]: the production of banks could not be modified (either in scenario editor or with the cheat). 17 years ago
belugas 917c536031 (svn r10622) -Feature: Introduction of the CBID_INDUSTRY_AVAILABLE's handling, in fund industry window.
In order to stay as much consistent with the specs, the fund window will perform (if required) the callback every game-day.  TTDPatch performs the same call every second, but after discussions with Csaboka, we agreed that it was not required to be that intensive.  So a game-day is plenty enough.
17 years ago
belugas e32c72e35a (svn r10621) -Codechange: install a struct holding the user's selection from _fund_gui.
-Codechange: merge WE_TIMEOUT and WE_ABORT_PLACE_OBJ, as they both do  the same thing. 
-Feature: Any time you place an industry, even if it fails, the button will reset and the cursor will return to normal.
17 years ago
miham 50d988b396 (svn r10620) -Update: WebTranslator2 update to 2007-07-18 19:37:17
czech      - 10 fixed, 13 changed by Hadez (23)
estonian   - 20 changed by kristjans (20)
galician   - 34 fixed, 5 changed by Condex (39)
slovak     - 4 fixed by lengyel (4)
17 years ago
belugas 15429e3d9d (svn r10619) -Codechange: Use shorter variable/member names and add some code separation.
-Codechange: Use a stringID variable instead of always refering to the _fund_gui.text[foo] member
-Documentation: Add a few explanatory comments here and there
17 years ago
belugas 3121256978 (svn r10618) -Fix(r10167): remove unneeded comment 17 years ago
belugas eaf946e23b (svn r10617) -Codechange: code style changes (removing an erroneous tab plus switch case alignment)
-Codechange: give enum values to widgets
17 years ago
glx fef1907c39 (svn r10607) -Fix r10605: use '&&' in preprocessor directives (MSVC doesn't like 'and') 17 years ago
peter1138 bcc93b45bc (svn r10606) -Fix (r8826): plural and single cargo names were mixed up. 17 years ago
rubidium 524e306650 (svn r10605) -Fix [FS#1046]: also OpenBSD does not know wchar. Patch by Matthias. 17 years ago
rubidium 5b15a202ea (svn r10604) -Fix [FS#1044] (r9866): some industries produced cargo they should not be producing, which would result in the industry offering invalid cargo to a station resulting in crashes.. 17 years ago
peter1138 61e41b24b4 (svn r10603) -Codechange: avoid direct access to _engine_info 17 years ago
rubidium 45b0b7755d (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 17 years ago
belugas 210e3c7085 (svn r10600) -Codechange: code-stylising the gui switch-case code 17 years ago
rubidium f30a71ab82 (svn r10593) -Fix [FS#1038]: one could not remove locks that were build in a (very) old version of OpenTTD. 17 years ago
miham b356343d30 (svn r10592) -Update: WebTranslator2 update to 2007-07-16 19:35:30
brazilian_portuguese - 4 fixed by tucalipe (4)
catalan    - 4 fixed by arnaullv (4)
croatian   - 7 fixed by knovak (7)
danish     - 10 fixed, 7 changed by ThomasA (17)
dutch      - 4 fixed by habell (4)
estonian   - 4 fixed by kristjans (4)
finnish    - 30 fixed by habazi (30)
korean     - 4 fixed by darkttd (4)
norwegian_nynorsk - 16 fixed by pollux (16)
piglatin   - 12 fixed by adammw (12)
portuguese - 4 changed by izhirahider (4)
russian    - 4 fixed by Smoky555 (4)
slovenian  - 4 fixed by Necrolyte (4)
spanish    - 4 fixed by eusebio (4)
ukrainian  - 4 fixed by fevral13 (4)
17 years ago
rubidium df009178d4 (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h 17 years ago
miham 1f447d10b4 (svn r10584) -Fix: [Translations] Fixed translations screwed up by translator 17 years ago
miham a75fd13d93 (svn r10583) -Update: WebTranslator2 update to 2007-07-15 19:17:18
croatian   - 135 fixed, 2 changed by knovak (137)
czech      - 3 changed by Hadez (3)
finnish    - 29 fixed by habazi (29)
french     - 4 fixed by Skiper (4)
german     - 21 fixed, 1 changed by chu (22)
hungarian  - 4 fixed by miham (4)
italian    - 4 fixed by lorenzodv (4)
japanese   - 4 fixed by ickoonite (4)
portuguese - 4 fixed by izhirahider (4)
romanian   - 10 fixed by kneekoo (10)
traditional_chinese - 4 fixed by xbddc (4)
17 years ago
KUDr 3df88dada8 (svn r10578) -Fix [YAPF, ships]: Ships received curve penalty for non-diagonal straight move. (JazzyJaffa)
-The fix in cost calculation uncovered bug in estimate calculation. Ships now use the same estimate algorithm as trains.
17 years ago
glx 9f2ca45987 (svn r10575) -Fix r10573: misplaced ) 17 years ago
belugas 1bee873376 (svn r10573) -Codechange: Use function CheckIfCallBackAllowsAvailability for random map generation as well as for ingame random industry creation 17 years ago
belugas 7829add2bb (svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for industries 17 years ago
belugas e37affa1d3 (svn r10570) -Codechange: Add enum required for Callback 0x22: CBID_INDUSTRY_AVAILABLE
-Documentation: Add documentation for enum IndustryConstructionType, which describes how the industry has been created
17 years ago
rubidium 13692798e6 (svn r10567) -Add [FS#915]: a "group" with ungrouped vehicles. Patch by Matthias Wolf. 17 years ago
rubidium c598d1b446 (svn r10566) -Fix [FS#1025]: a NewGRF could have a information message that is too long for the internal buffers to handle. We should not crash on such a case even though the message is too big for the window anyway. 17 years ago
rubidium 25028759c1 (svn r10562) -Fix: most of the MorphOS issues; MorphOS doesn't know about wchars, so disable all code that has to use wchars for MorphOS. 17 years ago
truelight 68c5bcf960 (svn r10561) -Fix: don't give 'unused variable' warnings when disabling asserts 17 years ago
miham 08780621cc (svn r10559) -Update: WebTranslator2 update to 2007-07-14 19:32:31
american   - 8 fixed by WhiteRabbit (8)
catalan    - 15 changed by arnaullv (15)
estonian   - 6 fixed by kristjans (6)
slovenian  - 6 fixed by Necrolyte (6)
17 years ago
rubidium 7ed3c49bcd (svn r10555) -Codechange/Fix: add a soft limit of 4096 "entities" in a station's waiting queue and a hard limit of 32768 so (malicious) people cannot cause a "denial of service" attack by filling cargo lists. 17 years ago
truelight 988d9b8da8 (svn r10552) -Fix [FS#1034, r10546]: opening Available Aircrafts segfaulted 17 years ago
miham db0ad29b81 (svn r10550) -Update: WebTranslator2 update to 2007-07-13 18:55:52
german     - 3 fixed by Neonox (3)
hungarian  - 2 fixed by miham (2)
slovak     - 6 fixed by lengyel (6)
traditional_chinese - 6 fixed by xbddc (6)
17 years ago
rubidium 46a6b03940 (svn r10549) -Fix [FS#1031]: wrong tram catenary poles drawn in some bridge directions. 17 years ago
truelight 73e2c46e8a (svn r10548) -Fix [FS#1020]: don't segfault when you quit in the end-of-the-game screen 17 years ago
truelight 4b818368b1 (svn r10547) -Fix: when Cheat-Window is open and a new month happens, the window wasn't redrawn instantly 17 years ago
truelight 1845b5633d (svn r10546) -Fix [FS#1026]: you can now have both Available Train as Available Ship window open 17 years ago
peter1138 3f4a0eb806 (svn r10542) -Codechange: use class member instead of global variable for null ticks value 17 years ago
rubidium 9b105c28bd (svn r10541) -Fix [FS#1028]: cargo payment rates overflow.
-Fix: cargo payment rates diverge from cost rates making it impossible to make any profit after a certain number of years.
 Both are solved by stopping the inflation after 170 years; there is absolutely no point in continueing the inflation after that as it only makes the game have overflows at some point that cannot be solved; using larger variables only delays the inevitable.
17 years ago
truelight 56dfe3031c (svn r10537) -Backport r10536: added option for null-driver to configure how long it should run (-vnull:ticks=10000) 17 years ago
miham 86e2e2f1c3 (svn r10532) -Update: WebTranslator2 update to 2007-07-12 19:08:41
catalan    - 3 changed by arnaullv (3)
portuguese - 1 changed by izhirahider (1)
russian    - 6 fixed by Smoky555 (6)
ukrainian  - 6 fixed by fevral13 (6)
17 years ago
rubidium 690a27f8ce (svn r10522) -Fix: the "build truck station" GUI showed that it would accept tourists when it does not, whereas the "build bus station" GUI did not show them when it did accept them. 17 years ago
rubidium 009a47dfcd (svn r10521) -Fix: some NewGRFs did not check whether the newindustries bit was set, which breaks with a not-yet-finished-implementation of newindustries. 17 years ago