summaryrefslogtreecommitdiff
path: root/library/LuaApi.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update license, add contributors file, bump release numberPetr Mrázek2012-09-301-2/+2
|
* Add an API function for reading the nominal skill level.Alexander Gavrilov2012-09-291-0/+1
|
* Add an API function that returns the selected building.Alexander Gavrilov2012-09-201-0/+1
|
* Catch C++ exceptions in dfhack.buildings.setSizeAlexander Gavrilov2012-09-181-2/+6
|
* Add an api function for destroying items.Alexander Gavrilov2012-09-141-0/+7
|
* Add function for making item projectiles.Alexander Gavrilov2012-09-121-0/+8
|
* Clean up the movement speed calculation function and move into the core.Alexander Gavrilov2012-09-091-0/+2
|
* Finish the effective skill computation function, and move to core.Alexander Gavrilov2012-09-091-0/+7
|
* Add an API function for reading tiles from the screen buffers.Alexander Gavrilov2012-09-071-0/+40
|
* Experimental creation of map blocks in gui/liquids script.Alexander Gavrilov2012-09-061-0/+8
|
* Add stock MessageBox and InputBox dialog screens for lua scripts.Alexander Gavrilov2012-09-051-0/+2
|
* Add some APIs required by steam engine to the core.Alexander Gavrilov2012-09-021-0/+12
|
* Follow change in xml again.Alexander Gavrilov2012-08-271-2/+2
|
* Expose a few API functions to lua, and implement a room browser overlay.Alexander Gavrilov2012-08-241-0/+3
|
* Tweak the API for current viewscreen, and dispatch show/dismiss from C++.Alexander Gavrilov2012-08-241-0/+1
|
* Put some compatibility features into the base dfhack viewscreen.Alexander Gavrilov2012-08-221-1/+8
|
* Add a Painter class for lua viewscreens, and extract other utilities.Alexander Gavrilov2012-08-211-7/+24
| | | | | 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-201-0/+23
|
* Export the tile finder function to lua, and improve mouse event reporting.Alexander Gavrilov2012-08-191-0/+21
|
* Add a stupid example of a lua-controlled viewscreen.Alexander Gavrilov2012-08-191-1/+9
|
* Implement support for lua-backed viewscreens.Alexander Gavrilov2012-08-191-0/+148
|
* Add a utility function for patching read-only memory.Alexander Gavrilov2012-08-171-0/+12
|
* Move formatting newly-found globals for symbols.xml to lua code.Alexander Gavrilov2012-06-211-3/+3
|
* Fix getRebaseDelta: should be signed int.Alexander Gavrilov2012-06-191-1/+1
|
* Replace dfhack.internal.getBase with getRebaseDelta.Alexander Gavrilov2012-06-191-2/+3
| | | | Also, when printing found offsets, subtract the delta.
* Add an api function to get vtable address from version info.Alexander Gavrilov2012-06-171-0/+12
|
* Fix a problem with number to address cast for high-half addresses.Alexander Gavrilov2012-06-161-1/+1
| | | | | If the address is out of the signed int range, lua_tointeger produces unspecified result. lua_tounsigned is guaranteed to wrap.
* Add lua internal api functions needed for scanning memory.Alexander Gavrilov2012-06-161-1/+105
|
* Change the field names returned from dfhack.internal.getMemRanges()Alexander Gavrilov2012-06-141-2/+2
| | | | 'end' is a lua keyword, so it cannot be used conveniently.
* Add Lua API for access to some contextual and low-level info.Alexander Gavrilov2012-06-131-0/+115
|
* Update Units::isCitizen after looking at game-over detection code.Alexander Gavrilov2012-05-221-0/+2
|
* Remove stuff that shouldn't be in the core, and expose to lua what's left.Alexander Gavrilov2012-05-201-0/+9
| | | | | | | | | Specifically, any "if (verbose) { Core::printerr("blah") }" kind of stuff definitely doesn't belong in the common API functions. Also, ref->getUnit() is very expensive. On the other hand, checks for crash-inducing conflicts with the ui should be in the core api, and not in client plugins.
* Add a mechanism converting ui focus to a string representation.Alexander Gavrilov2012-05-191-0/+3
| | | | | | The idea is to make ui handling more modular, dispensing with huge functions that switch or if/else on lots of variables. For now, used to split up functions in the sort plugin.
* Added df::Items::moveToBuilding. Moved item from ground to building, usefull ↵Warmist2012-05-181-0/+7
| | | | for museum forts (placing items on tables)
* Improve lua api for tile biome access.Alexander Gavrilov2012-05-131-1/+51
|
* Add api for enabling liquid and temperature updates for blocks.Alexander Gavrilov2012-05-121-0/+3
| | | | Now updates also have to be enabled for the z level to work.
* Add code for adding abstract buildings and removing constructions.Alexander Gavrilov2012-05-061-0/+16
|
* Add a couple more building api functions.Alexander Gavrilov2012-05-061-15/+59
|
* Fix some things that confuse MSVC.Alexander Gavrilov2012-05-051-2/+2
|
* Implement timeouts in the core lua context, and quicksave script.Alexander Gavrilov2012-05-041-1/+6
|
* Update dfhack for specific_ref.Alexander Gavrilov2012-05-031-0/+2
|
* Allow both coordinate object and (x,y,z) as arguments to getTileBlock.Alexander Gavrilov2012-05-021-3/+21
|
* Add a convenience function for designating constructions.Alexander Gavrilov2012-05-011-0/+11
|
* Update building creation code with new knowledge, and fix zone.Alexander Gavrilov2012-05-011-6/+30
| | | | Also, document new lua api, and add a more convenient wrapper.
* Implement unconstructed building instance creation and linking into world.Alexander Gavrilov2012-04-291-0/+36
| | | | | | 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.
* Add api to check the walkable cache, and update flow_forbid in liquids.Alexander Gavrilov2012-04-261-15/+26
|
* Split off the burrows api from Maps and Units.Alexander Gavrilov2012-04-261-23/+32
|
* Retrieve unit noble position info, and use it in getProfessionName.Alexander Gavrilov2012-04-261-0/+31
|
* Add a few more lua api functions, documentation, and unit sort orders.Alexander Gavrilov2012-04-231-0/+4
| | | | | Units::getProfessionName appears to work correctly for everything except nobles.
* Add a hotkey command that sorts units in lists using lua comparators.Alexander Gavrilov2012-04-211-0/+1
|