From c4be0861cbde310bf5cc6c554c98b3ea8371d0ed Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Fri, 14 Aug 2020 12:11:56 +0100 Subject: [PATCH] update default game data for bitsy 7.2 (no game data changes, only editor changes here) --- Cargo.toml | 2 +- src/mock.rs | 12 ++++++------ src/test-resources/default.bitsy | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 023366b..34006f9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bitsy-parser" -version = "0.71.7" +version = "0.72.0" authors = ["Max Bradbury "] edition = "2018" description = "A parser and utilities for working with Bitsy game data" diff --git a/src/mock.rs b/src/mock.rs index 3c8e8af..2c9687d 100644 --- a/src/mock.rs +++ b/src/mock.rs @@ -189,7 +189,7 @@ pub mod item { use crate::image::Image; pub fn key() -> Item { - Item { + Item { id: "1".to_string(), animation_frames: vec![ Image { pixels: vec![ @@ -202,10 +202,10 @@ pub mod item { 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0 ]} - ], - name: Some("key".to_string()), - dialogue_id: Some("2".to_string()), - colour_id: None + ], + name: Some("key".to_string()), + dialogue_id: Some("2".to_string()), + colour_id: None } } } @@ -537,7 +537,7 @@ pub fn room() -> Room { pub fn game_default() -> Game { Game { name: "Write your game's title here".to_string(), - version: Some(Version { major: 7, minor: 1 }), + version: Some(Version { major: 7, minor: 2 }), room_format: Some(RoomFormat::CommaSeparated), room_type: RoomType::Room, font: Font::AsciiSmall, diff --git a/src/test-resources/default.bitsy b/src/test-resources/default.bitsy index 4c6f470..e276e0e 100644 --- a/src/test-resources/default.bitsy +++ b/src/test-resources/default.bitsy @@ -1,6 +1,6 @@ Write your game's title here -# BITSY VERSION 7.1 +# BITSY VERSION 7.2 ! ROOM_FORMAT 1