Skip to content

Commit

Permalink
a few TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
tballmsft committed Sep 26, 2023
1 parent 3e3b642 commit 2003078
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions jacs_topwriter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,8 @@ namespace jacs {
wr,
wr.emitBufLoad(NumFmt.F64, 12)
)
// TODO: ignore values in tiles.ts: car_commands
// TODO: special case on wall collision
filterValueIn(() => radioVar.read(wr))
}
)
Expand Down
4 changes: 2 additions & 2 deletions tiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -515,14 +515,14 @@ namespace microcode {
m.jdKind = JdKind.Page
})
if (car_tiles) {
const robot_commands =
const car_commands =
[ 0xfffff001, // forward
0xfffff002, // reverse
0xfffff003, // left
0xfffff004, // right
0xfffff005 // stop
]
make_vals(robot_commands, "car", "CAR", 1)
make_vals(car_commands, "car", "CAR", 1)
}

function addRGB(id: number, color: number) {
Expand Down

0 comments on commit 2003078

Please sign in to comment.