rubidium
e485669d2c
(svn r11217) -Update: the readme as some things weren't quite right anymore.
2007-10-06 13:18:43 +00:00
belugas
62ab367800
(svn r11216) -Codechange: Protect the callback who would access var 45 against a randomness that could eventually cause desynchs. Instead, use a controlled random value.
2007-10-06 00:23:30 +00:00
rubidium
39a8b5549e
(svn r11215) -Codechange: replace magic constants with less magic symbols. Patch by skidd13.
2007-10-05 22:39:15 +00:00
glx
8e5480aa16
(svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these orders
2007-10-05 22:13:35 +00:00
rubidium
0fd7d6257b
(svn r11213) -Fix [FS#1298]: confusing messages when trying to build a bridge.
2007-10-05 22:10:15 +00:00
rubidium
6e7402a1c5
(svn r11212) -Codechange: add support for drawing parts of sprites. Patch by frosch.
2007-10-05 21:49:15 +00:00
rubidium
bf35f3a21a
(svn r11211) -Fix [FS#1302]: NewGRF GUI scrollbar does funny things when being resized.
2007-10-05 21:31:59 +00:00
rubidium
1e73368d48
(svn r11210) -Codechange: unify the way that selection sprites are drawn. Patch by frosch.
2007-10-05 19:57:20 +00:00
rubidium
f4721fed87
(svn r11209) -Codechange: remove some magic numbers and bit magic with appropriate enums and functions. Patch by frosch.
2007-10-05 19:36:13 +00:00
rubidium
e237ac3ff3
(svn r11208) -Fix [FS#1300]: tunnel excavation could disown somebody elses owned land. Patch by frosch.
2007-10-05 17:55:12 +00:00
glx
9a190237ca
(svn r11207) -Fix [FS#1301]: don't use smooth_economy for industries using production callbacks as they may have no production for more than a month
2007-10-05 17:53:45 +00:00
rubidium
a88d0a88b8
(svn r11206) -Fix [FS#1299]: half tram bits could be removed in some cases. Based on patches by frosch and skidd13.
2007-10-05 17:53:01 +00:00
rubidium
cd1af1c870
(svn r11205) -Codechange: remove some, now obsolete, checks.
2007-10-05 17:50:17 +00:00
belugas
38b7480bb0
(svn r11204) -Feature: [NewGRF] Add support for Action 00 for Industries and IndustryTiles.
...
Thanks to :Csaboka for original concept, specs & help. Dalestan for technical explanations.
Pikkabird & Georges for detailled comments on their grf works. The Alpha testers (You know who you are).
And finally (but not least) Maedhros (newhouses), peter1138(newgrf) Rubidium and glx (numerous and welcome patches)
Remember: it certainly can be buggy. But be sure that behaviour has been tested in TTDP (if you can) before raising a flag.
2007-10-05 02:21:40 +00:00
belugas
7c17d394f2
(svn r11203) -Codechange: Raise the TTDPatch version a little higher, as some new features will be shortly exploitable
2007-10-05 02:06:29 +00:00
belugas
95b32d58e7
(svn r11202) -Feature: [NewGRF] Add support for var 45 for Industries.
2007-10-05 01:46:49 +00:00
rubidium
7788c04b78
(svn r11201) -Fix [FS#1283]: minor issue with building one way roads one tile long. Patch by SmatZ.
2007-10-04 20:20:23 +00:00
rubidium
07f8b91a18
(svn r11200) -Fix [FS#1291]: road vehicles could not overtake on one way roads going to the east.
2007-10-04 20:16:35 +00:00
rubidium
791d68325b
(svn r11199) -Fix: variable 67 and 68 not working correctly.
...
-Refactor: some code so there is less code duplication.
2007-10-04 07:09:05 +00:00
belugas
aae3ca07c4
(svn r11198) -Fix: When industry override is not possible because it is already been overridden, mark the new candidate as not being an override
2007-10-04 00:59:52 +00:00
belugas
7525f791c7
(svn r11197) -Fix: It is not useful to reset the override of an entity every time a new grf file is been submitted.
...
Since newhouses showed the way to newindustries(meaning I copied/adapted a lot of code and processes from it), the behaviour was there for newhouses too.
2007-10-03 00:57:54 +00:00
glx
dca398e9a6
(svn r11196) -Fix (r11191): _cur_stage was incorrect for GLS_ACTIVATION stage
2007-10-02 20:20:14 +00:00
rubidium
a5e8761325
(svn r11195) -Fix: creation chances for industries during gameplay and during map generation were swapped.
2007-10-02 18:43:17 +00:00
rubidium
2b56d11276
(svn r11194) -Fix: industries with not all tiles custom slope checked (but at least one) would be build on wrongly sloped tiles.
2007-10-02 17:48:17 +00:00
rubidium
531fe3e070
(svn r11193) -Fix: be more compliant with the specifications of callback #2F (and undocumented side effects in TTDP in corner cases).
2007-10-02 16:56:45 +00:00
belugas
7979674717
(svn r11192) -Fix: Little typo with bigger consequences when trying to remove a newindustries aware grf
2007-10-02 01:12:06 +00:00
glx
729d121c50
(svn r11191) -Fix [FS#1227]: GLS_ACTIVATION stage must be done immediatly after GLS_RESERVE stage, before the GLS_RESERVE stage for the next newgrf.
2007-10-01 18:59:25 +00:00
rubidium
a2256f6b0f
(svn r11190) -Fix: make snowy roofs of (newgrf) houses also transparent.
2007-09-30 19:33:40 +00:00
rubidium
171374a8f0
(svn r11189) -Fix: if the location check callback results in something invalid (i.e. not a callback result), the industry should be allowed to be build as that's how TTDP does it.
2007-09-30 18:53:59 +00:00
rubidium
ff14665f6e
(svn r11188) -Codechange: rewrite of the town action related code (remove some of the magic).
...
-Feature: possibility to disable exclusive rights and giving money. Both by skidd13.
2007-09-30 17:38:42 +00:00
rubidium
c952f3d5ef
(svn r11187) -Fix: what holds for houses in r11149 also holds for industries.
2007-09-30 15:37:24 +00:00
rubidium
32c0c3a644
(svn r11186) -Fix: only fill the accepted cargo fields once, not multiple times.
2007-09-30 14:29:45 +00:00
rubidium
136d726b6f
(svn r11185) -Codechange: prepare some more code for the introduction of NewIndustries. Patch by Belugas.
2007-09-28 21:24:25 +00:00
rubidium
beeae81f60
(svn r11184) -Codechange: cleanup the code related to backup orders.
2007-09-28 21:15:45 +00:00
rubidium
e67b985bfa
(svn r11183) -Fix [FS#1249]: airports do not need to care about overflying aircraf when removing them, because if they were not in the "flying" state it can't be removed anyway.
2007-09-28 19:24:52 +00:00
rubidium
a4695c9022
(svn r11182) -Fix [FS#1261] (r11174): bounding boxes caused crashes when zoomed out. Patch by SmatZ.
2007-09-28 19:17:33 +00:00
glx
c07e91fd78
(svn r11181) -Codechange: add support for newgrf callback 14A (Belugas)
2007-09-28 17:09:50 +00:00
rubidium
08fd0030d2
(svn r11180) -Fix (r11175): crash on load when you don't have any NewGRFs. More interesting is: who plays without them ;)
2007-09-28 17:04:52 +00:00
glx
9f552ae0b3
(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken
2007-09-28 16:05:40 +00:00
glx
1f4889e38a
(svn r11178) -Fix: don't check newgrf callback 22 in scenario editor
2007-09-28 00:34:10 +00:00
glx
7cdbb50b5b
(svn r11177) -Codechange: add support for newgrf callbacks 14B and 14C
2007-09-27 21:47:38 +00:00
glx
5e45e73037
(svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C
2007-09-27 21:39:13 +00:00
rubidium
02d23c2776
(svn r11175) -Codechange: sort the NewGRFs by name, making searching a specific NewGRF a lot easier.
2007-09-27 20:39:46 +00:00
rubidium
8564e12554
(svn r11174) -Codechange: add possibility to show the bounding boxes of sprites using CTRL-B so one can get a better understanding of the used bounding boxes to fix the glitches that still exist. Patch by frosch.
...
Note that this is not completely glitch free, bounding boxes sometimes aren't removed properly. This is due to the fact that the bounding boxes sometimes are larger than the sprite, which causes a smaller part than the bounding box to be redrawn. This is NOT a bug, but a known implementation limit as we do not want to slow down normal games so the debug graphics are always 100% correct.
2007-09-26 19:27:29 +00:00
rubidium
127c7c9b0f
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
2007-09-26 17:33:32 +00:00
rubidium
01edaeec57
(svn r11172) -Codechange: rewrite of town road building and addition of the possibility to clean up unconnected road bits during the local road reconstructions. Based on a patch by skidd13.
2007-09-26 16:12:43 +00:00
rubidium
a85e18c922
(svn r11171) -Fix [FS#1257]: disable autoslope for automatically changed stuff (like towns and industries) and enable it in the scenario editor. Patch by frosch.
2007-09-26 14:32:06 +00:00
rubidium
7455676941
(svn r11170) -Fix (r11152): a variable's type was too small for the data that is going to put into it when NewIndustries are finally activated. For now it just removes a warning and doesn't really fix anything.
2007-09-26 14:21:23 +00:00
rubidium
2239809bdc
(svn r11169) -Fix [FS#1255]: obiwan in Blitter::Drawline(), which caused it to clip too much at screen/viewport borders. Patch by frosch.
2007-09-26 14:17:26 +00:00
rubidium
ca7cab0253
(svn r11168) -Fix [FS#1256]: assert on terraforming of industries. Patch by frosch.
2007-09-26 14:14:51 +00:00