diff options
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 30 |
1 files changed, 30 insertions, 0 deletions
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. |