summaryrefslogtreecommitdiff
path: root/library/lua
Commit message (Collapse)AuthorAgeFilesLines
* Add a script to reclassify 'individual choice' weapons based on unit skill.Alexander Gavrilov2012-09-291-0/+21
|
* Overhaul the concept of lua 'class' initialization yet again.Alexander Gavrilov2012-09-185-83/+227
|
* Reindent to remove tabs.Alexander Gavrilov2012-09-091-43/+43
|
* Added ListBox to gui.dialogswarmist2012-09-091-0/+95
| | | A listbox class. Can be either filled with table of strings, or string+callback tables. Needs some code revision :)
* Support setting the target area for the siege engine.Alexander Gavrilov2012-09-081-5/+24
|
* Start the siege engine plugin with code to highlight obstacles on screen.Alexander Gavrilov2012-09-072-6/+64
|
* Implement a pressure plate sensitive to machine power.Alexander Gavrilov2012-09-063-9/+7
| | | | When built next to a gearbox, it will monitor its powered state.
* Support renaming some buildings, and arbitrary units, via gui script.Alexander Gavrilov2012-09-051-3/+6
|
* Add stock MessageBox and InputBox dialog screens for lua scripts.Alexander Gavrilov2012-09-053-2/+198
|
* Provide a partial application utility function to lua.Alexander Gavrilov2012-09-051-1/+7
| | | | Implemented in C++ for efficiency.
* Expose the liquids plugin engine to lua, and make a wrapper gui script.Alexander Gavrilov2012-08-252-3/+54
|
* Pull some minor stuff from mechanisms into main libs.Alexander Gavrilov2012-08-242-0/+22
|
* Try using the Objective-C 'alloc + init' idiom for lua screen objects.Alexander Gavrilov2012-08-243-28/+72
|
* Tweak the API for current viewscreen, and dispatch show/dismiss from C++.Alexander Gavrilov2012-08-241-7/+4
|
* Track lua event listener count, and let the C++ host know.Alexander Gavrilov2012-08-231-6/+3
| | | | | | This allows completely avoiding the call overhead if there are none. The downside is that the event object now has to be a userdata with lots of metamethods.
* Improve viewport manipulation utilities and support scroll in mechanisms.Alexander Gavrilov2012-08-222-60/+166
| | | | | I.e. allow the user to scroll around with cursor keys, provided that keeps the cursor still visible.
* Put some compatibility features into the base dfhack viewscreen.Alexander Gavrilov2012-08-222-8/+7
|
* Add yet one more frame style.Alexander Gavrilov2012-08-221-1/+13
|
* Implement a policy of marking DFHack-owned screens with a signature.Alexander Gavrilov2012-08-222-0/+16
|
* More work on utilities for making lua viewscreens.Alexander Gavrilov2012-08-212-73/+128
|
* Add a Painter class for lua viewscreens, and extract other utilities.Alexander Gavrilov2012-08-213-31/+234
| | | | | Painter clips to an arbitrary rectangle window, and tracks current cursor and color state.
* Add a script that implements a linked mechanism browser.Alexander Gavrilov2012-08-202-3/+181
|
* Add a stupid example of a lua-controlled viewscreen.Alexander Gavrilov2012-08-192-0/+80
|
* Implement support for lua-backed viewscreens.Alexander Gavrilov2012-08-191-0/+6
|
* Merge branch 'master' of git://github.com/angavrilov/dfhackjj2012-07-061-6/+6
|\
| * Add documentation for some utility functions implemented in lua.Alexander Gavrilov2012-06-241-6/+6
| |
* | add SC_PAUSED / SC_UNPAUSED onStateChange eventsjj2012-07-051-0/+2
|/
* Update the Lua API document with info about scripts.Alexander Gavrilov2012-06-221-0/+2
|
* Support controllable error presentation verbosity in lua code.Alexander Gavrilov2012-06-223-2/+6
| | | | Use qerror to squash stack traces and location prefix.
* Move formatting newly-found globals for symbols.xml to lua code.Alexander Gavrilov2012-06-211-0/+10
|
* Add finders for enabler, gps and init.Alexander Gavrilov2012-06-211-1/+28
|
* Add a searcher for current_weather, using a prepared save.Alexander Gavrilov2012-06-201-1/+1
|
* Add ui_menu_width finder, tweak instructions, and add a case for win exe.Alexander Gavrilov2012-06-181-1/+2
|
* Add more offset finders to the script.Alexander Gavrilov2012-06-172-33/+71
|
* Add an interactive script finding a limited subset of linux offsets.Alexander Gavrilov2012-06-162-0/+463
|
* Make dfhack.run_script usable from other scripts, and document it.Alexander Gavrilov2012-06-141-4/+9
|
* Support creating rollers and stops with dfhack.buildings.constructBuilding.Alexander Gavrilov2012-05-171-2/+16
|
* Support custom buildings in dfhack.buildings.getFiltersByType.Alexander Gavrilov2012-05-132-8/+119
| | | | Also document it and constructBuilding in Lua API docs.
* Improve lua api for tile biome access.Alexander Gavrilov2012-05-131-3/+5
|
* Change xml submodule pointer.Alexander Gavrilov2012-05-081-1/+1
|
* Add more lua scripts.Alexander Gavrilov2012-05-082-5/+402
|
* Support default building inputs in dfhack.buildings.constructBuilding.Alexander Gavrilov2012-05-062-5/+368
|
* Add code for adding abstract buildings and removing constructions.Alexander Gavrilov2012-05-061-3/+7
|
* Expose builtin commands to dfhack-run, and add lua script support.Alexander Gavrilov2012-05-041-0/+18
| | | | | Move builtin command implementation to Core methods, and fall back to hack/scripts/*.lua for otherwise unrecognized commands.
* Update building creation code with new knowledge, and fix zone.Alexander Gavrilov2012-05-012-0/+100
| | | | Also, document new lua api, and add a more convenient wrapper.
* Implement unconstructed building instance creation and linking into world.Alexander Gavrilov2012-04-291-13/+21
| | | | | | For more flexibility, the base api is split into 3 phases: alloc, setSize, and construct. No support for non-actual buildings like stockpiles and activity zones at the moment.
* Split off the burrows api from Maps and Units.Alexander Gavrilov2012-04-261-0/+8
|
* Add a few more lua api functions, documentation, and unit sort orders.Alexander Gavrilov2012-04-231-17/+39
| | | | | Units::getProfessionName appears to work correctly for everything except nobles.
* Support sorting units in many more ui contexts.Alexander Gavrilov2012-04-221-2/+3
|
* Preserve the original lua global environment for modules.Alexander Gavrilov2012-04-211-1/+10
| | | | | The intent is to prevent accidental pollution of module namespaces by globals defined from careless scripts running in the _G environment.