mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-21 19:50:00 -06:00
- Fixes for all files - constexpr cleanup - Cosmetic changes - Remove punctuation from the end of messages
27 lines
670 B
Lua
27 lines
670 B
Lua
local item = {
|
|
Type = "DashboardItemSimulationIncrement",
|
|
Identifier = "SimulationIncrement",
|
|
GuiName = "Simulation Increment"
|
|
}
|
|
|
|
asset.onInitialize(function()
|
|
openspace.dashboard.addDashboardItem(item)
|
|
end)
|
|
|
|
asset.onDeinitialize(function()
|
|
openspace.dashboard.removeDashboardItem(item)
|
|
end)
|
|
|
|
asset.export(item)
|
|
|
|
|
|
asset.meta = {
|
|
Name = "Dashboard - Simulation Increment",
|
|
Version = "1.0",
|
|
Description = [[This asset provides a dashboard item that shows the simulation
|
|
increment, meaning how fast the in-game time progresses relative to the wall-clock]],
|
|
Author = "OpenSpace Team",
|
|
URL = "http://openspaceproject.com",
|
|
License = "MIT license"
|
|
}
|