Pass mouse coordinates (mousex, mousey, mouseb, mousebq) and Lua click handling

This commit is contained in:
Simon Robertshaw
2011-05-31 18:38:13 +01:00
parent 2327d9678d
commit 2c8c4bc567
4 changed files with 22 additions and 12 deletions

View File

@@ -9,4 +9,6 @@ function do_step()
increment = 2
end
tpt.drawtext(numberthing, 50, "Oh my god, this is amazing", 255, 255, 255, 255)
tpt.drawtext(mousex, mousey, "Oh my god, this is amazing", 255, 255, 255, 255)
return true
end