renderAuxiliaryStatusBar

open fun renderAuxiliaryStatusBar(ship: ShipAPI, indent: Float, indentLine: Boolean, fillStartX: Float, fillLength: Float, fillLevel: Float, text1: String, text2: String, text2OnLeft: Boolean, inputLoc: Vector2f)

Renders another subsystem HUD element intended for drone subsystems, but can be used for any purpose. This HUD element has a decorative line and indentation indicating an auxiliary status to a primary subsystem HUD element.

Parameters

ship

Player ship

indent

Indentation px from input position

indentLine

Draw a line in the indentation.

fillStartX

Start position of progress bar

fillLength

Length of progress bar

fillLevel

Fill level of progress bar

text1

Text 1

text2

Text 2. Can be null or empty.

text2OnLeft

Whether to draw text2 on the left or right, if it is provided.

inputLoc

Input location