add line endings property so we can convert later
This commit is contained in:
parent
1fb156d5b2
commit
f2ec5d44bd
|
@ -39,6 +39,7 @@ pub struct Game {
|
||||||
pub endings: Vec<Ending>,
|
pub endings: Vec<Ending>,
|
||||||
pub variables: Vec<Variable>,
|
pub variables: Vec<Variable>,
|
||||||
pub font_data: Option<String>, // todo make this an actual struct for parsing
|
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 {
|
impl Game {
|
||||||
|
@ -168,6 +169,7 @@ impl Game {
|
||||||
endings,
|
endings,
|
||||||
variables,
|
variables,
|
||||||
font_data,
|
font_data,
|
||||||
|
line_endings_crlf: false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue