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§
Structs§
- Args
- P/E/T/S Dialogue Compiler
- DgParser
- Dialogue
Choice - One choice in a list of dialogue choices
- Interaction
- Page
- Page
Meta
Enums§
- Dialogue
Ending - 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 usecli_main
directly if you need more control. - deserialize
Type Aliases§
- Interaction
Map - Represents a list of interactions, but with a HashMap so you don’t have to constantly filter through the list