variables
This commit is contained in:
parent
19f01e05d8
commit
ac692d05a3
|
@ -94,12 +94,19 @@ struct Room {
|
||||||
endings: HashMap<Position, Ending>,
|
endings: HashMap<Position, Ending>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(PartialEq)]
|
#[derive(Debug, Eq, PartialEq)]
|
||||||
|
struct Variable {
|
||||||
|
id: String,
|
||||||
|
initial_value: i64,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Debug, PartialEq)]
|
||||||
struct Game {
|
struct Game {
|
||||||
name: String,
|
name: String,
|
||||||
version: f64,
|
version: f64,
|
||||||
room_format: u8,
|
room_format: u8,
|
||||||
palettes: Vec<Palette>,
|
palettes: Vec<Palette>,
|
||||||
|
variables: Vec<Variable>,
|
||||||
}
|
}
|
||||||
|
|
||||||
fn test_image_chequers_1() -> Image {
|
fn test_image_chequers_1() -> Image {
|
||||||
|
|
Loading…
Reference in New Issue