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

Functions

uint64_t MixBytes (uint64_t hash, std::string_view bytes)
uint64_t MixField (uint64_t hash, std::string_view bytes)
std::string ReadWhole (const fs::path &path, bool &ok)
std::string NamesNotIn (const std::vector< std::string > &names, const std::vector< std::string > &other)

Variables

constexpr uint64_t FNV_OFFSET = 0xcbf29ce484222325ULL
constexpr uint64_t FNV_PRIME = 0x100000001b3ULL

Function Documentation

◆ MixBytes()

uint64_t bicameral::script::anonymous_namespace{reaction_hot_reload.cpp}::MixBytes ( uint64_t hash,
std::string_view bytes )

Definition at line 22 of file reaction_hot_reload.cpp.

References FNV_PRIME, and MixBytes().

Referenced by MixBytes(), and MixField().

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

◆ MixField()

uint64_t bicameral::script::anonymous_namespace{reaction_hot_reload.cpp}::MixField ( uint64_t hash,
std::string_view bytes )

Definition at line 32 of file reaction_hot_reload.cpp.

References MixBytes(), and MixField().

Referenced by MixField().

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

◆ NamesNotIn()

std::string bicameral::script::anonymous_namespace{reaction_hot_reload.cpp}::NamesNotIn ( const std::vector< std::string > & names,
const std::vector< std::string > & other )

Definition at line 48 of file reaction_hot_reload.cpp.

References NamesNotIn().

Referenced by NamesNotIn().

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

◆ ReadWhole()

std::string bicameral::script::anonymous_namespace{reaction_hot_reload.cpp}::ReadWhole ( const fs::path & path,
bool & ok )

Definition at line 39 of file reaction_hot_reload.cpp.

References ReadWhole().

Referenced by ReadWhole().

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

Variable Documentation

◆ FNV_OFFSET

uint64_t bicameral::script::anonymous_namespace{reaction_hot_reload.cpp}::FNV_OFFSET = 0xcbf29ce484222325ULL
constexpr

Definition at line 19 of file reaction_hot_reload.cpp.

◆ FNV_PRIME

uint64_t bicameral::script::anonymous_namespace{reaction_hot_reload.cpp}::FNV_PRIME = 0x100000001b3ULL
constexpr

Definition at line 20 of file reaction_hot_reload.cpp.

Referenced by MixBytes().