hedgewars/uTypes.pas
changeset 10809 bb2e4e9944f7
parent 10792 f6df7d6e18e5
child 10817 48a53259fad8
child 10829 158b5dd6b3c9
equal deleted inserted replaced
10808:1e39630d7c2e 10809:bb2e4e9944f7
   247             AIHints: LongWord;          // hints for ai.
   247             AIHints: LongWord;          // hints for ai.
   248             LastDamage: PHedgehog;      // Used to track damage source for stats
   248             LastDamage: PHedgehog;      // Used to track damage source for stats
   249             CollisionIndex: LongInt;    // Position in collision array
   249             CollisionIndex: LongInt;    // Position in collision array
   250             Message: LongWord;          // Game messages are stored here. See gm bitmasks in uConsts
   250             Message: LongWord;          // Game messages are stored here. See gm bitmasks in uConsts
   251             uid: Longword;              // Lua use this to reference gears
   251             uid: Longword;              // Lua use this to reference gears
   252             Hedgehog: PHedgehog;        // set to CurrentHedgehog on gear creation.  uStats damage code appears to assume it will never be nil and never be changed.
   252             Hedgehog: PHedgehog;        // set to CurrentHedgehog on gear creation.  uStats damage code appears to assume it will never be nil and never be changed.  If you override it, make sure it is set to a non-nil PHedgehog before dealing damage.
   253 // Strongly recommended not to override these.  Will mess up generic operations like portaling
   253 // Strongly recommended not to override these.  Will mess up generic operations like portaling
   254             X : hwFloat;              // X/Y/dX/dY are position/velocity. People count on these having semi-normal values
   254             X : hwFloat;              // X/Y/dX/dY are position/velocity. People count on these having semi-normal values
   255             Y : hwFloat;
   255             Y : hwFloat;
   256             dX: hwFloat;
   256             dX: hwFloat;
   257             dY: hwFloat;
   257             dY: hwFloat;