code cleanup and work on #78 linking for annunciator

This commit is contained in:
Mikayla Fischler
2022-09-06 22:38:27 -04:00
parent 117784500a
commit b53d2d6694
10 changed files with 162 additions and 110 deletions

View File

@@ -20,10 +20,11 @@ local cpair = core.graphics.cpair
local border = core.graphics.border
local pipe = core.graphics.pipe
---@param parent graphics_element
---@param x integer
---@param y integer
---@param unit coord_db_entry
-- make a new unit overview window
---@param parent graphics_element parent
---@param x integer top left x
---@param y integer top left y
---@param unit ioctl_entry unit database entry
local function make(parent, x, y, unit)
local height = 0
local num_boilers = #unit.boiler_data_tbl