Difference between revisions of "CShootDesc"
From Project X Wiki
m (Reverted edits by DonaldTurner (talk) to last revision by StepS) |
|
(3 intermediate revisions by 2 users not shown) | |
(No difference)
|
Latest revision as of 09:36, 10 August 2012
This structure is used in many functions. It describes a shot (speed, worm who shot...).
struct CShootDesc { int Team; int Worm; fixed X; fixed Y; fixed SpX; fixed SpY; fixed AddX; fixed AddY; };
Team - team index (1 - 6)
Worm - worm index (1 - 8)
X, Y - coordinates
SpX, SpY - speed
AddX, AddY - custom parameters; for example, for homing weapon it's coordinates of target
|