Commit Graph

117 Commits

Author SHA1 Message Date
tron
3ef3f05288 (svn r800) Check if the data tables for houses have the correct number of elements via compile time asserts 2004-11-24 17:19:26 +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
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
darkvater
397cc50f61 (svn r587) -newgrf: Rename all /Checkpoint/i tokens to 'Waypoint's. The name actually makes some sense and is also compatible with TTDPatch (pasky). 2004-11-14 13:07:07 +00:00
darkvater
7a2a973b48 (svn r577) -newgrf: fixed some typos of last commit (airports were looking weird) 2004-11-14 01:50:15 +00:00
darkvater
7930faace9 (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky) 2004-11-14 01:25:05 +00:00
darkvater
0a2f28c2f2 (svn r570) -newgrf: Support for custom aircrafts via GRF files. Planeset seems to work :). Also use aircraft_vehinfo() instead of the old tables (pasky). 2004-11-13 20:37:57 +00:00
darkvater
7690093b4c (svn r565) -newgrf: fixed double work of RoadVehicleInfo[]; added AircraftVehicleInfo[] as well. table/engines.h is now the same as in the _map branch. 2004-11-13 16:28:50 +00:00
celestar
b8327e0457 (svn r562) newgrf: Merge most of the road vehicle info to a single
road_vehicle_info table, like it already is for trains and ships. Needed
for GRF custom override support. (pasky)
2004-11-13 15:15:41 +00:00
dominik
345003d49f (svn r283) New checkpoint graphics (drawn by Eobet and George) 2004-09-17 17:09:00 +00:00
darkvater
e295e46e3e (svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
-CodeLayout: Remove trailing spaces and Windows linebreaks
2004-09-12 21:49:38 +00:00
darkvater
692c147fae (svn r161) -Fix: added missing file to project and solved wrong type bug 2004-09-05 17:11:00 +00:00
dominik
d15aa14334 (svn r115) Fix: monorail/maglev became available around 1927 2004-08-23 07:50:01 +00:00
dominik
b3cdae2af1 (svn r51) Yet another slope graphics fix 2004-08-14 10:05:27 +00:00
dominik
0c25a4b10c (svn r38) Preliminary slopes graphics fix. Neighboring tile check not done yet 2004-08-13 11:28:59 +00:00
truelight
efaeb275f7 (svn r1) Import of revision 975 of old (crashed) SVN 2004-08-09 17:04:08 +00:00