Quantcast

Keep snapshots of player stats from the past 5 seconds.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-08-10 18:40:41
Author local date 2013-08-10 18:40:41 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-08-10 18:40:41
Committer local date 2013-08-10 18:40:41 +0000
Commit 86817e72ae0b77bcdeaa6e1d5e5ff8f9b1c56e0d
Tree 46a10768adc5dbc85e1aa439917e38edd18425ea
Parent 528f9edeb3334535beb26b21cf45bd5a01d4cda2
Keep snapshots of player stats from the past 5 seconds.

A snapshot is taken each time one of the player's stats changes, with
changes that occur at the same time (based on GetTime()) collected into
the same snapshot.

OvalePaperDoll.stat is now a pointer to the head of the snapshot queue,
pointing to the most recent snapshot.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1006 d5049fe3-3747-40f7-a4b5-f36d6801af5f