Commit Graph

2028 Commits

Author SHA1 Message Date
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
rubidium 93459d1b43 (svn r11167) -Fix [FS#1260]: Electric trains were not shown as stopped in depots when converting it from elrail -> normal rail. Patch by smatz. 2007-09-26 14:05:09 +00:00
belugas fa075ed7bc (svn r11164) -Fix(r11161): a rogue space roaming in the night... removed 2007-09-26 02:20:58 +00:00
belugas 21cbc7009f (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. 2007-09-26 02:15:00 +00:00
belugas a6c6b355c2 (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) 2007-09-26 02:11:30 +00:00
belugas 63b91ac88a (svn r11161) -Fix: Allow to transform coordinates in negative ones when gfx of 0xFF allows it 2007-09-26 01:27:51 +00:00
belugas ea2100e4e8 (svn r11160) -Fix: A gfx of 0xFF does not count when it's time to establish the size of the industry. 2007-09-26 01:24:12 +00:00
glx 94a710fa46 (svn r11159) -Fix (r11155): restore the ability to save in a non existing file 2007-09-25 14:15:38 +00:00
rubidium e61f197dba (svn r11158) -Codechange: reduce the amount of Random calls needed when we do not have NewGRF industries that actually need the random bits. 2007-09-24 20:56:33 +00:00
rubidium db0e01bd7b (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. 2007-09-24 20:55:13 +00:00
glx 54fe17050b (svn r11156) -Fix r11155: fix one compiler makes the other warn ;) 2007-09-24 19:55:50 +00:00
rubidium 2408a68910 (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. 2007-09-24 19:15:42 +00:00
rubidium b12785cf7c (svn r11154) -Fix [FS#1239]: MIDI failing to play under Windows 95, 98 and ME. 2007-09-24 19:11:26 +00:00
rubidium fc371ad994 (svn r11152) -Fix: GetIndustryIDAtOffset crashed when translation of the GFX ID would be needed. Fix by Belugas.
-Fix: GetIndustryIDAtOffset crashed when the industry->xy tile was not an industry tile.
2007-09-23 19:55:42 +00:00
rubidium 4dca543135 (svn r11151) -Codechange: add (partial) support for randomizing industry triggers (part of the backend for it). Furthermore update the documentation of the map's bits wrt to industries. 2007-09-23 19:27:35 +00:00
rubidium f4792f29cb (svn r11150) -Fix [FS#1202]: NewGRF action 3 does not necessarily need an action 1 to be defined. Patch by frosch. 2007-09-23 11:05:11 +00:00
maedhros df03734674 (svn r11149) -Fix [FS#1225]: Draw building stages for new house ground sprites. 2007-09-23 10:54:11 +00:00
rubidium 4d8f4bd1c0 (svn r11147) -Fix [FS#1247] (r11105): reallow bounding boxes with x/y/z-extent 0. Some NewGRFs need them. Patch by frosch. 2007-09-23 09:37:25 +00:00
rubidium 240285b8d8 (svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt to registers 0x100 to 0x10F. 2007-09-22 23:55:34 +00:00
glx aa020847af (svn r11144) -Codechange: add support for newgrf callbacks 29 and 35 2007-09-22 23:40:35 +00:00
rubidium c00db50edc (svn r11143) -Fix: the random bits were not set for the production callback when the NewGRF asked for it. 2007-09-22 23:14:32 +00:00
glx 90602b356a (svn r11142) -Codechange: prepare industry production change code for newgrf callbacks 29 and 35 2007-09-22 21:59:02 +00:00
rubidium ed2b6f4f72 (svn r11141) -Codechange: add support for NewGRF's varaction2 operators 11, 12 and 13. 2007-09-22 20:29:17 +00:00
miham 726ea01d6c (svn r11140) -Update: WebTranslator2 update to 2007-09-22 20:52:32
american   - 21 fixed by WhiteRabbit (21)
brazilian_portuguese - 1 fixed by tucalipe (1)
catalan    - 1 fixed by arnaullv (1)
croatian   - 1 fixed by knovak (1)
czech      - 7 fixed, 1 changed by Hadez (8)
danish     - 1 fixed by ThomasA (1)
dutch      - 1 fixed by habell (1)
estonian   - 1 fixed, 33 changed by kristjans (34)
french     - 1 fixed by glx (1)
romanian   - 21 fixed by kneekoo (21)
spanish    - 1 fixed by eusebio (1)
turkish    - 16 fixed, 2 changed by jnmbk (18)
ukrainian  - 1 fixed by mad (1)
2007-09-22 18:53:32 +00:00
rubidium 60f1eb21fa (svn r11139) -Codechange: add support for persistent storage for NewGRFs. 2007-09-22 13:56:38 +00:00