belugas
71637303a9
(svn r10639) -Codechange: Give meaninfull name to a magic number
2007-07-20 17:14:03 +00:00
belugas
1dd61a2249
(svn r10638) -Codechange: Save the mapping of the industries and tiles, making them persistent.
2007-07-20 16:50:11 +00:00
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 :)
2007-07-20 16:08:28 +00:00
belugas
05e4b47613
(svn r10635) -Codechange: Correct some typos and code beautifying (a little bit)
2007-07-20 14:49:41 +00:00
peter1138
a6aba9c83d
(svn r10628) -Fix (r10606,FS#1055): Revert r10606 and fix the plural problem another way.
2007-07-19 17:28:55 +00:00
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.
2007-07-19 17:27:49 +00:00
miham
95fc1a5057
(svn r10626) -Update: WebTranslator2 update to 2007-07-19 19:23:12
...
american - 4 fixed by WhiteRabbit (4)
2007-07-19 17:23:28 +00:00
rubidium
e8a73a0591
(svn r10624) -Fix [FS#1047]: the production of banks could not be modified (either in scenario editor or with the cheat).
2007-07-19 16:24:48 +00:00
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.
2007-07-19 01:47:32 +00:00
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.
2007-07-19 01:35:48 +00:00
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)
2007-07-18 17:37:34 +00:00
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
2007-07-18 17:05:23 +00:00
belugas
3121256978
(svn r10618) -Fix(r10167): remove unneeded comment
2007-07-18 16:02:42 +00:00
belugas
eaf946e23b
(svn r10617) -Codechange: code style changes (removing an erroneous tab plus switch case alignment)
...
-Codechange: give enum values to widgets
2007-07-18 15:59:08 +00:00
glx
fef1907c39
(svn r10607) -Fix r10605: use '&&' in preprocessor directives (MSVC doesn't like 'and')
2007-07-18 02:08:56 +00:00
peter1138
bcc93b45bc
(svn r10606) -Fix (r8826): plural and single cargo names were mixed up.
2007-07-17 20:32:27 +00:00
rubidium
524e306650
(svn r10605) -Fix [FS#1046]: also OpenBSD does not know wchar. Patch by Matthias.
2007-07-17 16:59:21 +00:00
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..
2007-07-17 08:18:57 +00:00
peter1138
61e41b24b4
(svn r10603) -Codechange: avoid direct access to _engine_info
2007-07-17 06:56:09 +00:00
rubidium
45b0b7755d
(svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs.
2007-07-16 23:55:22 +00:00
belugas
210e3c7085
(svn r10600) -Codechange: code-stylising the gui switch-case code
2007-07-16 23:48:25 +00:00
rubidium
f30a71ab82
(svn r10593) -Fix [FS#1038]: one could not remove locks that were build in a (very) old version of OpenTTD.
2007-07-16 21:00:40 +00:00
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)
2007-07-16 17:37:40 +00:00
glx
52cba88586
(svn r10590) -Fix: cargo_packet.* were not sorted correctly in project files
2007-07-16 13:51:17 +00:00
rubidium
c9d293e090
(svn r10589) -Fix (Debian): --enable-install is not needed anymore.
2007-07-16 13:48:12 +00:00
rubidium
df009178d4
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
2007-07-16 09:16:58 +00:00
miham
1f447d10b4
(svn r10584) -Fix: [Translations] Fixed translations screwed up by translator
2007-07-15 18:14:21 +00:00
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)
2007-07-15 17:17:44 +00:00
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.
2007-07-15 11:45:38 +00:00
glx
9f2ca45987
(svn r10575) -Fix r10573: misplaced )
2007-07-15 00:45:02 +00:00
belugas
1bee873376
(svn r10573) -Codechange: Use function CheckIfCallBackAllowsAvailability for random map generation as well as for ingame random industry creation
2007-07-15 00:26:12 +00:00
belugas
7829add2bb
(svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for industries
2007-07-15 00:19:40 +00:00
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
2007-07-15 00:03:17 +00:00
rubidium
13692798e6
(svn r10567) -Add [FS#915]: a "group" with ungrouped vehicles. Patch by Matthias Wolf.
2007-07-14 23:10:27 +00:00
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.
2007-07-14 22:37:40 +00:00
rubidium
0ee2bb60bd
(svn r10563) -Fix: gcc 2.95 (which is still needed for MorphOS :() does have trouble with using the protected/private variables of the enclosing class (and super classes of that enclosing class).
2007-07-14 20:40:11 +00:00
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.
2007-07-14 20:30:35 +00:00
truelight
68c5bcf960
(svn r10561) -Fix: don't give 'unused variable' warnings when disabling asserts
2007-07-14 20:21:02 +00:00
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)
2007-07-14 17:32:50 +00:00
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.
2007-07-13 20:46:53 +00:00
truelight
988d9b8da8
(svn r10552) -Fix [FS#1034, r10546]: opening Available Aircrafts segfaulted
2007-07-13 19:06:12 +00:00
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)
2007-07-13 16:56:07 +00:00
rubidium
46a6b03940
(svn r10549) -Fix [FS#1031]: wrong tram catenary poles drawn in some bridge directions.
2007-07-13 15:12:36 +00:00
truelight
73e2c46e8a
(svn r10548) -Fix [FS#1020]: don't segfault when you quit in the end-of-the-game screen
2007-07-13 15:02:22 +00:00
truelight
4b818368b1
(svn r10547) -Fix: when Cheat-Window is open and a new month happens, the window wasn't redrawn instantly
2007-07-13 15:01:16 +00:00
truelight
1845b5633d
(svn r10546) -Fix [FS#1026]: you can now have both Available Train as Available Ship window open
2007-07-13 14:51:55 +00:00
peter1138
3f4a0eb806
(svn r10542) -Codechange: use class member instead of global variable for null ticks value
2007-07-13 13:03:20 +00:00
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.
2007-07-13 12:08:37 +00:00
truelight
56dfe3031c
(svn r10537) -Backport r10536: added option for null-driver to configure how long it should run (-vnull:ticks=10000)
2007-07-13 10:46:07 +00:00
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)
2007-07-12 17:08:56 +00:00