summaryrefslogtreecommitdiff
path: root/macros.h
AgeCommit message (Collapse)Author
2005-01-16(svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn ↵tron
them into inline functions and add some asserts
2005-01-09(svn r1447) Move TILE_ADD(), TILE_ADDXY() and SafeTileAdd() to map.[ch] and ↵tron
make the latter map size agnostic
2005-01-09(svn r1445) -Fix: reversing a train also reverses the UP and DOWN status for ↵truelight
the realistic acceleration calculation -Fix: there was a big bug in setting the UP and DOWN flags making it easy possible for a overloaded train to go up a mountain. This is no longer possible. They will hang at a certain height
2005-01-08(svn r1437) -Fix: Safetileadd preprocessor magic is the same as for GCC and ↵darkvater
no longer extern
2005-01-07(svn r1416) Print sensible information in SafeTileAdd() if gcc is usedtron
2005-01-07(svn r1415) Move TILE_FROM_XY and TILE_XY to map.h and push TILE_[XY] bits ↵tron
from map.h into map.c. Now the whole source except map.c is independent of TILE_[XY]_BITS!
2005-01-07(svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn ↵tron
the latter into inline functions names Tile[XY]
2005-01-05(svn r1386) Move TileIndexDiff to map.htron
Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir()
2004-12-18(svn r1153) -Fix: FindCatchmentRadius is now a function that uses the enums ↵truelight
instead of magic numbers (tnx to Stumo)
2004-12-15(svn r1117) Move map arrays and some related macros into their own files ↵tron
map.c and map.h
2004-12-08(svn r979) Allow more realistically sized catchment areasCelestar
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight
2004-11-24(svn r793) Merge INLINE -> inline replacement (revision 376)tron
2004-09-13(svn r240) -Fix: desync on subsidy generationsignde
-Fix: sometimes commands got executed to early on some clients -Feature: universal event packets for transmitting subsidys
2004-09-13(svn r237) -Fix: [1025836] Company value problem (again). Now company value ↵darkvater
rightly shows the value, including ALL your money. -Fix: Graphs now accomodate 64bit numbers (so the company value graph doesn't plummet into -... if value is too big) -Strgen: added CURRCOMPACT64 for this, and 64bit versions of several macros.
2004-09-12(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron ↵darkvater
for your diligent fixing of warnings (and some possibly bugs) (Tron) -CodeLayout: Remove trailing spaces and Windows linebreaks
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-08-11(svn r23) -Some omments on the code (blathijs)darkvater
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight