Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
lab_panel.cpp File Reference
#include "editor/lab_panel.h"
#include <algorithm>
#include <format>
#include <fstream>
#include <iterator>
#include <imgui.h>
#include "core/log.h"
#include "sim/reaction_test_table.h"
Include dependency graph for lab_panel.cpp:

Go to the source code of this file.

Namespaces

namespace  bicameral
namespace  bicameral::editor
namespace  bicameral::editor::anonymous_namespace{lab_panel.cpp}

Functions

int32_t bicameral::editor::anonymous_namespace{lab_panel.cpp}::TemperatureOf (const sim::BakedReactionTable &table, const reaction::RxCell &cell)
ImVec4 bicameral::editor::anonymous_namespace{lab_panel.cpp}::TemperatureColor (int32_t milliKelvin)
sim::LabCellPosition bicameral::editor::anonymous_namespace{lab_panel.cpp}::PositionOf (const std::array< int, 3 > &cell)

Variables

constexpr int bicameral::editor::anonymous_namespace{lab_panel.cpp}::MAX_KELVIN = static_cast<int>(lab::LAB_MAX_TEMPERATURE_MILLIKELVIN / 1000)
constexpr float bicameral::editor::anonymous_namespace{lab_panel.cpp}::SLICE_CELL_PIXELS = 22.0f
constexpr float bicameral::editor::anonymous_namespace{lab_panel.cpp}::HOT_KELVIN = 2000.0f
constexpr uint32_t bicameral::editor::anonymous_namespace{lab_panel.cpp}::AUTO_IGNITE_TICK = 3
constexpr uint32_t bicameral::editor::anonymous_namespace{lab_panel.cpp}::AUTO_TICKS = 60
constexpr uint32_t bicameral::editor::anonymous_namespace{lab_panel.cpp}::AUTO_IGNITE_MILLIKELVIN = 1500000