bodyparts separated
[k8-i-v-a-n.git] / src / game / bodyparts / normaltorso_spidertorso.cpp
bloba280b37366cad078f2b5ee6e0cb7f7e19b1d4790
1 #ifdef HEADER_PHASE
2 ITEM(spidertorso, normaltorso)
4 protected:
5 virtual int GetClassAnimationFrames() const { return 16; }
6 virtual v2 GetBitmapPos(int) const;
7 };
10 #else
14 v2 spidertorso::GetBitmapPos(int Frame) const
16 v2 BasePos = torso::GetBitmapPos(Frame);
17 Frame &= 0xF;
18 return v2(BasePos.X + ((Frame &~ 7) << 1), BasePos.Y);
20 #endif