diff options
| author | Alexander Gavrilov | 2012-05-12 20:12:09 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-05-12 20:12:09 +0400 |
| commit | 60bb486abac5d79f0fc9053739b6ec52dfa8519f (patch) | |
| tree | b3176747ed5528e8af3362e4024f410d953cf245 /library/LuaApi.cpp | |
| parent | af3e38909301439748713c0d6acd35c9942f4f42 (diff) | |
| download | dfhack-60bb486abac5d79f0fc9053739b6ec52dfa8519f.tar.gz dfhack-60bb486abac5d79f0fc9053739b6ec52dfa8519f.tar.bz2 dfhack-60bb486abac5d79f0fc9053739b6ec52dfa8519f.tar.xz | |
Add api for enabling liquid and temperature updates for blocks.
Now updates also have to be enabled for the z level to work.
Diffstat (limited to 'library/LuaApi.cpp')
| -rw-r--r-- | library/LuaApi.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/LuaApi.cpp b/library/LuaApi.cpp index d554754e..1baa4045 100644 --- a/library/LuaApi.cpp +++ b/library/LuaApi.cpp @@ -637,6 +637,8 @@ static const LuaWrapper::FunctionReg dfhack_job_module[] = { WRAPM(Job,printJobDetails), WRAPM(Job,getHolder), WRAPM(Job,getWorker), + WRAPM(Job,checkBuildingsNow), + WRAPM(Job,checkDesignationsNow), WRAPN(is_equal, jobEqual), WRAPN(is_item_equal, jobItemEqual), { NULL, NULL } @@ -753,6 +755,7 @@ static const luaL_Reg dfhack_items_funcs[] = { static const LuaWrapper::FunctionReg dfhack_maps_module[] = { WRAPN(getBlock, (df::map_block* (*)(int32_t,int32_t,int32_t))Maps::getBlock), WRAPM(Maps, getRegionBiome), + WRAPM(Maps, enableBlockUpdates), WRAPM(Maps, getGlobalInitFeature), WRAPM(Maps, getLocalInitFeature), WRAPM(Maps, canWalkBetween), |
