summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-05-16soap lines show in nothing mode, some small changes to arguments for sim api ↵jacob11-40/+8
drawing functions
2013-05-16redo some brush drawing stuff to remove useless checks, and to allow for ↵jacob11-0/+1
replace mode in the future
2013-05-16remove checks on location / element in the simulation drawing functions. fix ↵jacob11-91/+89
drawing circles with an rx of 0. Probably fix compiling error
2013-05-15finish return values for the legacy api, add sim.saveStamp and sim.loadStampjacob11-0/+43
2013-05-15when called with no arguments, some tpt. functions will act as get functions ↵jacob11-0/+1
(unfinished) Also, redo some menu stuff to use int's instead of Menu *s, and fix bug with toggleable buttons being toggled without triggering their actions
2013-05-14minor lua api fixesjacob11-8/+8
2013-05-14gfx.draw/fillcirclejacob11-3/+53
2013-05-14lua simulation api functions for creating particles, walls, boxes, and wallsjacob11-0/+181
2013-05-11D:mniip1-1/+1
2013-05-11Togglable lua scriptingSimon Robertshaw1-0/+2
2013-05-08fix PSCN BRAY (tmp = 2) not stopping normal BRAY from going throughjacob11-1/+1
also some other random things
2013-05-04Merge pull request #133 from mniip/luajacob11-0/+9
Fix the luaopen_socket_core loader
2013-05-04Fix the luaopen_socket_core loader; derp memniip1-0/+9
2013-05-04Merge pull request #131 from mniip/luaSimon Robertshaw1-0/+4
builtin luasocket
2013-05-04change ">" to "..." (from mniip)jacob11-1/+1
2013-05-03allow multiline code input, command will be executed when enough code givenmniip1-2/+15
2013-05-02print returned values; implicit return in console; console sourcemniip1-3/+32
2013-05-02statically linked, or better to say, builtin luasocketmniip1-0/+4
2013-04-26a major rewrite of event registration, it's fully compatible, yet has new ↵mniip1-5/+0
advantages
2013-03-24Merge branch 'reorganisation' of github.com:FacialTurd/The-Powder-ToySimon Robertshaw1-6/+6
2013-03-23CFLM defusses VIBR, a few speed improvements to VIBRjacob11-1/+1
2013-03-22Move all GUI source files into gui/Simon Robertshaw1-6/+6
2013-03-16add identifier constants based on the display name to the lua apijacob11-0/+7
2013-03-06remove auto generated comments from all files, fix some missing tabs, remove ↵jacob11-10/+3
unused variables from config.h
2013-02-17Particle position lookup with sim.partIDSimon Robertshaw1-0/+19
2013-02-17sim.partProperty API method, sim.partPosition API methodSimon Robertshaw1-0/+159
2013-02-16Add missing removeComponent for Lua APISimon Robertshaw1-0/+24
2013-02-15fix mac compiling, fix renderer, fix other minor compiling issuesjacob11-2/+2
2013-02-11fix modifiers from lua, fix right ctrljacob11-8/+2
2013-01-23fix "i" argument to graphics functions.jacob11-2/+1
Also, they don't overwrite the default one, you can pass in nil to tpt.element/graphics_func for the function to restore the original.
2013-01-22fix tpt.set_property setting integers above 255, fix fs.isDir/File, add ↵jacob11-25/+15
"Color" as valid property for elements api, fix tpt.display_mode to match tpt, other minor changes
2013-01-19Revert "move version info to version.h, no longer needs full recompile on ↵Simon Robertshaw1-1/+0
version change" This reverts commit b3a2ab735b76185715d7efd848659ef87ca70405.
2013-01-17add gravmap setting. Getting doesn't work right now, and maybe i should ↵jacob11-1/+36
check if gravx/y can be modified too
2013-01-17combine pressure functions, add sim.ambientHeat, sim.velocityX, sim.velocityYjacob11-11/+116
2013-01-17sim.get/setPressure, a few constants to the simulation apijacob11-0/+81
2013-01-15move version info to version.h, no longer needs full recompile on version changejacob11-0/+1
2013-01-09readd tpt.hud and tpt.set_console commandsjacob11-0/+2
2013-01-08change right click button id to 4 for lua events, to match old tptjacob11-0/+4
2013-01-08fix tpt.selectedl/r/a, but it returns the string identifier now instead of an idjacob11-4/+27
2013-01-06fix element function replacement optionjacob11-6/+18
2012-11-18Use ifndef WIN instead of ifdef _unixSimon Robertshaw1-1/+1
2012-11-03SC_SENSOR in Elements APISimon Robertshaw1-0/+1
2012-10-26Save local saves as current name option (overwrites them automatically). Fix ↵jacob11-6/+2
filename not showing when first saving a local save
2012-10-09Merge pull request #195 from Huulivoide/masterSimon Robertshaw1-1/+5
Minor fixes needed to build on Linux/64bit.
2012-10-07Windows doesn't have unistd.h, use only in unix platforms.Jesse Jaara1-1/+4
2012-10-05Only run autorun if it existsSimon Robertshaw1-4/+3
2012-10-02Add couple of missing header files needed by GCC 4.7.Jesse Jaara1-1/+2
2012-09-30Set appropriate default values for some static Lua interface variablesSimon Robertshaw1-5/+5
2012-09-29Lua FileSystem APISimon Robertshaw1-2/+253
2012-09-29ren.decorations() to enable/disable/get decorations (Lua API)Simon Robertshaw1-2/+16