tron
765ecfed84
(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
truelight
b8f6d41418
(svn r942) -Merged branch/network back into the trunk
2004-12-04 17:54:56 +00:00
tron
fdb447ac55
(svn r901) Small step in the process to clean up the DPARAM mess:
...
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest)
- use inline functions instead of macros
- add assert()s to check for buffer overruns
2004-12-02 22:53:07 +00:00
pasky
97c533eb9c
(svn r831) Remove station-specific roadbits magic. Tron already fixed road stations so that they don't give out roadbits in r780.
2004-11-26 22:29:02 +00:00
pasky
0554031514
(svn r830) Move the MP_STATION roadbits guard to GetTownRoadBitsByTile() wrapper of GetRoadBitsByTile(). This should really and for once fix the road-behind-road-station bug.
2004-11-26 22:21:12 +00:00
tron
acbd1801c7
(svn r815) Include strings.h only in the files which need it.
...
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
2004-11-25 10:47:30 +00:00
tron
e8537f5512
(svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent with its own name and all other DO_* flags.
...
Now it is active-true.
2004-11-23 22:36:11 +00:00
tron
d51887fbed
(svn r764) Enumerate the houses only one per town can exist and use the enums instead of magic numbers to check for these
2004-11-22 18:42:03 +00:00
tron
8a3d7cce1c
(svn r760) Replace some bit-juggling with bit fields
2004-11-22 11:01:30 +00:00
tron
40a04816a4
(svn r756) Demystify and explain some piece of code regarding which house sprite to draw
2004-11-22 10:09:37 +00:00
tron
57adc97733
(svn r724) Remove restriction that a tile can only accept 3 cargo types.
...
This especially enables houses to accept passengers, mail, goods AND food.
Add string templates for up to 5 cargo types for the tile info window. If more are needed just add them.
Simplify (de-uglify) the logic for cargo acceptence for houses and split the goods/food table into two. The acceptance is unmodified, but accepting goods AND food is now trivially possible. The exact amounts have to be decided.
This is based on Celestar's changes in the map branch plus some further bits that will be merged there soon.
2004-11-21 10:49:40 +00:00
pasky
bf6dace925
(svn r703) Attempt to improve the town growth algorithm - now it scales over 76 houses, is slightly exponential and travels further for larger towns.
2004-11-20 11:57:45 +00:00
pasky
578bde9aae
(svn r698) Merge a town growth fix from TTDPatch - in arctic and desert climate, require food (and possibly water) only if the population is more than 90, so that the town gets chance to actually accept it. (By Marcin?)
2004-11-20 02:36:10 +00:00
pasky
5650257c0c
(svn r696) Do not consider a road station as street when growing the town.
2004-11-20 01:49:42 +00:00
pasky
7a8fb5d2fd
(svn r694) Make the town sometimes build streets on slopes.
2004-11-20 01:08:41 +00:00
truelight
3dc8dcf312
(svn r320) -Fix: some last _current_player fixes
2004-09-25 17:37:32 +00:00
truelight
a69e422cdd
(svn r266) -Fix: hopefully fixed the desync problem nicely (and reverted the
...
workaround for it)
2004-09-15 18:36:33 +00:00
truelight
eb49a19460
(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
2004-09-10 19:02:27 +00:00
truelight
10d54ac604
(svn r160) -Codechange: made GetTileTrackStatus more readable (blathijs)
...
-Fix: some minor fixes around GetTileTrackStatus (blathijs)
2004-09-05 16:15:22 +00:00
dominik
770f86bbbe
(svn r122) Change: exclusive transport rights are now stored per town instead of per station
...
Exclusive rights from old savegames will be reset.
2004-08-23 21:04:39 +00:00
dominik
ca120eedad
(svn r40) Final slope graphics fix
2004-08-13 18:27:33 +00:00
darkvater
a32d8553e7
(svn r5) -Fix: townname generation of TTDLX savegames. All work
...
except for German Townnames (also fix one typo on
English town-names)
-CodeChange: *act_paper to *act_water in Town to
more resemble its use
-Fix: AI players now retain AI status. Since TTDLX
savegame status is not fully documented, some holes
exist (AI state is set to one without a vehicle, otherwise
it crashes)
2004-08-10 14:42:52 +00:00
truelight
efaeb275f7
(svn r1) Import of revision 975 of old (crashed) SVN
2004-08-09 17:04:08 +00:00