diff --git a/Cargo.toml b/Cargo.toml index c62eaf4..86437df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tilesy" -version = "0.72.3" +version = "0.75.0" description = "a tilesheet importer for the Bitsy game engine" authors = ["Max Bradbury "] edition = "2018" @@ -13,7 +13,7 @@ crate-type = ["cdylib"] [dependencies] "base64" = "^0.12.3" -"bitsy-parser" = "^0.72.3" +"bitsy-parser" = "^0.75.0" "image" = "^0.23.7" "lazy_static" = "^1.4.0" "wasm-bindgen" = "=0.2.64" # newer versions are bugged... diff --git a/cover.png b/cover.png new file mode 100644 index 0000000..83f2c25 Binary files /dev/null and b/cover.png differ diff --git a/src/lib.rs b/src/lib.rs index f060e5f..9265558 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -52,7 +52,7 @@ pub fn load_game(game_data: String) -> String { let mut state = STATE.lock().unwrap(); match result { - Ok(game) => { + Ok((game, _errors)) => { state.game = Some(game); "".to_string() }, diff --git a/src/test-resources/expected.bitsy b/src/test-resources/expected.bitsy index 1bbfbd3..573c557 100644 --- a/src/test-resources/expected.bitsy +++ b/src/test-resources/expected.bitsy @@ -1,6 +1,6 @@ Write your game's title here -# BITSY VERSION 7.2 +# BITSY VERSION 7.5 ! ROOM_FORMAT 1