Crate dialogical

Source
Expand description

literally rewriting it in rust because i got tired of trying to make modules work properly instead of being able to write actual code

- &Cherry, 11/20/2023

Modules§

prelude

Structs§

Args
P/E/T/S Dialogue Compiler
DgParser
DialogueChoice
One choice in a list of dialogue choices
Interaction
Page
PageMeta

Enums§

DialogueEnding
Label
Metaline
Represents a metadata directive
Speaker

Functions§

cli_main
compile
Compile one .dg file into a packed .dgc via a simple Rust interface… Pretty much does the same stuff as the CLI version. Reasonable defaults, but you can always use cli_main directly if you need more control.
deserialize

Type Aliases§

InteractionMap
Represents a list of interactions, but with a HashMap so you don’t have to constantly filter through the list