From 479a9c2e47358cd5cb040e89c66a4de11d1b457d Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 16 Nov 2005 22:20:15 +0000 Subject: (svn r3212) - Waypoints/Depots: Store waypoint index in m2 for waypoints. This moves the ground type bits from m2 to m4 for waypoints and depots (leaving room for depot index in m2 in future), and moves the custom graphics ID to the waypoint struct. - Waypoints: Until now stat_id was saved but never assigned to. Instead we now save the GRFID/local index of the custom graphics so that GRF file changes can leave graphics intact. --- docs/landscape.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/landscape.html') diff --git a/docs/landscape.html b/docs/landscape.html index deea8ab20..1cc907f96 100644 --- a/docs/landscape.html +++ b/docs/landscape.html @@ -146,10 +146,11 @@ m5 bits 7 and 6 set: railway depot / checkpoints

  • m1: owner of the depot / checkpoint
  • +
  • m2: For waypoints, index into the array of waypoints.
  • m3 bits 0..3 = track type
  • m3 bit 4 = use custom sprite (valid only for the checkpoint)
  • m3 bit 6 = track on this tile is reserved by pbs
  • -
  • m4 = custom station id
  • +
  • m4 bits 0..3 = ground type, as per m2 bits 0..3 for railway tiles.
  • -- cgit v1.2.3-54-g00ecf