2 ITEM(largetorso
, normaltorso
)
5 virtual void SignalStackAdd(stackslot
*, void (stack::*)(item
*, truth
));
6 virtual int GetSquareIndex(v2
) const;
7 virtual void Draw(blitdata
&) const;
8 virtual void CalculateSquaresUnder() { SquaresUnder
= 4; }
10 virtual v2
GetBitmapPos(int I
) const { return GetLargeBitmapPos(BitmapPos
, I
); }
11 virtual void ModifyAnimationFrames(int& AF
) const { AF
<<= 2; }
19 void largetorso::Draw(blitdata
& BlitData
) const
26 void largetorso::SignalStackAdd(stackslot
* StackSlot
, void (stack::*AddHandler
)(item
*, truth
))
32 level
* Level
= GetLevel();
34 for(int c
= 1; c
< 4; ++c
)
35 (Level
->GetLSquare(Pos
+ game::GetLargeMoveVector(12 + c
))->GetStack()->*AddHandler
)(this, false);
38 for(int c
= 1; c
< 4; ++c
)
48 int largetorso::GetSquareIndex(v2 Pos
) const
50 v2 RelativePos
= Pos
- GetPos();
51 return RelativePos
.X
+ (RelativePos
.Y
<< 1);