Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::editor Namespace Reference

Namespaces

namespace  anonymous_namespace{editor_overlay.cpp}
namespace  anonymous_namespace{graph_panel.cpp}
namespace  anonymous_namespace{lab_panel.cpp}

Classes

struct  ReactionTableStatus
struct  EditorStatus
class  EditorOverlay
struct  UnitTime
struct  GraphPanelStatus
class  LabPanel
struct  TimeRequest
class  TimeControl

Functions

void BuildGraphPanel (const GraphPanelStatus &status)

Variables

constexpr std::array< double, 7 > TIME_SPEEDS = {0.125, 0.25, 0.5, 1.0, 2.0, 4.0, 8.0}
constexpr uint32_t NORMAL_SPEED_INDEX = 3

Function Documentation

◆ BuildGraphPanel()

void bicameral::editor::BuildGraphPanel ( const GraphPanelStatus & status)

Definition at line 115 of file graph_panel.cpp.

References bicameral::editor::GraphPanelStatus::layout, bicameral::gpu::GraphStatsLayout::name, bicameral::gpu::GraphStatsSnapshot::nodes, bicameral::editor::GraphPanelStatus::stats, and bicameral::editor::GraphPanelStatus::ticks.

Referenced by bicameral::editor::EditorOverlay::Build().

Here is the caller graph for this function:

Variable Documentation

◆ NORMAL_SPEED_INDEX

uint32_t bicameral::editor::NORMAL_SPEED_INDEX = 3
inlineconstexpr

Definition at line 20 of file time_control.h.

Referenced by bicameral::editor::TimeControl::Apply().

◆ TIME_SPEEDS

std::array<double, 7> bicameral::editor::TIME_SPEEDS = {0.125, 0.25, 0.5, 1.0, 2.0, 4.0, 8.0}
inlineconstexpr