Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
reaction_hot_reload.cpp File Reference
#include "script/reaction_hot_reload.h"
#include <algorithm>
#include <format>
#include <fstream>
#include <iterator>
#include <system_error>
#include <utility>
#include <vector>
#include "script/luau_type_check.h"
Include dependency graph for reaction_hot_reload.cpp:

Go to the source code of this file.

Namespaces

namespace  bicameral
namespace  bicameral::script
namespace  bicameral::script::anonymous_namespace{reaction_hot_reload.cpp}

Functions

uint64_t bicameral::script::anonymous_namespace{reaction_hot_reload.cpp}::MixBytes (uint64_t hash, std::string_view bytes)
uint64_t bicameral::script::anonymous_namespace{reaction_hot_reload.cpp}::MixField (uint64_t hash, std::string_view bytes)
std::string bicameral::script::anonymous_namespace{reaction_hot_reload.cpp}::ReadWhole (const fs::path &path, bool &ok)
std::string bicameral::script::anonymous_namespace{reaction_hot_reload.cpp}::NamesNotIn (const std::vector< std::string > &names, const std::vector< std::string > &other)
uint64_t bicameral::script::DirectoryFingerprint (const fs::path &root)
std::expected< void, std::string > bicameral::script::CheckHotReloadCompatible (const sim::BakedReactionTable &current, const sim::BakedReactionTable &next)

Variables

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