From e474d65a2b16520216081730339665c2bf02108b Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Tue, 28 Apr 2020 15:50:29 +0200 Subject: update changelog --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf93648..f53bf11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,33 @@ All notable changes to this project will be documented in this file. ## Unreleased +### Added +- `Hash`, `PartialEq` and `Eq` implementations for `Agent`. +- `Hash` implementation for `WeaponSet` and `Activation`. +- `evtclib::gamedata::{Profession, EliteSpec}` to make dealing with + profession/elite specialization ids easier. +- `evtclib::Log::encounter` to automatically convert the ID to the right + `Boss`. +- `evtclib::raw::cstr_up_to_nul` to make dealing with the embedded strings + easier. +- Handling for `CBTS_VELOCITY`, `CBTS_POSITION`, `CBTS_FACING` and `CBTS_MAPID` + events. + ### Changed - `evtclib::statistics::gamedata` is now called `evtclib::gamedata`, and the list of boons has been removed. +- `evtclib::Agent` now takes a `Kind` parameter which make some methods more + ergonomical to use. +- `evtclib::Agent{Name, Kind}` have been reworked: + - They have been consolidated into a single `AgentKind`, which also contains + the name. + - Three new structs `Player`, `Gadget` and `Character` have been added + instead of embedding the fields directly into the enum. + - `Player::profession()` and `Player::elite()` now use the new `Profession` + and `EliteSpec` enums. +- `evtclib::Log::boss_id()` has been renamed `encounter_id`. +- `evtclib::EvtcError::Utf8Error` has changed the inner type from + `FromUtf8Error` to `Utf8Error`. ### Fixed - Fixes for parsing `evtclib::gamedata::Boss`: @@ -20,3 +44,9 @@ All notable changes to this project will be documented in this file. ### Removed - Removed `evtclib::statistics` submodule, see `08465ea` for the rationale. +- Removed all feature flags, so the crate can now be used on stable. +- Removed `Eq` from `evtclib::Event` & `evtclib::EventKind`. + +### Unsafe +- An unsafe one-liner has been added in `Agent::transmute`. Rationale and a + comment about safety can be found in the source. -- cgit v1.2.3