Pack and parse wall data from map files.
This commit is contained in:
parent
3a3f4e31a1
commit
f3ad31d244
5 changed files with 61 additions and 30 deletions
2
game.scm
2
game.scm
|
@ -177,7 +177,7 @@
|
|||
(when (< i len)
|
||||
(let ((x (bytevector-ieee-single-native-ref bv i))
|
||||
(y (bytevector-ieee-single-native-ref bv (+ i 4)))
|
||||
(idx (bytevector-s16-native-ref bv (+ i 8))))
|
||||
(idx (bytevector-u16-native-ref bv (+ i 8))))
|
||||
(draw-tile context tileset idx x y)
|
||||
(lp (+ i 10)))))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue