add line endings property so we can convert later

This commit is contained in:
Max Bradbury 2020-04-23 12:07:45 +01:00
parent 1fb156d5b2
commit f2ec5d44bd
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ pub struct Game {
pub endings: Vec<Ending>,
pub variables: Vec<Variable>,
pub font_data: Option<String>, // todo make this an actual struct for parsing
pub(crate) line_endings_crlf: bool, // otherwise lf (unix/mac)
}
impl Game {
@ -168,6 +169,7 @@ impl Game {
endings,
variables,
font_data,
line_endings_crlf: false
})
}
}