|
Bicameral Engine
GPU-resident engine for a magic-research open-world game
|
#include <probe_peek.h>
Public Member Functions | |
| ProbePeekReference (const BakedReactionTable &table) | |
| void | Look (PeekCell cell) |
| void | Stop () |
| void | Advance (std::span< const reaction::RxCell > world, uint64_t tick) |
| const MultiresNest & | Nest () const |
| std::vector< uint32_t > | Extraction () const |
Private Attributes | |
| const BakedReactionTable * | m_table |
| std::array< uint32_t, PROBE_VIEW_SPECIES_COUNT > | m_viewSpecies {} |
| MultiresNest | m_nest |
| PeekState | m_state |
Definition at line 117 of file probe_peek.h.
|
explicit |
Definition at line 149 of file probe_peek.cpp.
References m_nest, m_table, m_viewSpecies, bicameral::sim::MakeMultiresNest(), and bicameral::sim::ProbeViewSpecies().
| void bicameral::sim::ProbePeekReference::Advance | ( | std::span< const reaction::RxCell > | world, |
| uint64_t | tick ) |
Definition at line 152 of file probe_peek.cpp.
References bicameral::sim::PeekState::Plan::cell, m_nest, m_state, m_table, bicameral::sim::PeekState::Plan::mirror, bicameral::sim::PEEK_FIRST_SHADOW_SLOT, bicameral::sim::PEEK_LEVEL_COUNT, bicameral::sim::PEEK_MIRROR_SLOT, bicameral::sim::PeekPointOfCell(), bicameral::sim::PlaceMirrorBlock(), bicameral::sim::PeekState::Plan::pullBack, bicameral::sim::PullBackShadowChain(), bicameral::sim::PeekState::Plan::refine, bicameral::sim::RefineShadowChain(), bicameral::sim::PeekState::Plan::removeShadow, bicameral::sim::RemoveShadowChain(), bicameral::sim::PeekState::Plan::step, bicameral::sim::StepNest(), bicameral::sim::PeekCell::x, bicameral::sim::PeekCell::y, and bicameral::sim::PeekCell::z.
|
nodiscard |
Definition at line 185 of file probe_peek.cpp.
References bicameral::sim::LoadNestCell(), m_nest, m_table, m_viewSpecies, bicameral::sim::PEEK_FIRST_SHADOW_SLOT, and bicameral::sim::PEEK_LEVEL_COUNT.
|
inline |
Definition at line 121 of file probe_peek.h.
References m_state.
|
inlinenodiscard |
Definition at line 127 of file probe_peek.h.
References m_nest.
|
inline |
Definition at line 122 of file probe_peek.h.
References m_state.
|
private |
Definition at line 135 of file probe_peek.h.
Referenced by Advance(), Extraction(), Nest(), and ProbePeekReference().
|
private |
Definition at line 136 of file probe_peek.h.
|
private |
Definition at line 133 of file probe_peek.h.
Referenced by Advance(), Extraction(), and ProbePeekReference().
|
private |
Definition at line 134 of file probe_peek.h.
Referenced by Extraction(), and ProbePeekReference().