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.
2007-07-12 13:40:24 +00:00
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.
2007-07-12 13:25:06 +00:00
rubidium
469e1e2596
(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
3378095add
(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
ac0440495c
(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
358758e33b
(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
b779959c27
(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
0c6f628fa6
(svn r10515) -Codechange: allow getting some more data about the environment of an industry.
2007-07-11 23:10:22 +00:00
rubidium
a616f0bd1e
(svn r10514) -Codechange: add support for getting the nearest industry with a given type.
2007-07-11 22:57:47 +00:00
peter1138
dcf4881b07
(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
2121112cc8
(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
556a5ebcc3
(svn r10509) -Codechange: cache expensive newgrf station variables during
...
sprite lookups/callbacks.
2007-07-11 16:37:20 +00:00
rubidium
d1ef87f914
(svn r10508) -Codechange: allow customizable animation schemes for industries.
2007-07-11 15:03:29 +00:00
rubidium
00afab46ab
(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
a9249181c7
(svn r10506) -Fix: the (manual) building of banks was always rejected.
2007-07-11 08:20:57 +00:00
belugas
a59b7f492d
(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
95c877cf71
(svn r10504) -Codechange: Shorten the test if no track bit has been found
2007-07-11 01:45:44 +00:00
belugas
b9db8ecf41
(svn r10503) -Codechange: Mark Callback CBID_INDUSTRY_FUND_MORE_TEXT (cb38) as implemented.
2007-07-11 00:36:03 +00:00
rubidium
fd93cd0411
(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
3ba01bec84
(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
5ef18e693c
(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
b1ab5f3e1c
(svn r10498) -Fix [FS#1008]: remove inconsistency between a warning and the actual behaviour.
2007-07-10 07:46:58 +00:00
peter1138
400203fb5b
(svn r10497) -Fix (FS#1013,r8464): Ship max speed wrongly shown (benc)
2007-07-10 07:10:23 +00:00
belugas
b0989a369c
(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
7ca5c337ca
(svn r10495) -Codechange: Add the Action 00 property handlers for Industries and Industry tiles
2007-07-10 00:10:19 +00:00
rubidium
e84363b4db
(svn r10494) -Fix (r10490): possible null dereference in some exotic newgrfs.
2007-07-09 20:08:25 +00:00
rubidium
7cb7488836
(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
ad5a68a282
(svn r10492) -Fix [YAPF, r10491]: commands with no effect (glx)
2007-07-09 19:24:45 +00:00
KUDr
746a33747b
(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
f183f46561
(svn r10490) -Codechange: add support for industries on non-flat surfaces.
2007-07-09 18:53:43 +00:00
KUDr
b1b26ddb79
(svn r10489) -Codechange [YAPF]: FollowTrack_t now has new data member - m_err. It indicates the reason why the given track/trackdir can't be followed when method CFollowTrackT<>::Follow() returned false.
2007-07-09 18:27:42 +00:00
miham
f0137dea78
(svn r10488) -Update: WebTranslator2 update to 2007-07-09 18:32:28
...
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 16:32:52 +00:00
rubidium
b1944c8f4b
(svn r10487) -Fix: forgot some breaks in a switch statement.
2007-07-09 16:24:00 +00:00
rubidium
2801ccc5f2
(svn r10486) -Fix: do not draw foundations when the "should I draw foundations" callbacks says to do so.
2007-07-09 13:59:07 +00:00
rubidium
e207ba425f
(svn r10485) -Codechange: add a callback mechanism to determine whether building an industry is allowed at a given location.
2007-07-09 13:21:49 +00:00
rubidium
b3ed27adab
(svn r10484) -Codechange: reduce code duplication.
2007-07-09 13:10:04 +00:00
rubidium
37748a3152
(svn r10483) -Codechange: add support for callbacks to manipulate the building chance of farm fields and chopping chance for lumber mills.
2007-07-08 19:54:51 +00:00
rubidium
6baed14dfd
(svn r10482) -Fix [FS#990]: Do not override the CFLAGS environment variable when configuring a non-debug makefile. Based on a patch by saggson.
2007-07-08 18:57:00 +00:00
maedhros
44db937929
(svn r10481) -Codechange: Show a news message with the new industry when primary industry prospecting succeeds.
2007-07-08 18:41:34 +00:00
maedhros
e17cbca358
(svn r10480) -Fix: Don't allow building lighthouses and transmitters under bridges in the scenario editor, or during world generation.
2007-07-08 18:40:15 +00:00
miham
73d2e5840a
(svn r10479) -Update: WebTranslator2 update to 2007-07-08 19:44:48
...
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 17:45:36 +00:00
rubidium
6dfbc5a113
(svn r10478) -Fix [FS#999]: remove the loading indicator when a vehicle is removed.
2007-07-08 17:44:46 +00:00
rubidium
95ea8fd2f1
(svn r10477) -Codechange: add some callbacks to customise the acceptance of industries.
2007-07-08 17:40:04 +00:00
rubidium
064c1ea89e
(svn r10476) -Fix: some newgrf callbacks were already implemented even though the comment said they were not.
2007-07-08 14:23:15 +00:00
rubidium
b76be6418e
(svn r10475) -Fix [FS#996]: some wrong comments for a few of the (vehicle) group related actions.
2007-07-08 09:35:39 +00:00
rubidium
4b70a97fde
(svn r10474) -Fix [FS#995]: wrong group count after train crash.
2007-07-08 09:29:28 +00:00
rubidium
db16c33194
(svn r10473) -Codechange: make the industry "window", the one that shows when you click on an industry, more flexible to allow easier integration with newindustries.
2007-07-08 00:25:05 +00:00
peter1138
00c6a8f076
(svn r10472) -Fix (r10741): typos prevented compilation
2007-07-07 21:14:36 +00:00
peter1138
2723db2884
(svn r10471) -Codechange: implement driver probing priority so that 'preferred' drivers are loaded first
2007-07-07 20:31:23 +00:00
peter1138
855e9d0751
(svn r10470) -Fix: clamp station build date to 16 bit value for newgrf, preventing overflow and incorrect graphics shown past a certain date.
2007-07-07 20:17:01 +00:00