| 2086 | } |
| 2087 | |
| 2088 | static 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 | |
| 2100 | static bool get_int_field(lua_State *L, int idx, const char *name, int16_t *dest) { |
| 2101 | lua_getfield(L, idx, name); |
nothing calls this directly
no test coverage detected