hedgewars/uTypes.pas
changeset 9969 f27921b31b61
parent 9790 0b4b9fda5bd4
child 9998 736015b847e3
equal deleted inserted replaced
9967:40750e72514b 9969:f27921b31b61
   262 // DirAngle is a "real" - if you don't need it for rotation of sprite in uGearsRender, you can use it for any visual-only value
   262 // DirAngle is a "real" - if you don't need it for rotation of sprite in uGearsRender, you can use it for any visual-only value
   263             DirAngle: real;
   263             DirAngle: real;
   264 // These are frequently overridden to serve some other purpose
   264 // These are frequently overridden to serve some other purpose
   265             Pos: Longword;           // Commonly overridden.  Example use is posCase values in uConsts.
   265             Pos: Longword;           // Commonly overridden.  Example use is posCase values in uConsts.
   266             Angle, Power : Longword; // Used for hog aiming/firing.  Angle is rarely used as an Angle otherwise.
   266             Angle, Power : Longword; // Used for hog aiming/firing.  Angle is rarely used as an Angle otherwise.
   267             Timer : LongWord;        // Typically used for some sort of gear timer. Time to explosion, remaining fuel...
   267             Timer, WDTimer : LongWord;        // Typically used for some sort of gear timer. Time to explosion, remaining fuel...
   268             Tag: LongInt;            // Quite generic. Variety of uses.
   268             Tag: LongInt;            // Quite generic. Variety of uses.
   269             FlightTime: Longword;    // Initially added for batting of hogs to determine homerun. Used for some firing delays
   269             FlightTime: Longword;    // Initially added for batting of hogs to determine homerun. Used for some firing delays
   270             MsgParam: LongWord;      // Initially stored a set of messages. So usually gm values like Message. Frequently overriden
   270             MsgParam: LongWord;      // Initially stored a set of messages. So usually gm values like Message. Frequently overriden
   271 // These are not used generically, but should probably be used for purpose intended. Definitely shouldn't override pointer type
   271 // These are not used generically, but should probably be used for purpose intended. Definitely shouldn't override pointer type
   272             Tex: PTexture;          // A texture created by the gear. Shouldn't use for anything but textures
   272             Tex: PTexture;          // A texture created by the gear. Shouldn't use for anything but textures