add line endings property so we can convert later
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user