hedgewars/uTypes.pas
changeset 11468 2f6f8baa2a97
parent 11317 62287d4044e7
child 11481 caa1e84c3ac2
child 11734 f48408dcea36
child 11765 10860d4bca22
equal deleted inserted replaced
11467:f2c36df8c7b1 11468:2f6f8baa2a97
   271 // Don't use these if you want to take damage normally, otherwise health/damage are commonly used for other purposes
   271 // Don't use these if you want to take damage normally, otherwise health/damage are commonly used for other purposes
   272             Health, Damage, Karma: LongInt;
   272             Health, Damage, Karma: LongInt;
   273 // DirAngle is a 'real' - if you do not need it for rotation of sprite in uGearsRender, you can use it for any visual-only value
   273 // DirAngle is a 'real' - if you do not need it for rotation of sprite in uGearsRender, you can use it for any visual-only value
   274             DirAngle: real;
   274             DirAngle: real;
   275 // These are frequently overridden to serve some other purpose
   275 // These are frequently overridden to serve some other purpose
       
   276 	    Boom: Longword;          // amount of damage caused by the gear
   276             Pos: Longword;           // Commonly overridden.  Example use is posCase values in uConsts.
   277             Pos: Longword;           // Commonly overridden.  Example use is posCase values in uConsts.
   277             Angle, Power : Longword; // Used for hog aiming/firing.  Angle is rarely used as an Angle otherwise.
   278             Angle, Power : Longword; // Used for hog aiming/firing.  Angle is rarely used as an Angle otherwise.
   278             Timer, WDTimer : LongWord;        // Typically used for some sort of gear timer. Time to explosion, remaining fuel...
   279             Timer, WDTimer : LongWord;        // Typically used for some sort of gear timer. Time to explosion, remaining fuel...
   279             Tag: LongInt;            // Quite generic. Variety of uses.
   280             Tag: LongInt;            // Quite generic. Variety of uses.
   280             FlightTime: Longword;    // Initially added for batting of hogs to determine homerun. Used for some firing delays
   281             FlightTime: Longword;    // Initially added for batting of hogs to determine homerun. Used for some firing delays