| 1428 | /***** Gui module *****/ |
| 1429 | |
| 1430 | static int gui_getDwarfmodeViewDims(lua_State *state) |
| 1431 | { |
| 1432 | auto dims = Gui::getDwarfmodeViewDims(); |
| 1433 | lua_newtable(state); |
| 1434 | Lua::TableInsert(state, "map_x1", dims.map_x1); |
| 1435 | Lua::TableInsert(state, "map_x2", dims.map_x2); |
| 1436 | Lua::TableInsert(state, "map_y1", dims.map_y1); |
| 1437 | Lua::TableInsert(state, "map_y2", dims.map_y2); |
| 1438 | return 1; |
| 1439 | } |
| 1440 | |
| 1441 | static int gui_getMousePos(lua_State *L) |
| 1442 | { |
nothing calls this directly
no test coverage detected