Commit Graph

185 Commits (jgrpp)

Author SHA1 Message Date
Jonathan G Rennison 0cd99e576c Custom bridge heads: Document landscape array use. 7 years ago
Jonathan G Rennison d0657a587e Document more rail types patch in landscape HTML docs. 8 years ago
Jonathan G Rennison f82feb160f Merge branch 'signal_tunnels_bridges' into jgrpp
# Conflicts:
#	projects/openttd_vs100.vcxproj
#	projects/openttd_vs100.vcxproj.filters
#	projects/openttd_vs140.vcxproj
#	projects/openttd_vs140.vcxproj.filters
#	projects/openttd_vs80.vcproj
#	projects/openttd_vs90.vcproj
#	source.list
#	src/misc.cpp
#	src/openttd.cpp
#	src/pbs.cpp
#	src/saveload/extended_ver_sl.cpp
#	src/saveload/saveload.cpp
#	src/signal.cpp
#	src/train_cmd.cpp
#	src/tunnelbridge_map.h
8 years ago
Jonathan G Rennison 0d2e9f91bf Adjust signal on bridge/tunnel map bits, rename accessors, add docs.
Use same bit to store red/green state for entrances and exits.
No longer re-use exit bit to store red/green state of entrance.
Avoid modifying the M2 of tunnel entrances/exits.
Rename and rationalise map accessor functions.
Document bits used in landscape HTML docs.
8 years ago
Jonathan G Rennison 6a3ceb3e01 Document tracerestrict bit in landscape HTML docs. 8 years ago
alberth c8a727d3fc (svn r27210) -Doc[FS#6268]: OpenTTD tiles have more attributes nowadays (Samu). 9 years ago
alberth d741839265 (svn r27210) -Doc[FS#6268]: OpenTTD tiles have more attributes nowadays (Samu). 9 years ago
rubidium 67991b70f0 (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 10 years ago
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 10 years ago
rubidium 8a993b6141 (svn r26877) -Update: documentation about the map array 10 years ago
rubidium 18b98afabd (svn r26877) -Update: documentation about the map array 10 years ago
frosch f794b9786f (svn r25844) -Change: Increase maximum number of object instances on the map from 64k to about 16M. 11 years ago
frosch 69a0c91d63 (svn r25844) -Change: Increase maximum number of object instances on the map from 64k to about 16M. 11 years ago
frosch d9d978d6d2 (svn r25833) -Codechange: Move ObjectType from map array into pool item. 11 years ago
frosch 35d7e8bca4 (svn r25833) -Codechange: Move ObjectType from map array into pool item. 11 years ago
rubidium 4809627023 (svn r25147) -Fix [FS#5506]: HTML documentation about the map array had a number of small errors (Juanjo) 11 years ago
rubidium e5a77f94bd (svn r25147) -Fix [FS#5506]: HTML documentation about the map array had a number of small errors (Juanjo) 11 years ago
yexo 0566a6cfda (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 13 years ago
yexo 5c838ff1c3 (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 13 years ago
rubidium a126dc7500 (svn r20639) -Add: random bits to object tiles 14 years ago
rubidium 536bb704b7 (svn r20639) -Add: random bits to object tiles 14 years ago
rubidium fa58485e49 (svn r20633) -Cleanup: and clarify some bits in the landscape documentation and make them pass the validator again. 14 years ago
rubidium 8047d84aa0 (svn r20633) -Cleanup: and clarify some bits in the landscape documentation and make them pass the validator again. 14 years ago
rubidium 1d8b95b235 (svn r20621) -Codechange: move animation frames of houses, objects and industries to m7 (same as airports and stations) 14 years ago
rubidium 7f86dcca90 (svn r20621) -Codechange: move animation frames of houses, objects and industries to m7 (same as airports and stations) 14 years ago
rubidium f336f61104 (svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns 14 years ago
rubidium 89b2b9370a (svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns 14 years ago
rubidium 8975ef1f7b (svn r20446) -Codechange: unify the location of the water class 14 years ago
rubidium ab5b0ceff2 (svn r20446) -Codechange: unify the location of the water class 14 years ago
rubidium 1f2276b785 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 14 years ago
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. 14 years ago
yexo 66c247ad45 (svn r19200) -Doc: update the map array documentation 15 years ago
yexo 2b871fe953 (svn r19200) -Doc: update the map array documentation 15 years ago
peter1138 075217f7b5 (svn r18970) -Codechange: Increase number of possible rail types to 16. 15 years ago
peter1138 990cbe6263 (svn r18970) -Codechange: Increase number of possible rail types to 16. 15 years ago
yexo 077cdefc9b (svn r18876) -Codechange: make sure m4 is always 0 for non-railroad station tiles 15 years ago
yexo 18e7ec6b3e (svn r18876) -Codechange: make sure m4 is always 0 for non-railroad station tiles 15 years ago
yexo 2a6fc142de (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 15 years ago
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 15 years ago
rubidium 10c3af4642 (svn r17493) -Codechange: store the depot index on the map 15 years ago
rubidium 55ddce8da2 (svn r17493) -Codechange: store the depot index on the map 15 years ago
rubidium 43b040d2cf (svn r16911) -Update: map array documentation 15 years ago
rubidium 565b99db22 (svn r16911) -Update: map array documentation 15 years ago
yexo 15f80f4cfe (svn r16570) -Doc: 2 small fixes to docs/landscape_grid.html 15 years ago
yexo fb72e85543 (svn r16570) -Doc: 2 small fixes to docs/landscape_grid.html 15 years ago
rubidium 9f2a906bc1 (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.
15 years ago
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.
15 years ago
belugas a57c73e2f9 (svn r15290) -Codechange: Isolate size and section of the UnMovable HQ object, in order to keep the Unmovable type free of any irrelevant data 16 years ago
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 16 years ago
rubidium 52ac592422 (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) 16 years ago
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) 16 years ago
frosch 17e208dc16 (svn r14333) -Documentation: Update docs/landscape*. Based on patch by yorick. 16 years ago
frosch 42f33890aa (svn r14333) -Documentation: Update docs/landscape*. Based on patch by yorick. 16 years ago
rubidium fc47ae96c4 (svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc) 16 years ago
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) 16 years ago
rubidium 11bf3902c4 (svn r13926) -Add [YAPP]: Add map accessors for path reservations. (michi_cc) 16 years ago
rubidium ec7cc49825 (svn r13926) -Add [YAPP]: Add map accessors for path reservations. (michi_cc) 16 years ago
frosch 6684bc12d5 (svn r13838) -Codechange: Make industry tiles aware of WaterClasses. 16 years ago
frosch 16c80d031c (svn r13838) -Codechange: Make industry tiles aware of WaterClasses. 16 years ago
peter1138 757d61b22f (svn r12746) -Codechange: Add map storage for station animation frame 16 years ago
peter1138 b2095f37ac (svn r12746) -Codechange: Add map storage for station animation frame 16 years ago
frosch 81174bc523 (svn r12347) -Feature(ette): Increase house animation frame number from 32 to 128. 17 years ago
frosch 08f0179916 (svn r12347) -Feature(ette): Increase house animation frame number from 32 to 128. 17 years ago
frosch 9b2ca61044 (svn r12070) -Cleanup(r12042): Water-owner of shipdepots is no longer needed. Removed. 17 years ago
frosch e95e887772 (svn r12070) -Cleanup(r12042): Water-owner of shipdepots is no longer needed. Removed. 17 years ago
peter1138 c05d10dd35 (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.
17 years ago
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.
17 years ago
frosch 67e5fc5718 (svn r12027) -Documentation: Update 'landscape.html' and 'landscape_grid.html' to reflect reality and add some details. 17 years ago
frosch ef35cefddc (svn r12027) -Documentation: Update 'landscape.html' and 'landscape_grid.html' to reflect reality and add some details. 17 years ago
frosch e62dadf74c (svn r11975) -Documentation: Distinguish between station types in 'landscape_grid.html'. 17 years ago
frosch bd0c853e27 (svn r11975) -Documentation: Distinguish between station types in 'landscape_grid.html'. 17 years ago
rubidium c3ae7faa13 (svn r11589) -Fix [FS#1514]: when ship depots got destroyed they always returned to water, even when it should've been canals. 17 years ago
rubidium cbb2d39860 (svn r11589) -Fix [FS#1514]: when ship depots got destroyed they always returned to water, even when it should've been canals. 17 years ago
rubidium 2b89ecca47 (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. 17 years ago
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. 17 years ago
rubidium 45b0b7755d (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 17 years ago
rubidium 3dd6362bb8 (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 17 years ago
glx 6a4be9758c (svn r10006) -Fix (FS#362): allow different signal types on one tile 17 years ago
glx 2958f0c53a (svn r10006) -Fix (FS#362): allow different signal types on one tile 17 years ago
rubidium 294a154bf7 (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road. 17 years ago
rubidium 253aa1b0b0 (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road. 17 years ago
rubidium d0a39a231a (svn r9913) -Update: the landscape documentation to reflect the changes to the road bits. 17 years ago
rubidium b82676be2a (svn r9913) -Update: the landscape documentation to reflect the changes to the road bits. 17 years ago
maedhros 209101391a (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.
17 years ago
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.
17 years ago
rubidium b5a997a446 (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. 18 years ago
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. 18 years ago
rubidium 9061f83055 (svn r8798) -Fix (8735): update documentation to reflect the used bits for drive through stations. 18 years ago
rubidium 62281f3853 (svn r8798) -Fix (8735): update documentation to reflect the used bits for drive through stations. 18 years ago
belugas 04694afabb (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
18 years ago
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
18 years ago
rubidium afb5bd0bc6 (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location. 18 years ago
rubidium 5f88e81641 (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location. 18 years ago
celestar 8cd5daa533 (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
celestar d95e2c2dd1 (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
Darkvater 84cd451bd5 (svn r6443) -Fix (r6001): Please update the documentation if you mess with the _m[] bits! 18 years ago
Darkvater bd5f2b66cd (svn r6443) -Fix (r6001): Please update the documentation if you mess with the _m[] bits! 18 years ago
tron 5d1ae07dc5 (svn r5326) Remove the indicator bit for custom waypoint graphics, because it just contains redundant information
Yup-yup-ed by: peter1138
18 years ago
tron 9e28713c4c (svn r5326) Remove the indicator bit for custom waypoint graphics, because it just contains redundant information
Yup-yup-ed by: peter1138
18 years ago
tron fee9ee2c05 (svn r5203) Some bits were incorrectly marked as used 18 years ago