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

Functions

void Line (std::string_view text)
std::string FormatSpeed (double speed)
TimeRequest Merge (const TimeRequest &a, const TimeRequest &b)

Variables

constexpr uint32_t SRV_DESCRIPTOR_COUNT = 64
constexpr float FONT_SIZE_PIXELS = 18.0f
constexpr float PANEL_MARGIN_PIXELS = 12.0f
constexpr std::array< std::wstring_view, 3 > JAPANESE_FONT_FILES

Function Documentation

◆ FormatSpeed()

std::string bicameral::editor::anonymous_namespace{editor_overlay.cpp}::FormatSpeed ( double speed)

Definition at line 41 of file editor_overlay.cpp.

References FormatSpeed().

Referenced by FormatSpeed().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Line()

void bicameral::editor::anonymous_namespace{editor_overlay.cpp}::Line ( std::string_view text)

Definition at line 37 of file editor_overlay.cpp.

References Line().

Referenced by Line().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Merge()

TimeRequest bicameral::editor::anonymous_namespace{editor_overlay.cpp}::Merge ( const TimeRequest & a,
const TimeRequest & b )

Definition at line 46 of file editor_overlay.cpp.

References Merge(), bicameral::editor::TimeRequest::resetSpeed, bicameral::editor::TimeRequest::rewindTick, bicameral::editor::TimeRequest::speedSteps, bicameral::editor::TimeRequest::stepTicks, and bicameral::editor::TimeRequest::togglePause.

Referenced by Merge().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ FONT_SIZE_PIXELS

float bicameral::editor::anonymous_namespace{editor_overlay.cpp}::FONT_SIZE_PIXELS = 18.0f
constexpr

Definition at line 30 of file editor_overlay.cpp.

◆ JAPANESE_FONT_FILES

std::array<std::wstring_view, 3> bicameral::editor::anonymous_namespace{editor_overlay.cpp}::JAPANESE_FONT_FILES
constexpr
Initial value:
= {L"meiryo.ttc", L"YuGothM.ttc",
L"msgothic.ttc"}

Definition at line 34 of file editor_overlay.cpp.

◆ PANEL_MARGIN_PIXELS

float bicameral::editor::anonymous_namespace{editor_overlay.cpp}::PANEL_MARGIN_PIXELS = 12.0f
constexpr

Definition at line 31 of file editor_overlay.cpp.

◆ SRV_DESCRIPTOR_COUNT

uint32_t bicameral::editor::anonymous_namespace{editor_overlay.cpp}::SRV_DESCRIPTOR_COUNT = 64
constexpr

Definition at line 29 of file editor_overlay.cpp.