| 2109 | } |
| 2110 | |
| 2111 | static bool get_bounds(lua_State *L, int idx, df::coord &pos1, df::coord &pos2) { |
| 2112 | return get_int_field(L, idx, "x1", &pos1.x) && |
| 2113 | get_int_field(L, idx, "y1", &pos1.y) && |
| 2114 | get_int_field(L, idx, "z1", &pos1.z) && |
| 2115 | get_int_field(L, idx, "x2", &pos2.x) && |
| 2116 | get_int_field(L, idx, "y2", &pos2.y) && |
| 2117 | get_int_field(L, idx, "z2", &pos2.z); |
| 2118 | } |
| 2119 | |
| 2120 | static int registerWarmDampBox(lua_State *L) { |
| 2121 | TRACE(log).print("entering registerWarmDampBox\n"); |
no test coverage detected