From 2c140c3da05ec9fb74c22ba02c4d1ccd609c0fe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Sun, 24 May 2020 13:44:17 +0200 Subject: [PATCH] 0.5.0 --- CHANGELOG.md | 7 +++++++ Cargo.toml | 8 ++++---- crates/genie-cpx/Cargo.toml | 4 ++-- crates/genie-rec/Cargo.toml | 4 ++-- crates/genie-scx/Cargo.toml | 2 +- crates/genie-scx/src/format.rs | 2 +- 6 files changed, 17 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5895725..029a455 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 0.5.0 +* **(breaking)** scx: fix Age of Empires 2: Definitive Edition tile data types. `MapTile.layered_terrain` now contains a u16 instead of a u8. +* **(breaking)** scx: read versioned map data from Age of Empires 2: Definitive Edition. +* **(breaking)** cpx: update genie-scx to v4.0.0. +* cpx: support reading and writing Age of Empires 2: Definitive Edition campaign files. (#22) +* rec: fix small action buffer optimisation. + ## 0.4.0 * **(breaking)** scx: support Age of Empires 2: Definitive Edition scenario files. (#28) * **(breaking)** scx: change `DataStruct::from(&mut Read)` methods to `DataStruct::read_from(impl Read)`. (#28) diff --git a/Cargo.toml b/Cargo.toml index 2b64029..dd7e679 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "genie" -version = "0.4.0" +version = "0.5.0" authors = ["Renée Kooi "] edition = "2018" license = "GPL-3.0" @@ -10,13 +10,13 @@ repository = "https://github.com/SiegeEngineers/genie-rs" readme = "README.md" [dependencies] -genie-cpx = { version = "0.4.0", path = "crates/genie-cpx" } +genie-cpx = { version = "0.5.0", path = "crates/genie-cpx" } genie-dat = { version = "0.1.0", path = "crates/genie-dat" } genie-drs = { version = "0.2.1", path = "crates/genie-drs" } genie-hki = { version = "0.2.1", path = "crates/genie-hki" } genie-lang = { version = "0.2.1", path = "crates/genie-lang" } -genie-rec = { version = "0.1.0", path = "crates/genie-rec" } -genie-scx = { version = "3.0.0", path = "crates/genie-scx" } +genie-rec = { version = "0.1.1", path = "crates/genie-rec" } +genie-scx = { version = "4.0.0", path = "crates/genie-scx" } jascpal = { version = "0.1.1", path = "crates/jascpal" } [dev-dependencies] diff --git a/crates/genie-cpx/Cargo.toml b/crates/genie-cpx/Cargo.toml index 4c64e53..f5a7fba 100644 --- a/crates/genie-cpx/Cargo.toml +++ b/crates/genie-cpx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "genie-cpx" -version = "0.4.0" +version = "0.5.0" authors = ["Renée Kooi "] edition = "2018" license = "GPL-3.0" @@ -13,7 +13,7 @@ exclude = ["test/campaigns"] byteorder = "^1.3.1" chardet = "^0.2.4" encoding_rs = "^0.8.17" -genie-scx = { version = "3.0.0", path = "../genie-scx" } +genie-scx = { version = "4.0.0", path = "../genie-scx" } thiserror = "1.0.13" [dev-dependencies] diff --git a/crates/genie-rec/Cargo.toml b/crates/genie-rec/Cargo.toml index c7c406a..59bd441 100644 --- a/crates/genie-rec/Cargo.toml +++ b/crates/genie-rec/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "genie-rec" -version = "0.1.0" +version = "0.1.1" authors = ["Renée Kooi "] edition = "2018" license = "GPL-3.0" @@ -13,7 +13,7 @@ arrayvec = "0.5" byteorder = "^1.3.1" flate2 = { version = "^1.0.0", features = ["rust_backend"], default-features = false } genie-dat = { version = "0.1.0", path = "../genie-dat" } -genie-scx = { version = "3.0.0", path = "../genie-scx" } +genie-scx = { version = "4.0.0", path = "../genie-scx" } genie-support = { version = "1.0.0", path = "../genie-support", features = ["strings"] } thiserror = "1.0.13" diff --git a/crates/genie-scx/Cargo.toml b/crates/genie-scx/Cargo.toml index 8e74d65..8916511 100644 --- a/crates/genie-scx/Cargo.toml +++ b/crates/genie-scx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "genie-scx" -version = "3.0.0" +version = "4.0.0" authors = ["Renée Kooi "] edition = "2018" license = "GPL-3.0" diff --git a/crates/genie-scx/src/format.rs b/crates/genie-scx/src/format.rs index 1d00298..e35c06a 100644 --- a/crates/genie-scx/src/format.rs +++ b/crates/genie-scx/src/format.rs @@ -14,7 +14,7 @@ use crate::{Error, Result, VersionBundle}; use byteorder::{ReadBytesExt, WriteBytesExt, LE}; use flate2::{read::DeflateDecoder, write::DeflateEncoder, Compression}; use genie_support::{ - f32_eq, read_opt_u32, read_str, write_opt_str, write_str, ReadSkipExt, StringKey, UnitTypeID, + f32_eq, read_opt_u32, read_str, write_opt_str, write_str, StringKey, UnitTypeID, }; use std::convert::{TryFrom, TryInto}; use std::io::{self, Read, Write};