summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-07-14(svn r10566) -Fix [FS#1025]: a NewGRF could have a information message that ↵rubidium
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(svn r10562) -Fix: most of the MorphOS issues; MorphOS doesn't know about ↵rubidium
wchars, so disable all code that has to use wchars for MorphOS.
2007-07-14(svn r10561) -Fix: don't give 'unused variable' warnings when disabling assertstruelight
2007-07-14(svn r10559) -Update: WebTranslator2 update to 2007-07-14 19:32:31miham
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-13(svn r10555) -Codechange/Fix: add a soft limit of 4096 "entities" in a ↵rubidium
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(svn r10552) -Fix [FS#1034, r10546]: opening Available Aircrafts segfaultedtruelight
2007-07-13(svn r10550) -Update: WebTranslator2 update to 2007-07-13 18:55:52miham
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(svn r10549) -Fix [FS#1031]: wrong tram catenary poles drawn in some bridge ↵rubidium
directions.
2007-07-13(svn r10548) -Fix [FS#1020]: don't segfault when you quit in the ↵truelight
end-of-the-game screen
2007-07-13(svn r10547) -Fix: when Cheat-Window is open and a new month happens, the ↵truelight
window wasn't redrawn instantly
2007-07-13(svn r10546) -Fix [FS#1026]: you can now have both Available Train as ↵truelight
Available Ship window open
2007-07-13(svn r10542) -Codechange: use class member instead of global variable for ↵peter1138
null ticks value
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.