summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.h
AgeCommit message (Collapse)AuthorFilesLines
2013-10-26fix sim.decoBox arguments, add a sim.canMove functionjacob11-0/+1
2013-10-20Remove old unfinished virtual machine and Lua bindings for itSimon Robertshaw1-11/+0
2013-07-18add back replace mode and specific delete. Activated with insert key / ↵jacob11-1/+1
delete key, use ctrl+alt click to select what to use for the checks
2013-06-13add back sim.partNeighbors + some alternate spellingsjacob11-0/+1
2013-06-12simulation.pmap()mniip1-0/+1
2013-06-12simulation.parts() iteratormniip1-0/+1
2013-06-06fix sim.NUM_PARTS, other small changesjacob11-1/+1
2013-06-06make constants in the lua api's a lot easier to writejacob11-0/+5
2013-06-02allow creating WIND lines from luajacob11-0/+1
2013-05-31even more lua simulation api functionsjacob11-0/+5
2013-05-30some new sim and ren lua api functionsjacob11-0/+8
2013-05-17new lua sim api functions to get/set deco color, load a save, and adjust ↵jacob11-0/+3
coordinates to the screen / zoom window
2013-05-16lua simulation api functions for drawing with tools / decojacob11-0/+6
2013-05-15finish return values for the legacy api, add sim.saveStamp and sim.loadStampjacob11-0/+2
2013-05-14gfx.draw/fillcirclejacob11-0/+2
2013-05-14lua simulation api functions for creating particles, walls, boxes, and wallsjacob11-0/+9
2013-03-06remove auto generated comments from all files, fix some missing tabs, remove ↵jacob11-7/+0
unused variables from config.h
2013-02-17Particle position lookup with sim.partIDSimon Robertshaw1-0/+1
2013-02-17sim.partProperty API method, sim.partPosition API methodSimon Robertshaw1-0/+5
2013-02-16Add missing removeComponent for Lua APISimon Robertshaw1-0/+1
2013-01-17add gravmap setting. Getting doesn't work right now, and maybe i should ↵jacob11-0/+1
check if gravx/y can be modified too
2013-01-17combine pressure functions, add sim.ambientHeat, sim.velocityX, sim.velocityYjacob11-8/+4
2013-01-17sim.get/setPressure, a few constants to the simulation apijacob11-0/+9
2013-01-08fix tpt.selectedl/r/a, but it returns the string identifier now instead of an idjacob11-2/+4
2012-09-29Lua FileSystem APISimon Robertshaw1-0/+12
2012-09-28Move old Lua API into another file, make the old drawin API have the old ↵Simon Robertshaw1-1/+10
position quirk for rects, new graphics (gfx) api with drawRect, fillRect, drawTect, drawLine and textSize functions.
2012-09-21Testing new vm/language WIPSimon Robertshaw1-2/+2
2012-09-14Fixes invalid text pasting, Adds API to VM, allow program loading in Lua and ↵Simon Robertshaw1-0/+13
assigning to update function
2012-09-06revert changing the lua/sdl includes and min/max changesjacob11-3/+3
2012-09-06Visual studio compatibilityjacob11-3/+3
This removes some inlines when using visual studio to compile, uisng TPT_NO_INLINE. It also fixes many other problems visual studio has with the code
2012-09-04Some simulation APISimon Robertshaw1-0/+7
2012-09-01!load command for old consoleSimon Robertshaw1-1/+1
2012-08-31Some Lua interface API stuffSimon Robertshaw1-0/+14
2012-08-30Get/Set single element propertiesSimon Robertshaw1-0/+2
2012-08-29Implement retrieval of element propertiesSimon Robertshaw1-0/+1
2012-08-29Bitops for Lua, incomplete elements APISimon Robertshaw1-3/+8
2012-08-28Additions to Lua API: Renderer (colourMode, displayMode, renderMode, plus ↵Simon Robertshaw1-0/+6
all the macros used for Particle/display/colour modes)
2012-08-21Add missing files from e54eeaeSimon Robertshaw1-1/+0
2012-08-20TPT: Prevent accidental infinite loops in lua, fixes #115Simon Robertshaw1-0/+1
2012-08-03Old TPT console commands with "!" prefixSimon Robertshaw1-0/+2
2012-08-02Update menus on element change from lua, addresses issue #42Simon Robertshaw1-1/+1
2012-07-25TPT: Optimization for GoL, Added brush size and mouse wheel to lua! e7035233fdSimon Robertshaw1-1/+2
2012-07-08Use sdl-configSimon Robertshaw1-3/+3
2012-04-26OS X compiling working, Make it a bit more friendly with stricter compilersSimon Robertshaw1-3/+3
2012-04-04Change brush size with [ and ] keys, change order of drawing for Lua, Fix ↵Simon Robertshaw1-1/+2
print and tpt.log so they log to the console when it is open
2012-04-04CommandInterface, Mouse, Keyboard and Tick events, on screen log, print ↵Simon Robertshaw1-1/+9
redirected to tpt.log
2012-02-12Somewhat working lua console, no element function overrides, no keyboard, ↵Simon Robertshaw1-0/+47
mouse or tick events