aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/mod.rs
AgeCommit message (Collapse)Author
2020-04-27remove statistics submoduleDaniel Schadt
The way the trackers worked was rather... "adventurous", and while there were some good ideas and it mostly worked, the implementation and interface could do better. Additionally, it was incomplete, for example there were a lot of mechanics just missing. While I'm not against having this functionality provided by evtclib, I think it would be more worthwile with a better designed implementation & API, so this "proof of concept" implementation is gone until there is a better way of doing things. gamedata is being kept, as the boss identifiers are useful and applications shouldn't have to deal with keeping this low-level list themselves.
2020-04-04switch from quick_error to thiserrorDaniel Schadt
thiserror seems to be the more modern approach that also works with the new Error trait from std.
2020-04-04Insert dyn for trait objectsDaniel Schadt
This was a change in Rust a while back, so we're updating to the new, non-deprecated syntax.
2018-07-07base for mechanic trackingDaniel Schadt
2018-06-14use log start time as fallback for combat enterDaniel Schadt
Does only the PoV player have the enter combat event...?
2018-06-14rework boon trackingDaniel Schadt
2018-06-13rework damage trackerDaniel Schadt
2018-06-10use multiplexer for boon trackerDaniel Schadt
2018-05-01add boon data for some boons (exemplary)Daniel Schadt
2018-04-27speed up boon calculationDaniel Schadt
This prevents calling BoonQueue::simulate a lot of times. Still needs more profiling to make it even faster.
2018-04-27add boon tracking basicsDaniel Schadt
2018-04-25introduce trackersDaniel Schadt
Trackers help us to keep the code somewhat cleaner, especially in the statistics::calculate function.
2018-04-25add basic boon queue supportDaniel Schadt
This is already pretty good to calculate the overall boon uptime/average stacks.