| 1284 | std::map<df::unit*, UnitPath*> UnitPath::cache; |
| 1285 | |
| 1286 | static void push_margin(lua_State *L, float margin) |
| 1287 | { |
| 1288 | if (margin == MAX_TIME) |
| 1289 | lua_pushnil(L); |
| 1290 | else |
| 1291 | lua_pushnumber(L, margin); |
| 1292 | } |
| 1293 | |
| 1294 | static int traceUnitPath(lua_State *L) |
| 1295 | { |
no test coverage detected