summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-10-04(svn r11199) -Fix: variable 67 and 68 not working correctly.rubidium
-Refactor: some code so there is less code duplication.
2007-10-04(svn r11198) -Fix: When industry override is not possible because it is ↵belugas
already been overridden, mark the new candidate as not being an override
2007-10-03(svn r11197) -Fix: It is not useful to reset the override of an entity every ↵belugas
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-02(svn r11196) -Fix (r11191): _cur_stage was incorrect for GLS_ACTIVATION stageglx
2007-10-02(svn r11195) -Fix: creation chances for industries during gameplay and ↵rubidium
during map generation were swapped.
2007-10-02(svn r11194) -Fix: industries with not all tiles custom slope checked (but ↵rubidium
at least one) would be build on wrongly sloped tiles.
2007-10-02(svn r11193) -Fix: be more compliant with the specifications of callback #2F ↵rubidium
(and undocumented side effects in TTDP in corner cases).
2007-10-02(svn r11192) -Fix: Little typo with bigger consequences when trying to ↵belugas
remove a newindustries aware grf
2007-10-01(svn r11191) -Fix [FS#1227]: GLS_ACTIVATION stage must be done immediatly ↵glx
after GLS_RESERVE stage, before the GLS_RESERVE stage for the next newgrf.
2007-09-30(svn r11190) -Fix: make snowy roofs of (newgrf) houses also transparent.rubidium
2007-09-30(svn r11189) -Fix: if the location check callback results in something ↵rubidium
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(svn r11188) -Codechange: rewrite of the town action related code (remove ↵rubidium
some of the magic). -Feature: possibility to disable exclusive rights and giving money. Both by skidd13.
2007-09-30(svn r11187) -Fix: what holds for houses in r11149 also holds for industries.rubidium
2007-09-30(svn r11186) -Fix: only fill the accepted cargo fields once, not multiple times.rubidium
2007-09-28(svn r11185) -Codechange: prepare some more code for the introduction of ↵rubidium
NewIndustries. Patch by Belugas.
2007-09-28(svn r11184) -Codechange: cleanup the code related to backup orders.rubidium
2007-09-28(svn r11183) -Fix [FS#1249]: airports do not need to care about overflying ↵rubidium
aircraf when removing them, because if they were not in the "flying" state it can't be removed anyway.
2007-09-28(svn r11182) -Fix [FS#1261] (r11174): bounding boxes caused crashes when ↵rubidium
zoomed out. Patch by SmatZ.
2007-09-28(svn r11181) -Codechange: add support for newgrf callback 14A (Belugas)glx
2007-09-28(svn r11180) -Fix (r11175): crash on load when you don't have any NewGRFs. ↵rubidium
More interesting is: who plays without them ;)
2007-09-28(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was brokenglx
2007-09-28(svn r11178) -Fix: don't check newgrf callback 22 in scenario editorglx
2007-09-27(svn r11177) -Codechange: add support for newgrf callbacks 14B and 14Cglx
2007-09-27(svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14Cglx
2007-09-27(svn r11175) -Codechange: sort the NewGRFs by name, making searching a ↵rubidium
specific NewGRF a lot easier.
2007-09-26(svn r11174) -Codechange: add possibility to show the bounding boxes of ↵rubidium
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(svn r11173) -Codechange: rename some callback enums so they are more uniform.rubidium
2007-09-26(svn r11172) -Codechange: rewrite of town road building and addition of the ↵rubidium
possibility to clean up unconnected road bits during the local road reconstructions. Based on a patch by skidd13.
2007-09-26(svn r11171) -Fix [FS#1257]: disable autoslope for automatically changed ↵rubidium
stuff (like towns and industries) and enable it in the scenario editor. Patch by frosch.
2007-09-26(svn r11170) -Fix (r11152): a variable's type was too small for the data ↵rubidium
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(svn r11169) -Fix [FS#1255]: obiwan in Blitter::Drawline(), which caused it ↵rubidium
to clip too much at screen/viewport borders. Patch by frosch.
2007-09-26(svn r11168) -Fix [FS#1256]: assert on terraforming of industries. Patch by ↵rubidium
frosch.
2007-09-26(svn r11167) -Fix [FS#1260]: Electric trains were not shown as stopped in ↵rubidium
depots when converting it from elrail -> normal rail. Patch by smatz.
2007-09-26(svn r11164) -Fix(r11161): a rogue space roaming in the night... removedbelugas
2007-09-26(svn r11163) -Codechange: Verify that the IndustryTileOverrideManager skip ↵belugas
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(svn r11162) -Fix: Acceptance is not a cargo, but rather a level of... ↵belugas
acceptance :) So don't need to get cargo name out of it (glx)
2007-09-26(svn r11161) -Fix: Allow to transform coordinates in negative ones when gfx ↵belugas
of 0xFF allows it
2007-09-26(svn r11160) -Fix: A gfx of 0xFF does not count when it's time to establish ↵belugas
the size of the industry.
2007-09-25(svn r11159) -Fix (r11155): restore the ability to save in a non existing fileglx
2007-09-24(svn r11158) -Codechange: reduce the amount of Random calls needed when we ↵rubidium
do not have NewGRF industries that actually need the random bits.
2007-09-24(svn r11157) -Fix: some random data was printed because printf "thought" ↵rubidium
that _current_player is 4 bytes instead of 1 byte, causing the random debug output to be useless.
2007-09-24(svn r11156) -Fix r11155: fix one compiler makes the other warn ;)glx
2007-09-24(svn r11155) -Fix [FS#1253]: work around a nasty MS CRT 8 SP1 bug making it ↵rubidium
virtually impossible to debug 32bpp games under MSVC (http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=257606). Patch by boekabart.
2007-09-24(svn r11154) -Fix [FS#1239]: MIDI failing to play under Windows 95, 98 and ME.rubidium
2007-09-23(svn r11152) -Fix: GetIndustryIDAtOffset crashed when translation of the GFX ↵rubidium
ID would be needed. Fix by Belugas. -Fix: GetIndustryIDAtOffset crashed when the industry->xy tile was not an industry tile.
2007-09-23(svn r11151) -Codechange: add (partial) support for randomizing industry ↵rubidium
triggers (part of the backend for it). Furthermore update the documentation of the map's bits wrt to industries.
2007-09-23(svn r11150) -Fix [FS#1202]: NewGRF action 3 does not necessarily need an ↵rubidium
action 1 to be defined. Patch by frosch.
2007-09-23(svn r11149) -Fix [FS#1225]: Draw building stages for new house ground sprites.maedhros
2007-09-23(svn r11147) -Fix [FS#1247] (r11105): reallow bounding boxes with ↵rubidium
x/y/z-extent 0. Some NewGRFs need them. Patch by frosch.
2007-09-22(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt ↵rubidium
to registers 0x100 to 0x10F.