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

Classes

struct  RxWideCell
struct  RxWideUsage

Typedefs

using RxWideWaitStep = RxWaitStepOf<RxWideCell>

Functions

bool RxHasRoomForSpecies (const RxWideCell &)
RxWideCell RxCellWithRoom (RxWideCell cell)
RxWideCell RxEmptyCellLike (const RxWideCell &, int64_t energy)
RxWideUsage RxEmptyUsage (const RxWideCell &cell)
RxWideCell RxMakeEmptyWideCell (int64_t energy)
RxWideCell RxWidenCell (const RxCell &cell)
bool RxFitsInline (const RxWideCell &cell)
RxCell RxNarrowCell (const RxWideCell &cell)
bool RxSameCell (const RxWideCell &a, const RxWideCell &b)

Typedef Documentation

◆ RxWideWaitStep

Definition at line 33 of file reaction_wide_cell.h.

Function Documentation

◆ RxCellWithRoom()

◆ RxEmptyCellLike()

RxWideCell bicameral::reaction::RxEmptyCellLike ( const RxWideCell & ,
int64_t energy )
inline

Definition at line 51 of file reaction_wide_cell.h.

◆ RxEmptyUsage()

RxWideUsage bicameral::reaction::RxEmptyUsage ( const RxWideCell & cell)
inline

◆ RxFitsInline()

bool bicameral::reaction::RxFitsInline ( const RxWideCell & cell)
inline

Definition at line 75 of file reaction_wide_cell.h.

References bicameral::reaction::RxWideCell::speciesCount.

Referenced by RxNarrowCell().

Here is the caller graph for this function:

◆ RxHasRoomForSpecies()

bool bicameral::reaction::RxHasRoomForSpecies ( const RxWideCell & )
inline

Definition at line 37 of file reaction_wide_cell.h.

◆ RxMakeEmptyWideCell()

RxWideCell bicameral::reaction::RxMakeEmptyWideCell ( int64_t energy)
inline

Definition at line 61 of file reaction_wide_cell.h.

Referenced by bicameral::sim::MakeWideReactionCell(), and RxWidenCell().

Here is the caller graph for this function:

◆ RxNarrowCell()

RxCell bicameral::reaction::RxNarrowCell ( const RxWideCell & cell)
inline

Definition at line 80 of file reaction_wide_cell.h.

References bicameral::reaction::RxWideCell::amounts, bicameral::reaction::RxWideCell::energy, RxFitsInline(), bicameral::reaction::RxWideCell::species, and bicameral::reaction::RxWideCell::speciesCount.

Here is the call graph for this function:

◆ RxSameCell()

bool bicameral::reaction::RxSameCell ( const RxWideCell & a,
const RxWideCell & b )
inline

Definition at line 93 of file reaction_wide_cell.h.

References bicameral::reaction::RxWideCell::amounts, bicameral::reaction::RxWideCell::energy, bicameral::reaction::RxWideCell::species, and bicameral::reaction::RxWideCell::speciesCount.

Referenced by bicameral::sim::FindLabMismatch().

Here is the caller graph for this function:

◆ RxWidenCell()

RxWideCell bicameral::reaction::RxWidenCell ( const RxCell & cell)
inline

Definition at line 65 of file reaction_wide_cell.h.

References bicameral::reaction::RxWideCell::amounts, RxMakeEmptyWideCell(), bicameral::reaction::RxWideCell::species, and bicameral::reaction::RxWideCell::speciesCount.

Here is the call graph for this function: