]> git.xonotic.org Git - xonotic/darkplaces.git/commit
complexanimation now beginning to be suitable for SVQC use
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 12 Nov 2011 11:17:38 +0000 (11:17 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 12 Nov 2011 11:48:05 +0000 (12:48 +0100)
commit3d83121189b2d615a9b303b926b85f05f322ed81
tree84c6cc81965b8dfd6fc3d63349e4b27880be1db6
parent2f78a8261bda4700dabc06526131a1f7d35dd123
complexanimation now beginning to be suitable for SVQC use

- only set E5_COMPLEXANIMATION flag when required to save a LOT of bandwidth
- don't also send a legacy frame number when using complex animation to save a bit more
- no more support of "anims that start in the future", use a QC think function to handle them
- fix wraparound logic for complex animation (if a model animation is shorter than 30 sec, it won't jerk when playing the same anim for over a minute)

Bandwidth use per update message:
- simple anim: 1 byte
- 1 blends: 5 bytes
- 2 blends: 11 bytes
- 3 blends: 16 bytes
- 4 blends: 21 bytes
- skeletonobject: 4 + 12*bonecount bytes

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11546 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=bfebdee6f90da32974e4305a33ed15c72ad0a5dc
protocol.c
sv_main.c