From 4d60aafab5e59a6e0ef1d3985cb70c114efa1cbb Mon Sep 17 00:00:00 2001 From: Luc Lagarde Date: Sat, 31 Mar 2018 16:10:18 -0500 Subject: [PATCH] Updated Hardware: LiDAR (markdown) --- Hardware:-LiDAR.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Hardware:-LiDAR.md b/Hardware:-LiDAR.md index 4e512f5..144d71f 100644 --- a/Hardware:-LiDAR.md +++ b/Hardware:-LiDAR.md @@ -23,20 +23,20 @@ Hardware ID: `0x0003` `LIDAR_GET_MAP` generates a map of the current world as a tile sequence of 256 words starting at memory address `0x0100`, each word representing a tile. The LiDAR starts reading the tiles west to east, north to south: (0,0) (1,0) (2,0) ... (15,0) (0,1) (1,1) ... -Each tile is is encoded as a bit field: +Each tile is encoded as a bit field: `1000 0000 0000 0000` (`0x8000`) : Blocked (wall) tile `0100 0000 0000 0000` (`0x4000`) : Biomass `0010 0000 0000 0000` (`0x2000`) : Factory `0001 0000 0000 0000` (`0x1000`) : Radio Tower -`0000 1000 0000 0000` (`0x0800`) : -`0000 0100 0000 0000` (`0x0400`) : +`0000 1000 0000 0000` (`0x0800`) : Vault +`0000 0100 0000 0000` (`0x0400`) : Electric Box `0000 0010 0000 0000` (`0x0200`) : Iron tile `0000 0001 0000 0000` (`0x0100`) : Copper tile `0000 0000 1000 0000` (`0x0080`) : Cubot `0000 0000 0100 0000` (`0x0040`) : NPC -`0000 0000 0010 0000` (`0x0020`) : -`0000 0000 0001 0000` (`0x0010`) : -`0000 0000 0000 1000` (`0x008`) : -`0000 0000 0000 0100` (`0x004`) : -`0000 0000 0000 0010` (`0x002`) : -`0000 0000 0000 0001` (`0x001`) : \ No newline at end of file +`0000 0000 0010 0000` (`0x0020`) : Portal +`0000 0000 0001 0000` (`0x0010`) : +`0000 0000 0000 1000` (`0x0008`) : +`0000 0000 0000 0100` (`0x0004`) : +`0000 0000 0000 0010` (`0x0002`) : +`0000 0000 0000 0001` (`0x0001`) : \ No newline at end of file