summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-10-26fix sim.decoBox arguments, add a sim.canMove functionjacob11-7/+27
2013-10-20Remove old unfinished virtual machine and Lua bindings for itSimon Robertshaw1-99/+0
2013-07-25instant save option option, hold ctrl when clicking a save in the save ↵jacob11-2/+3
preview to skip the entire preview and not load the comments
2013-07-18remove specific delete for walls, doesn't work very well and it conflicts ↵jacob11-8/+4
with specific delete for elements Also prevent wall replace mode, could never do anything because walls already replace everything
2013-07-18add back replace mode and specific delete. Activated with insert key / ↵jacob11-0/+3
delete key, use ctrl+alt click to select what to use for the checks
2013-07-12fixes to wall and particle floodfill. Wall fill ignores particles and always ↵jacob11-7/+5
goes to the edges, while particle fill will only ignore walls it can't exist in, and flood particle erase won't check for walls / edges at all
2013-06-27fix sim.loadStamp return value, remove VINE_MODEjacob11-1/+2
2013-06-24change some wall descriptions a littlejacob11-1/+1
2013-06-23Add back replace mode and specific delete *jacob11-13/+13
* only usable by Lua
2013-06-13add back sim.partNeighbors + some alternate spellingsjacob11-45/+88
2013-06-12simulation.pmap()mniip1-1/+16
2013-06-12simulation.partNeighbours() iteratormniip1-35/+50
// no one uses it yet, so it shouldn't break anythign really
2013-06-12simulation.parts() iteratormniip1-1/+23
2013-06-10Add two new properties for CLNE-like elementsjacob11-0/+2
the thing CLNE does, drawing upon it will set ctype; and what BCLN does to CLNE - disables #1). Made use of the two new properties
2013-06-09Possibly fix crash due to Lua running out of stack spacejacksonmj1-0/+1
2013-06-06WIND tool creates WIND just by holding down the line tool againjacob11-0/+1
2013-06-06fix sim.NUM_PARTS, other small changesjacob11-12/+8
2013-06-06make constants in the lua api's a lot easier to writejacob11-111/+105
2013-06-02allow creating WIND lines from luajacob11-4/+22
2013-05-31fix bug where you had to start using a tool before setting it's strengthjacob11-1/+1
2013-05-31even more lua simulation api functionsjacob11-5/+87
2013-05-30some new sim and ren lua api functionsjacob11-1/+117
2013-05-17new lua sim api functions to get/set deco color, load a save, and adjust ↵jacob11-0/+54
coordinates to the screen / zoom window
2013-05-17rename GRAV back to PGRV, fix formatting in generator, remove useless filejacob11-6/+7
2013-05-16remove check in deco tools (that shouldn't be there)jacob11-6/+0
2013-05-16lua simulation api functions for drawing with tools / decojacob11-3/+161
2013-05-16more minor fixesjacob11-11/+15
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