Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
reaction_package.h File Reference
#include <cstdint>
#include <expected>
#include <string>
#include <string_view>
#include "script/luau_package.h"
#include "sim/reaction_table.h"
Include dependency graph for reaction_package.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bicameral::script::DecimalNumber

Namespaces

namespace  bicameral
namespace  bicameral::script

Functions

std::expected< DecimalNumber, std::string > bicameral::script::ParseDecimal (std::string_view text)
std::expected< ReactionTableDefinition, std::string > bicameral::script::ReadReactionTableDefinition (const PackageSetResult &packages)

Variables

constexpr std::string_view bicameral::script::REACTION_ELEMENTS_CATEGORY = "elements"
constexpr std::string_view bicameral::script::REACTION_SPECIES_CATEGORY = "species"
constexpr std::string_view bicameral::script::REACTION_RULES_CATEGORY = "reactions"