about summary refs log tree commit diff stats
path: root/tools/treeshake.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-04-16 20:12:55 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-04-16 20:26:56 -0700
commitf66de6139270475828f1dffd1985d68325bef34d (patch)
treed5d3420c3f4311530856c41529f820c372e31187 /tools/treeshake.cc
parent21a6f5539b4317f5334d2d2449d6dbdabd86f738 (diff)
downloadmu-f66de6139270475828f1dffd1985d68325bef34d.tar.gz
handle drawing 16*4 = 64 pixels
Previously we'd only drawn 8*5 = 40 pixels.

Current contents of data.img:

  (
    (globals . (
      (hline . (fn () (screen y) (hline1 screen y 0 (width screen))))
      (hline1 . (fn () (screen y lo hi) (if (>= lo hi) () ((fn () (pixel screen lo y 12) (hline1 screen y (+ lo 1) hi))))))
      (vline1 . (fn () (screen x lo hi) (if (>= lo hi) () ((fn () (pixel screen x lo 12) (vline1 screen x (+ lo 1) hi))))))
    ))
    (sandbox . (vline1 screen 5 0 (height screen)))
  )
Diffstat (limited to 'tools/treeshake.cc')
0 files changed, 0 insertions, 0 deletions