summaryrefslogtreecommitdiff
path: root/src/industry_map.h
AgeCommit message (Collapse)Author
2009-03-08(svn r15643) -Fix [FS#2711]: be more strict with zeroing unused map array bitssmatz
2008-08-03(svn r13982) -Fix (r13981): And then not enough was cleared...peter1138
2008-08-03(svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage ↵peter1138
counter reset more than it should.
2008-07-26(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.frosch
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-11(svn r11412) -Fix (r11403): animation was not turned on properly.rubidium
-Fix (r11410): wrong assumption about random reseeds made the whole thing reseed way too often, making the animation look very ugly.
2007-10-07(svn r11223) -Fix[FS#1306]: Rename and refactor adequately a function that ↵belugas
actually returns void and set bits (smatz).
2007-09-28(svn r11185) -Codechange: prepare some more code for the introduction of ↵rubidium
NewIndustries. Patch by Belugas.
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-08-26(svn r10980) -Fix [FS#1158] : This will hopefully fix the case of an assert ↵belugas
that happens when an industry uses a special gfx index (tile spec 0xFF). This 0xFF is the sentinel of a special check done for oil rigs, where water need to be around, but no tile will be constructed on it. Problem is that the upper limit of gfx tiles is currently at 175. So, of course the system will assert with 255 ;)
2007-08-24(svn r10972) -Codechange: Implement the ↵belugas
counterpart(GetTranslatedIndustryTileID) of getindustileid of TTDPatch. This allows to ensure that the ID of a tile (taken out of the map or not) is still a valid one regarding the possible override it may have been flagged to. It is not the strict same thing, but is what we need regarding the slightly different approach we took for newindustries.
2007-07-24(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> ↵rubidium
type *var.
2007-06-12(svn r10115) -Codechange: Create accessors to triggers and random bits for ↵belugas
industries. Implementation will follow soon.
2007-05-30(svn r9984) -Codechange: Remove an obsolete structure and a now meaningless ↵belugas
enum, in favor of the "real thing"
2007-05-18(svn r9867) -Codechange: Remove data duplication. The exact same values can ↵belugas
be found in the industry spec, so take it from there instead.
2007-04-03(svn r9554) -Documentation: add documentation to some map accessors.rubidium
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-03(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing ↵belugas
tags and (more than just) a few comments style.
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.