changeset 4281 | e033cf015b2c |
parent 4279 | b697a26ed538 |
child 4307 | eb0f5c45e7ab |
4279:b697a26ed538 | 4281:e033cf015b2c |
---|---|
2 var i, t: LongInt; |
2 var i, t: LongInt; |
3 amt: TAmmoType; |
3 amt: TAmmoType; |
4 sign, hx, hy, cx, cy, tx, ty, sx, sy, m: LongInt; // hedgehog, crosshair, temp, sprite, direction |
4 sign, hx, hy, cx, cy, tx, ty, sx, sy, m: LongInt; // hedgehog, crosshair, temp, sprite, direction |
5 dx, dy, ax, ay, aAngle, dAngle, hAngle, lx, ly: real; // laser, change |
5 dx, dy, ax, ay, aAngle, dAngle, hAngle, lx, ly: real; // laser, change |
6 defaultPos, HatVisible: boolean; |
6 defaultPos, HatVisible: boolean; |
7 VertexBuffer: array [0..1] of TVertex2f; |
|
8 HH: PHedgehog; |
7 HH: PHedgehog; |
9 CurWeapon: PAmmo; |
8 CurWeapon: PAmmo; |
10 begin |
9 begin |
11 HH:= PHedgehog(Gear^.Hedgehog); |
10 HH:= PHedgehog(Gear^.Hedgehog); |
12 if HH^.Unplaced then exit; |
11 if HH^.Unplaced then exit; |