Commit Graph

70 Commits

Author SHA1 Message Date
J0an Josep
8c0a6bbc4f Fix: (Doc) Use free bits and -inherit- more consistently in landscape grid. 2018-08-04 08:59:22 +02:00
J0anJosep
41a620c1a7 Fix #6805: (Doc) Road depot and stations (except rail stations and waypoints) do not use m8 for railtype. 2018-08-04 08:59:22 +02:00
Peter Nelson
bf8d7df736 Change: Extend rail types to 64 (6 bit storage) 2018-07-26 13:27:40 +01:00
Peter Nelson
5db883fbe9 Change: Move rail type bits from m3 to m8. 2018-07-26 13:27:40 +01:00
Peter Nelson
65548c37a8 Change: Extend map array by 2 bytes with a uint16. 2018-07-26 13:27:40 +01:00
alberth
d741839265 (svn r27210) -Doc[FS#6268]: OpenTTD tiles have more attributes nowadays (Samu). 2015-03-28 16:48:46 +00:00
rubidium
4978ece6ee (svn r26955) -Fix [FS#6126]: owner of road depot road types were not properly changed upon bankruptcy causing crashes when trying to remove the depot in certain situations 2014-10-04 19:23:43 +00:00
rubidium
18b98afabd (svn r26877) -Update: documentation about the map array 2014-09-21 11:20:29 +00:00
frosch
69a0c91d63 (svn r25844) -Change: Increase maximum number of object instances on the map from 64k to about 16M. 2013-10-12 16:35:50 +00:00
frosch
35d7e8bca4 (svn r25833) -Codechange: Move ObjectType from map array into pool item. 2013-10-12 16:30:42 +00:00
rubidium
e5a77f94bd (svn r25147) -Fix [FS#5506]: HTML documentation about the map array had a number of small errors (Juanjo) 2013-04-05 19:35:56 +00:00
yexo
5c838ff1c3 (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 2011-11-08 19:48:47 +00:00
rubidium
536bb704b7 (svn r20639) -Add: random bits to object tiles 2010-08-27 22:26:21 +00:00
rubidium
8047d84aa0 (svn r20633) -Cleanup: and clarify some bits in the landscape documentation and make them pass the validator again. 2010-08-27 10:42:48 +00:00
rubidium
7f86dcca90 (svn r20621) -Codechange: move animation frames of houses, objects and industries to m7 (same as airports and stations) 2010-08-26 14:36:00 +00:00
rubidium
89b2b9370a (svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns 2010-08-13 12:45:26 +00:00
rubidium
ab5b0ceff2 (svn r20446) -Codechange: unify the location of the water class 2010-08-11 14:14:06 +00:00
rubidium
3da3d131c6 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 2010-08-08 10:59:30 +00:00
yexo
2b871fe953 (svn r19200) -Doc: update the map array documentation 2010-02-22 14:17:26 +00:00
peter1138
990cbe6263 (svn r18970) -Codechange: Increase number of possible rail types to 16. 2010-01-30 21:59:22 +00:00
yexo
18e7ec6b3e (svn r18876) -Codechange: make sure m4 is always 0 for non-railroad station tiles 2010-01-21 13:34:05 +00:00
yexo
b378e82676 (svn r18719) -Feature: don't delete the rough/rocky status of a tile when it's covered by snow, this allows rocky tiles under snow if you have a variable snowline 2010-01-04 18:33:43 +00:00
rubidium
55ddce8da2 (svn r17493) -Codechange: store the depot index on the map 2009-09-10 14:33:07 +00:00
rubidium
565b99db22 (svn r16911) -Update: map array documentation 2009-07-22 09:21:48 +00:00
yexo
fb72e85543 (svn r16570) -Doc: 2 small fixes to docs/landscape_grid.html 2009-06-12 20:58:19 +00:00
rubidium
7831346ef8 (svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
-Feature: allow building road stops on road/tram tracks of competitors.
2009-03-02 22:57:47 +00:00
belugas
3671ed9e4f (svn r15290) -Codechange: Isolate size and section of the UnMovable HQ object, in order to keep the Unmovable type free of any irrelevant data 2009-01-28 19:57:23 +00:00
rubidium
a14ad77a36 (svn r14528) -Codechange: cache the closest town for all road tiles instead of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus) 2008-10-25 13:51:47 +00:00
frosch
42f33890aa (svn r14333) -Documentation: Update docs/landscape*. Based on patch by yorick. 2008-09-15 18:50:48 +00:00
rubidium
fe4f23dba2 (svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc) 2008-08-02 22:48:43 +00:00
rubidium
ec7cc49825 (svn r13926) -Add [YAPP]: Add map accessors for path reservations. (michi_cc) 2008-08-02 22:47:20 +00:00
frosch
16c80d031c (svn r13838) -Codechange: Make industry tiles aware of WaterClasses. 2008-07-26 16:14:10 +00:00
peter1138
b2095f37ac (svn r12746) -Codechange: Add map storage for station animation frame 2008-04-17 06:52:56 +00:00
frosch
08f0179916 (svn r12347) -Feature(ette): Increase house animation frame number from 32 to 128. 2008-03-06 14:21:10 +00:00
frosch
e95e887772 (svn r12070) -Cleanup(r12042): Water-owner of shipdepots is no longer needed. Removed. 2008-02-06 15:32:06 +00:00
peter1138
1d891a8b15 (svn r12042) -Fix [FS#1676]: Reimplement how rivers and canals are stored in the map, allowing the sea/river/canal status to also be
stored for buoys, docks, locks and depots. All these are now allowed on rivers and removal of them will revert to the 
original water type.
2008-02-02 09:28:43 +00:00
frosch
ef35cefddc (svn r12027) -Documentation: Update 'landscape.html' and 'landscape_grid.html' to reflect reality and add some details. 2008-01-31 15:18:07 +00:00
frosch
bd0c853e27 (svn r11975) -Documentation: Distinguish between station types in 'landscape_grid.html'. 2008-01-24 17:32:03 +00:00
rubidium
cbb2d39860 (svn r11589) -Fix [FS#1514]: when ship depots got destroyed they always returned to water, even when it should've been canals. 2007-12-07 21:14:54 +00:00
rubidium
4dca543135 (svn r11151) -Codechange: add (partial) support for randomizing industry triggers (part of the backend for it). Furthermore update the documentation of the map's bits wrt to industries. 2007-09-23 19:27:35 +00:00
rubidium
3dd6362bb8 (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 2007-07-16 23:55:22 +00:00
glx
2958f0c53a (svn r10006) -Fix (FS#362): allow different signal types on one tile 2007-05-31 21:21:04 +00:00
rubidium
253aa1b0b0 (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road. 2007-05-31 15:15:00 +00:00
rubidium
b82676be2a (svn r9913) -Update: the landscape documentation to reflect the changes to the road bits. 2007-05-24 21:59:12 +00:00
maedhros
73ff939ddb (svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
the newhouses grf specs, so all newhouses grfs will be playable in the game.

Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
2007-03-19 11:27:30 +00:00
rubidium
4908115355 (svn r8935) -Codechange: unification of track type between road and rail tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType. 2007-02-27 23:36:28 +00:00
rubidium
62281f3853 (svn r8798) -Fix (8735): update documentation to reflect the used bits for drive through stations. 2007-02-18 11:15:13 +00:00
belugas
5f9c891734 (svn r8050) -Codechange: Rename map member extra to m6, since its usage has been widden.
Only doc landscape_grid.html has been updated, landscape.html will be done latter.
-CodeChange: Replace a direct access to m6 with SetTropicZone in InitializeLandscape, as it is the only part of m6 still untouched without the brute-forced m6=0
2007-01-11 02:05:13 +00:00
rubidium
5f88e81641 (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location. 2006-12-30 11:57:52 +00:00
celestar
d95e2c2dd1 (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 2006-12-27 12:38:02 +00:00