Simon Robertshaw
e9331794bd
Improvements to getscript
2011-08-25 12:20:00 +01:00
Bryan Hoyle
578144c48a
Merge remote branch 'origin/master'
2011-08-23 20:29:26 -04:00
Bryan Hoyle
f577c319db
Working tpt.getscriptid(<string: id>). Retrieves and runs a script from online
2011-08-23 20:28:55 -04:00
Simon Robertshaw
42938cc2ea
Lua keyevents bug, int keycode is cast to a char
2011-08-22 21:22:21 +01:00
Simon Robertshaw
99b67598aa
Changes to unify mouse and keyboard events for Lua
2011-08-20 18:18:09 +01:00
Bryan Hoyle
ad09f3040e
Revert "Revert "added lua command: tpt.setfpscap(int FPSCap)""
...
This reverts commit a5db1d53da
.
2011-08-16 12:45:44 -04:00
Bryan Hoyle
a5db1d53da
Revert "added lua command: tpt.setfpscap(int FPSCap)"
...
This reverts commit aa56eca5c0
.
2011-08-16 12:43:50 -04:00
Bryan Hoyle
aa56eca5c0
added lua command: tpt.setfpscap(int FPSCap)
2011-08-15 21:44:37 -04:00
Simon Robertshaw
d5435c50a9
Debug info for particles allocation
2011-08-11 20:12:52 +01:00
Simon Robertshaw
9e634b95cc
Fire intensity from Lua
2011-08-11 13:02:00 +01:00
Simon Robertshaw
4ebe56f65c
Mouse and keyboard events, replace luaL_openlib() with luaL_register() and move mousex and mousey out of the global table and into the 'tpt' table
2011-08-05 14:54:24 +01:00
Bryan Hoyle
d7a55f1f50
me4502 added tpt.throw_error and tpt.heat as lua commands
2011-07-30 20:31:34 -04:00
cracker64
d013aa3632
Added functions to header.
2011-07-22 06:55:43 -07:00
ief015
be79233101
added functions to iterate through all particles
...
+ tpt.start_getPartIndex() --starts the iteration
+ bool tpt.next_getPartIndex() --increases the iteration, returns true if there are more particles to iterate through
+ int tpt.getPartIndex() --get the current iteration value
2011-06-25 01:32:54 -04:00
Simon
cf35ccb8fd
Include dir change for OS X
2011-06-15 18:33:33 +01:00
Simon Robertshaw
3ea25c83b7
message_box and input for Lua API, also autorun.lua
2011-06-08 16:30:36 +01:00
Simon Robertshaw
fc426b2404
Unregister function (not implemented)
2011-06-03 14:21:46 +01:00
Simon Robertshaw
3d600c6955
Add gravity field manipulation to Lua api, move gravity processing to after the particle update (Means a delay of 1 frame, but we get the ability to manipulate the field with Lua)
2011-06-01 12:16:33 +01:00
Simon Robertshaw
2c8c4bc567
Pass mouse coordinates (mousex, mousey, mouseb, mousebq) and Lua click handling
2011-05-31 18:38:13 +01:00
Simon Robertshaw
b0659e3dd1
Step code registration, just an example at the moment
2011-05-30 20:11:34 +01:00
Simon Robertshaw
d5f1a4cfd0
Many methods for Lua console
2011-05-30 19:44:17 +01:00
Simon Robertshaw
d8051926c8
More descriptive error messages for lua console
2011-05-30 18:15:56 +01:00
Simon Robertshaw
65252aa002
drawtext for Lua
2011-05-30 16:45:39 +01:00
Simon Robertshaw
79a27c2c90
Basics for Lua
2011-05-30 16:22:39 +01:00