summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.cpp
AgeCommit message (Collapse)AuthorFilesLines
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
2012-09-28Move old Lua API into another file, make the old drawin API have the old ↵Simon Robertshaw1-1805/+147
position quirk for rects, new graphics (gfx) api with drawRect, fillRect, drawTect, drawLine and textSize functions.
2012-09-21Testing new vm/language WIPSimon Robertshaw1-8/+30
2012-09-17Checkbox, Slider and ProgressBar components for ui APISimon Robertshaw1-0/+12
2012-09-16When reloading elements API, set packages.loaded["elements"] to nil to ↵Simon Robertshaw1-0/+8
prevent luaL_register from trying to reuse a nilled table. Fixes #189
2012-09-14Fixes invalid text pasting, Adds API to VM, allow program loading in Lua and ↵Simon Robertshaw1-0/+78
assigning to update function
2012-09-07Remove debug crapSimon Robertshaw1-1/+0
2012-09-05Some simulation APISimon Robertshaw1-5/+8
2012-09-04Some simulation APISimon Robertshaw1-0/+102
2012-09-02Textbox component for Lua interface APISimon Robertshaw1-0/+4
2012-09-01Logging for UI component events, trSimon Robertshaw1-1/+6
2012-09-01!load command for old consoleSimon Robertshaw1-3/+3
2012-08-31More interface APISimon Robertshaw1-1/+5
2012-08-31Some Lua interface API stuffSimon Robertshaw1-2/+63
2012-08-30Get/Set single element propertiesSimon Robertshaw1-0/+191
2012-08-30More methods for setting element propertiesSimon Robertshaw1-25/+132
2012-08-29Implement retrieval of element propertiesSimon Robertshaw1-4/+74
2012-08-29Bitops for Lua, incomplete elements APISimon Robertshaw1-7/+133
2012-08-28Additions to Lua API: Renderer (colourMode, displayMode, renderMode, plus ↵Simon Robertshaw1-11/+166
all the macros used for Particle/display/colour modes)
2012-08-28tpt.element also converts numbers to namesSimon Robertshaw1-4/+14
2012-08-21Add missing files from e54eeaeSimon Robertshaw1-6/+6
2012-08-20TPT: Prevent accidental infinite loops in lua, fixes #115Simon Robertshaw1-9/+27
2012-08-20TPT: Error reporting in other things besides just step functions (No error ↵Simon Robertshaw1-6/+13
reporting in graphics or part update to prevent massive spam) fixes #134
2012-08-20TPT: fix set_property not checking stacked particles when specifying range, ↵Simon Robertshaw1-13/+19
add dcolor property setting/getting