diff options
| author | Simon 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) |
| commit | 2c8c4bc567b09996ee69584a7229356cd411c51a (patch) | |
| tree | 3298c14e85fb4bf7c0741851c0cdd6068b59c843 /build/test.lua | |
| parent | 2327d9678d5b75f1fcf6133966de8f4d754b0476 (diff) | |
| download | powder-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.lua | 2 |
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 |
