Optimizing rasterizer.

This commit is contained in:
Brad Nelson
2022-02-25 18:30:57 -08:00
parent 66f96c0659
commit b5f427683b
3 changed files with 18 additions and 6 deletions

View File

@ -192,8 +192,12 @@ create arrow-table
targeted-arrow
;
0 value last-tm
0 value next-tm
: run
begin
poll
PRESSED event = if
65 last-key = if
init
@ -202,11 +206,14 @@ create arrow-table
fire
then
then
poll
100 random 0= if volcano-spew then
draw
tick
cleanup
event UNKNOWN = if
begin ms-ticks to next-tm next-tm last-tm - 10 < while 1 ms repeat
next-tm to last-tm
100 random 0= if volcano-spew then
draw
tick
cleanup
then
FINISHED event = until
bye
;