summaryrefslogtreecommitdiff
path: root/build/test.lua
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-05-31 17:38:13 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-05-31 17:38:13 (GMT)
commit2c8c4bc567b09996ee69584a7229356cd411c51a (patch)
tree3298c14e85fb4bf7c0741851c0cdd6068b59c843 /build/test.lua
parent2327d9678d5b75f1fcf6133966de8f4d754b0476 (diff)
downloadpowder-2c8c4bc567b09996ee69584a7229356cd411c51a.zip
powder-2c8c4bc567b09996ee69584a7229356cd411c51a.tar.gz
Pass mouse coordinates (mousex, mousey, mouseb, mousebq) and Lua click handling
Diffstat (limited to 'build/test.lua')
-rw-r--r--build/test.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/test.lua b/build/test.lua
index f57f02b..fbb062f 100644
--- a/build/test.lua
+++ b/build/test.lua
@@ -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