summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-07-13(svn r10541) -Fix [FS#1028]: cargo payment rates overflow.rubidium
-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(svn r10537) -Backport r10536: added option for null-driver to configure how ↵truelight
long it should run (-vnull:ticks=10000)
2007-07-12(svn r10532) -Update: WebTranslator2 update to 2007-07-12 19:08:41miham
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(svn r10522) -Fix: the "build truck station" GUI showed that it would accept ↵rubidium
tourists when it does not, whereas the "build bus station" GUI did not show them when it did accept them.
2007-07-12(svn r10521) -Fix: some NewGRFs did not check whether the newindustries bit ↵rubidium
was set, which breaks with a not-yet-finished-implementation of newindustries.
2007-07-12(svn r10520) -Fix: when a "can I build this industry tile here" callback did ↵rubidium
not fail, it doesn't automatically mean that the industry tile can be built there.
2007-07-12(svn r10519) -Fix: when getting a "nearby" tile, make sure you never roam ↵rubidium
outside of the map.
2007-07-12(svn r10518) -Fix: use the location of the industry and not INVALID_TILE for ↵rubidium
production callbacks; makes looking at the environment of an industry a lot more useful.
2007-07-12(svn r10517) -Fix: the "closest distance to water/land" calculation gave the ↵rubidium
distance to the north-eastern border instead of the closest water/land.
2007-07-12(svn r10516) -Fix: if doing a lookup for a ID, scan the whole range instead ↵rubidium
of only the "new" ones because the old ones could be overriden too.
2007-07-11(svn r10515) -Codechange: allow getting some more data about the environment ↵rubidium
of an industry.
2007-07-11(svn r10514) -Codechange: add support for getting the nearest industry with ↵rubidium
a given type.
2007-07-11(svn r10513) -Fix [FS#1022]: use vehicle subtile position to update cache, ↵peter1138
not tile, so that collision detection works on bridges and tunnels.
2007-07-11(svn r10510) -Update: WebTranslator2 update to 2007-07-11 19:01:42miham
brazilian_portuguese - 8 fixed by tucalipe (8) bulgarian - 33 fixed by thetitan (33) catalan - 6 fixed, 81 changed by arnaullv (87) dutch - 6 fixed by habell (6) french - 6 fixed by glx (6) hungarian - 4 fixed by miham (4) italian - 6 fixed by lorenzodv (6) japanese - 8 fixed by ickoonite (8) korean - 6 fixed, 17 changed by leejaeuk5 (23) latvian - 10 fixed by amjaliks (10) portuguese - 6 fixed by izhirahider (6) spanish - 6 fixed by eusebio (6) swedish - 6 fixed by daishan (6)
2007-07-11(svn r10509) -Codechange: cache expensive newgrf station variables during peter1138
sprite lookups/callbacks.
2007-07-11(svn r10508) -Codechange: allow customizable animation schemes for industries.rubidium
2007-07-11(svn r10507) -Fix [FS#1019]: apparantly we used the wrong sprites for some ↵rubidium
pieces of the tram catenary (even though TTDP did so too).
2007-07-11(svn r10506) -Fix: the (manual) building of banks was always rejected.rubidium
2007-07-11(svn r10505) -Fix(r10249)[FS#1016]: Town was still trying to gather ↵belugas
information for tiles on which it could not build. aising the values to 2 will prevent further invasion of the water-at-the-edge :)
2007-07-11(svn r10504) -Codechange: Shorten the test if no track bit has been foundbelugas
2007-07-11(svn r10503) -Codechange: Mark Callback CBID_INDUSTRY_FUND_MORE_TEXT (cb38) ↵belugas
as implemented.
2007-07-10(svn r10502) -Fix [FS#1017]: trying to get the town from a tile that can ↵rubidium
never be associated with a town.
2007-07-10(svn r10501) -Fix [FS#1015]: error dialog was sometimes shown on all clients ↵rubidium
when a command failed instead of only the client that actually did the command.
2007-07-10(svn r10500) -Fix [FS#1007]: cannot navigate using arrow keys in the game ↵rubidium
name text box. Patch by benc.
2007-07-10(svn r10498) -Fix [FS#1008]: remove inconsistency between a warning and the ↵rubidium
actual behaviour.
2007-07-10(svn r10497) -Fix (FS#1013,r8464): Ship max speed wrongly shown (benc)peter1138
2007-07-10(svn r10496) -Feature: Replace all the windows for Industry building by a ↵belugas
more flexible one. Thanks to Csaboka (from TTDPatch dev team) for his hints and original design (which i've found while it was halfway done, so i could make it more compliant ;)). Don't expect it to be a carbon-copy though. A few differences can be found here and there. Thanks to Rubidium for his helping hand. Hope you will like it as we do :)
2007-07-10(svn r10495) -Codechange: Add the Action 00 property handlers for Industries ↵belugas
and Industry tiles
2007-07-09(svn r10494) -Fix (r10490): possible null dereference in some exotic newgrfs.rubidium
2007-07-09(svn r10493) -Codechange: update some callback ID enums to reflect their ↵rubidium
changed usage, add a few and update the comments.
2007-07-09(svn r10492) -Fix [YAPF, r10491]: commands with no effect (glx)KUDr
2007-07-09(svn r10491) -Fix [FS#988, YAPF]: When rail segment was cached using ↵KUDr
electric engine and it ended with non-electric rail it was incorrectly cached with the end reason ESRB_DEAD_END instead of ESRB_RAIL_TYPE. (Eddi) - It caused YAPF to end prematurely there when it was searching for another path (for non-electric engine). - It can lead to sub-optimal path taken or 'train is lost' message. - In MP game it can also cause desync. - Uses changes made in r10489.
2007-07-09(svn r10490) -Codechange: add support for industries on non-flat surfaces.rubidium
2007-07-09(svn r10489) -Codechange [YAPF]: FollowTrack_t now has new data member - ↵KUDr
m_err. It indicates the reason why the given track/trackdir can't be followed when method CFollowTrackT<>::Follow() returned false.
2007-07-09(svn r10488) -Update: WebTranslator2 update to 2007-07-09 18:32:28miham
estonian - 2 fixed by kristjans (2) italian - 1 changed by lorenzodv (1) korean - 6 fixed by leejaeuk5 (6) latvian - 53 fixed by amjaliks (53) portuguese - 5 fixed, 9 changed by izhirahider (14) russian - 2 fixed by Smoky555 (2) slovak - 2 fixed by lengyel (2) spanish - 2 fixed by eusebio (2) swedish - 8 fixed by giddorah (8) ukrainian - 2 fixed by fevral13 (2)
2007-07-09(svn r10487) -Fix: forgot some breaks in a switch statement.rubidium
2007-07-09(svn r10486) -Fix: do not draw foundations when the "should I draw ↵rubidium
foundations" callbacks says to do so.
2007-07-09(svn r10485) -Codechange: add a callback mechanism to determine whether ↵rubidium
building an industry is allowed at a given location.
2007-07-09(svn r10484) -Codechange: reduce code duplication.rubidium
2007-07-08(svn r10483) -Codechange: add support for callbacks to manipulate the ↵rubidium
building chance of farm fields and chopping chance for lumber mills.
2007-07-08(svn r10481) -Codechange: Show a news message with the new industry when ↵maedhros
primary industry prospecting succeeds.
2007-07-08(svn r10480) -Fix: Don't allow building lighthouses and transmitters under ↵maedhros
bridges in the scenario editor, or during world generation.
2007-07-08(svn r10479) -Update: WebTranslator2 update to 2007-07-08 19:44:48miham
american - 4 fixed by WhiteRabbit (4) catalan - 2 fixed by arnaullv (2) czech - 67 fixed by joeprusa (67) danish - 6 fixed by ThomasA (6) dutch - 2 fixed by webfreakz (2) french - 2 fixed by glx (2) german - 23 fixed by chu (23) hungarian - 2 fixed by miham (2) italian - 2 fixed, 4 changed by lorenzodv (6) latvian - 49 fixed by amjaliks (49) portuguese - 66 fixed by izhirahider (66) romanian - 2 fixed by kneekoo (2) slovenian - 2 fixed by Necrolyte (2) traditional_chinese - 2 fixed, 75 changed by xbddc (77) turkish - 7 fixed by jnmbk (7)
2007-07-08(svn r10478) -Fix [FS#999]: remove the loading indicator when a vehicle is ↵rubidium
removed.
2007-07-08(svn r10477) -Codechange: add some callbacks to customise the acceptance of ↵rubidium
industries.
2007-07-08(svn r10476) -Fix: some newgrf callbacks were already implemented even ↵rubidium
though the comment said they were not.
2007-07-08(svn r10475) -Fix [FS#996]: some wrong comments for a few of the (vehicle) ↵rubidium
group related actions.
2007-07-08(svn r10474) -Fix [FS#995]: wrong group count after train crash.rubidium
2007-07-08(svn r10473) -Codechange: make the industry "window", the one that shows ↵rubidium
when you click on an industry, more flexible to allow easier integration with newindustries.
2007-07-07(svn r10472) -Fix (r10741): typos prevented compilationpeter1138