belugas
89d872a625
(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
318f19f5a4
(svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for industries
2007-07-15 00:19:40 +00:00
belugas
6d22aa54cf
(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
7aec26887c
(svn r10567) -Add [FS#915]: a "group" with ungrouped vehicles. Patch by Matthias Wolf.
2007-07-14 23:10:27 +00:00
rubidium
197245eefe
(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
6ba71707f2
(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
b8e302d2a0
(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
a2a3b7da24
(svn r10561) -Fix: don't give 'unused variable' warnings when disabling asserts
2007-07-14 20:21:02 +00:00
miham
452d20487e
(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
2763a427de
(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
a757ed52fd
(svn r10552) -Fix [FS#1034, r10546]: opening Available Aircrafts segfaulted
2007-07-13 19:06:12 +00:00
miham
90a9c3acb8
(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
02f00a254d
(svn r10549) -Fix [FS#1031]: wrong tram catenary poles drawn in some bridge directions.
2007-07-13 15:12:36 +00:00
truelight
84303d0396
(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
fe952911f5
(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
a84dcf7682
(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
243c59be6f
(svn r10542) -Codechange: use class member instead of global variable for null ticks value
2007-07-13 13:03:20 +00:00
rubidium
5ed3482aac
(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
3d684e3477
(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
1e08060929
(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
rubidium
7cd00468d6
(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.
2007-07-12 13:40:24 +00:00
rubidium
6f0db273d6
(svn r10521) -Fix: some NewGRFs did not check whether the newindustries bit was set, which breaks with a not-yet-finished-implementation of newindustries.
2007-07-12 13:25:06 +00:00
rubidium
07a1d4379e
(svn r10520) -Fix: when a "can I build this industry tile here" callback did not fail, it doesn't automatically mean that the industry tile can be built there.
2007-07-12 09:15:57 +00:00
rubidium
de084ace1c
(svn r10519) -Fix: when getting a "nearby" tile, make sure you never roam outside of the map.
2007-07-12 08:10:40 +00:00
rubidium
9dee540233
(svn r10518) -Fix: use the location of the industry and not INVALID_TILE for production callbacks; makes looking at the environment of an industry a lot more useful.
2007-07-12 07:57:08 +00:00
rubidium
bbe5d876cf
(svn r10517) -Fix: the "closest distance to water/land" calculation gave the distance to the north-eastern border instead of the closest water/land.
2007-07-12 07:55:35 +00:00
rubidium
be822ef976
(svn r10516) -Fix: if doing a lookup for a ID, scan the whole range instead of only the "new" ones because the old ones could be overriden too.
2007-07-12 07:53:53 +00:00
rubidium
5f7f99e381
(svn r10515) -Codechange: allow getting some more data about the environment of an industry.
2007-07-11 23:10:22 +00:00
rubidium
57268fa7e3
(svn r10514) -Codechange: add support for getting the nearest industry with a given type.
2007-07-11 22:57:47 +00:00
peter1138
1aaab031b2
(svn r10513) -Fix [FS#1022]: use vehicle subtile position to update cache, not tile, so that collision detection works on bridges and tunnels.
2007-07-11 21:31:34 +00:00
miham
2c517a3026
(svn r10510) -Update: WebTranslator2 update to 2007-07-11 19:01:42
...
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 17:02:15 +00:00
peter1138
42c58e913c
(svn r10509) -Codechange: cache expensive newgrf station variables during
...
sprite lookups/callbacks.
2007-07-11 16:37:20 +00:00
rubidium
79d04412b0
(svn r10508) -Codechange: allow customizable animation schemes for industries.
2007-07-11 15:03:29 +00:00
rubidium
8d4b7ac33b
(svn r10507) -Fix [FS#1019]: apparantly we used the wrong sprites for some pieces of the tram catenary (even though TTDP did so too).
2007-07-11 08:35:14 +00:00
rubidium
e497167dfd
(svn r10506) -Fix: the (manual) building of banks was always rejected.
2007-07-11 08:20:57 +00:00
belugas
fb92e30dfb
(svn r10505) -Fix(r10249)[FS#1016]: Town was still trying to gather 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 02:13:00 +00:00
belugas
5111c6205c
(svn r10504) -Codechange: Shorten the test if no track bit has been found
2007-07-11 01:45:44 +00:00
belugas
8b17441704
(svn r10503) -Codechange: Mark Callback CBID_INDUSTRY_FUND_MORE_TEXT (cb38) as implemented.
2007-07-11 00:36:03 +00:00
rubidium
255102d223
(svn r10502) -Fix [FS#1017]: trying to get the town from a tile that can never be associated with a town.
2007-07-10 22:45:09 +00:00
rubidium
872e74c028
(svn r10501) -Fix [FS#1015]: error dialog was sometimes shown on all clients when a command failed instead of only the client that actually did the command.
2007-07-10 20:59:41 +00:00
rubidium
0cd8274658
(svn r10500) -Fix [FS#1007]: cannot navigate using arrow keys in the game name text box. Patch by benc.
2007-07-10 20:58:07 +00:00
rubidium
e1bdad1e57
(svn r10498) -Fix [FS#1008]: remove inconsistency between a warning and the actual behaviour.
2007-07-10 07:46:58 +00:00
peter1138
0f2d37a113
(svn r10497) -Fix (FS#1013,r8464): Ship max speed wrongly shown (benc)
2007-07-10 07:10:23 +00:00
belugas
a5da0e6609
(svn r10496) -Feature: Replace all the windows for Industry building by a 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 00:59:00 +00:00
belugas
b690bef878
(svn r10495) -Codechange: Add the Action 00 property handlers for Industries and Industry tiles
2007-07-10 00:10:19 +00:00
rubidium
09eb6623ab
(svn r10494) -Fix (r10490): possible null dereference in some exotic newgrfs.
2007-07-09 20:08:25 +00:00
rubidium
b876be0064
(svn r10493) -Codechange: update some callback ID enums to reflect their changed usage, add a few and update the comments.
2007-07-09 19:38:12 +00:00
KUDr
0452fc482d
(svn r10492) -Fix [YAPF, r10491]: commands with no effect (glx)
2007-07-09 19:24:45 +00:00
KUDr
3efc078e2f
(svn r10491) -Fix [FS#988, YAPF]: When rail segment was cached using 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 18:57:12 +00:00
rubidium
25511e0e26
(svn r10490) -Codechange: add support for industries on non-flat surfaces.
2007-07-09 18:53:43 +00:00