MCPcopy Create free account
hub / github.com/DFHack/dfhack / registerWarmDampTile

Function registerWarmDampTile

plugins/dig.cpp:2088–2098  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2086}
2087
2088static int registerWarmDampTile(lua_State *L) {
2089 TRACE(log).print("entering registerWarmDampTile\n");
2090 df::coord pos;
2091 Lua::CheckDFAssign(L, &pos, 1);
2092
2093 std::unordered_map<df::coord, df::job *> dig_jobs;
2094 fill_dig_jobs(dig_jobs);
2095
2096 update_tile_mask(pos, dig_jobs);
2097 return 0;
2098}
2099
2100static bool get_int_field(lua_State *L, int idx, const char *name, int16_t *dest) {
2101 lua_getfield(L, idx, name);

Callers

nothing calls this directly

Calls 4

CheckDFAssignFunction · 0.85
fill_dig_jobsFunction · 0.85
update_tile_maskFunction · 0.85
printMethod · 0.45

Tested by

no test coverage detected