summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--img/print.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/img/print.lua b/img/print.lua
index 69bd851..89d55e8 100644
--- a/img/print.lua
+++ b/img/print.lua
@@ -17,12 +17,15 @@ local function c2c(col)
end
local function print_tile(tilex,tiley)
+ print("tile ",tilex,tiley)
local tilex0 = tilex-1
local tiley0 = tiley-1
local xm = (8*tilex0)+1
local ym = (8*tiley0)+1
local xM = math.min(W,xm+7)
local yM = math.min(H,ym+7)
+ print(" x from ",xm,"to",xM)
+ print(" y from ",ym,"to",yM)
-- really i should have called this u and v instead of x and y. joker emoji
printer.reset()