tron
bb680056b1
(svn r1749) Move the functions which calculate distances to map.[ch] and give the more meaningful names
2005-01-31 07:23:15 +00:00
tron
77072aedab
(svn r1748) Enforce map size limits
2005-01-31 06:46:53 +00:00
tron
b188b30e2d
(svn r1737) Add DEBUG category "map" and use it to print the map size when allocating the map
2005-01-30 18:12:37 +00:00
tron
001aa8e453
(svn r1722) -Feature: Bigger maps - anyone?
2005-01-29 19:45:14 +00:00
tron
400f07fdb8
(svn r1706) Implement ScaleByMapSize() and ScaleByMapSize1D()
...
These scale a number relative to the map size/circumference.
Use them to scale the amount of map objects.
Of course at the moment they return just the input, because there are no bigger/smaller maps yet.
2005-01-28 15:31:04 +00:00
darkvater
55604e354f
(svn r1449) -Fix: signed/unsigned error on windows
...
-Change: Makefile added -Wsign-compare flag
2005-01-09 18:59:16 +00:00
tron
7ee55362c5
(svn r1447) Move TILE_ADD(), TILE_ADDXY() and SafeTileAdd() to map.[ch] and make the latter map size agnostic
2005-01-09 17:55:11 +00:00
tron
872c51f134
(svn r1415) Move TILE_FROM_XY and TILE_XY to map.h and push TILE_[XY] bits from map.h into map.c.
...
Now the whole source except map.c is independent of TILE_[XY]_BITS!
2005-01-07 17:40:23 +00:00
tron
d3c6855320
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
2005-01-06 11:39:00 +00:00
tron
e4cf2ba1b3
(svn r1386) Move TileIndexDiff to map.h
...
Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir()
2005-01-05 13:32:03 +00:00
tron
bcff0ab932
(svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) instead of TILES_[XY]
2005-01-03 18:59:58 +00:00
truelight
2f9e0b8e0c
(svn r1288) -Codechange: changed _map2 to an uint16. It is still saved and loaded as
...
an uint8 till the savegame version is bumped to version 5. Then it works
automaticly as a fully uint16. So _stations[] can not be increased till
after the bump!!
2004-12-28 11:51:31 +00:00
tron
b976a349c6
(svn r1130) Add helper functions to query map size
2004-12-16 12:30:13 +00:00
tron
a148ff4e0d
(svn r1117) Move map arrays and some related macros into their own files map.c and map.h
2004-12-15 22:18:54 +00:00