Commit Graph

7824 Commits (c871dc1dd51634f6ac49c803be8389088ee39d43)
 

Author SHA1 Message Date
belugas 151b50e13b (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.
17 years ago
belugas fa1322a740 (svn r11203) -Codechange: Raise the TTDPatch version a little higher, as some new features will be shortly exploitable 17 years ago
belugas 0606562897 (svn r11202) -Feature: [NewGRF] Add support for var 45 for Industries. 17 years ago
rubidium f54a823129 (svn r11201) -Fix [FS#1283]: minor issue with building one way roads one tile long. Patch by SmatZ. 17 years ago
rubidium ca46e547de (svn r11200) -Fix [FS#1291]: road vehicles could not overtake on one way roads going to the east. 17 years ago
rubidium bcebd8b8fa (svn r11199) -Fix: variable 67 and 68 not working correctly.
-Refactor: some code so there is less code duplication.
17 years ago
belugas cfb9cb8cec (svn r11198) -Fix: When industry override is not possible because it is already been overridden, mark the new candidate as not being an override 17 years ago
belugas 23eed48a92 (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.
17 years ago
glx a2ed316770 (svn r11196) -Fix (r11191): _cur_stage was incorrect for GLS_ACTIVATION stage 17 years ago
rubidium 54c7430e46 (svn r11195) -Fix: creation chances for industries during gameplay and during map generation were swapped. 17 years ago
rubidium 8c25b4575c (svn r11194) -Fix: industries with not all tiles custom slope checked (but at least one) would be build on wrongly sloped tiles. 17 years ago
rubidium 5093d8b1cd (svn r11193) -Fix: be more compliant with the specifications of callback #2F (and undocumented side effects in TTDP in corner cases). 17 years ago
belugas 6edbf53177 (svn r11192) -Fix: Little typo with bigger consequences when trying to remove a newindustries aware grf 17 years ago
glx 06059e1f2e (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. 17 years ago
rubidium 7adec5da36 (svn r11190) -Fix: make snowy roofs of (newgrf) houses also transparent. 17 years ago
rubidium 3fcb5c3023 (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. 17 years ago
rubidium 7350b88bf2 (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.
17 years ago
rubidium 6a2029f4f8 (svn r11187) -Fix: what holds for houses in r11149 also holds for industries. 17 years ago
rubidium 69488b521c (svn r11186) -Fix: only fill the accepted cargo fields once, not multiple times. 17 years ago
rubidium 09182386fb (svn r11185) -Codechange: prepare some more code for the introduction of NewIndustries. Patch by Belugas. 17 years ago
rubidium 86dac1533b (svn r11184) -Codechange: cleanup the code related to backup orders. 17 years ago
rubidium bba0d120b7 (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. 17 years ago
rubidium 6222597152 (svn r11182) -Fix [FS#1261] (r11174): bounding boxes caused crashes when zoomed out. Patch by SmatZ. 17 years ago
glx cc6ac7f539 (svn r11181) -Codechange: add support for newgrf callback 14A (Belugas) 17 years ago
rubidium 5d17b29a17 (svn r11180) -Fix (r11175): crash on load when you don't have any NewGRFs. More interesting is: who plays without them ;) 17 years ago
glx ab886349ab (svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken 17 years ago
glx 9613a9988c (svn r11178) -Fix: don't check newgrf callback 22 in scenario editor 17 years ago
glx 52f10b2fbd (svn r11177) -Codechange: add support for newgrf callbacks 14B and 14C 17 years ago
glx 18de82b000 (svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C 17 years ago
rubidium 1dbc6bd4c5 (svn r11175) -Codechange: sort the NewGRFs by name, making searching a specific NewGRF a lot easier. 17 years ago
rubidium d464d7587d (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.
17 years ago
rubidium a28b307c95 (svn r11173) -Codechange: rename some callback enums so they are more uniform. 17 years ago
rubidium 80a3590bf5 (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. 17 years ago
rubidium e582e6364c (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. 17 years ago
rubidium 82851876f2 (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. 17 years ago
rubidium d041e06070 (svn r11169) -Fix [FS#1255]: obiwan in Blitter::Drawline(), which caused it to clip too much at screen/viewport borders. Patch by frosch. 17 years ago
rubidium 03191bba4b (svn r11168) -Fix [FS#1256]: assert on terraforming of industries. Patch by frosch. 17 years ago
rubidium ca5ef5477b (svn r11167) -Fix [FS#1260]: Electric trains were not shown as stopped in depots when converting it from elrail -> normal rail. Patch by smatz. 17 years ago
glx 822b40a026 (svn r11166) -Fix (r11165): forgot one project file 17 years ago
belugas 94ab174776 (svn r11165) -Fix(r11164): an unwelcome change in MSVC projects/openttd_vs80.vcproj, plus a fix in source.list 17 years ago
belugas 41ecae2783 (svn r11164) -Fix(r11161): a rogue space roaming in the night... removed 17 years ago
belugas e4c4c40753 (svn r11163) -Codechange: Verify that the IndustryTileOverrideManager skip the magic value of 0xFF when assigning a new tileID. This is really important, since the value is reserved for water checking. 17 years ago
belugas 926a87d8a7 (svn r11162) -Fix: Acceptance is not a cargo, but rather a level of... acceptance :) So don't need to get cargo name out of it (glx) 17 years ago
belugas 7923f78ed0 (svn r11161) -Fix: Allow to transform coordinates in negative ones when gfx of 0xFF allows it 17 years ago
belugas bd9d8c08ed (svn r11160) -Fix: A gfx of 0xFF does not count when it's time to establish the size of the industry. 17 years ago
glx d7d03edf2d (svn r11159) -Fix (r11155): restore the ability to save in a non existing file 17 years ago
rubidium c25847af12 (svn r11158) -Codechange: reduce the amount of Random calls needed when we do not have NewGRF industries that actually need the random bits. 17 years ago
rubidium 0ac4f10ca0 (svn r11157) -Fix: some random data was printed because printf "thought" that _current_player is 4 bytes instead of 1 byte, causing the random debug output to be useless. 17 years ago
glx 958895a7a7 (svn r11156) -Fix r11155: fix one compiler makes the other warn ;) 17 years ago
rubidium 3e31222294 (svn r11155) -Fix [FS#1253]: work around a nasty MS CRT 8 SP1 bug making it virtually impossible to debug 32bpp games under MSVC (http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=257606). Patch by boekabart. 17 years ago