hedgewars/uTypes.pas
changeset 10040 4ac87acbaed9
parent 10015 4feced261c68
parent 10032 db65298717da
child 10108 c68cf030eded
equal deleted inserted replaced
10019:c00db97a668f 10040:4ac87acbaed9
   270             Angle, Power : Longword; // Used for hog aiming/firing.  Angle is rarely used as an Angle otherwise.
   270             Angle, Power : Longword; // Used for hog aiming/firing.  Angle is rarely used as an Angle otherwise.
   271             Timer, WDTimer : LongWord;        // Typically used for some sort of gear timer. Time to explosion, remaining fuel...
   271             Timer, WDTimer : LongWord;        // Typically used for some sort of gear timer. Time to explosion, remaining fuel...
   272             Tag: LongInt;            // Quite generic. Variety of uses.
   272             Tag: LongInt;            // Quite generic. Variety of uses.
   273             FlightTime: Longword;    // Initially added for batting of hogs to determine homerun. Used for some firing delays
   273             FlightTime: Longword;    // Initially added for batting of hogs to determine homerun. Used for some firing delays
   274             MsgParam: LongWord;      // Initially stored a set of messages. So usually gm values like Message. Frequently overriden
   274             MsgParam: LongWord;      // Initially stored a set of messages. So usually gm values like Message. Frequently overriden
   275 // These are not used generically, but should probably be used for purpose intended. Definitely should not override pointer type
   275 // These are not used generically, but should probably be used for purpose intended. Definitely shouldn't override pointer type
   276             Tex: PTexture;          // A texture created by the gear. Should not use for anything but textures
   276             Tex: PTexture;          // A texture created by the gear. Shouldn't use for anything but textures
       
   277             Tint: LongWord;         // Used to colour a texture
   277             LinkedGear: PGear;      // Used to track a related gear. Portal pairs for example.
   278             LinkedGear: PGear;      // Used to track a related gear. Portal pairs for example.
   278             Hedgehog: PHedgehog;    // set to CurrentHedgehog on gear creation
   279             Hedgehog: PHedgehog;    // set to CurrentHedgehog on gear creation
   279             SoundChannel: LongInt;  // Used to track a sound the gear started
   280             SoundChannel: LongInt;  // Used to track a sound the gear started
   280             end;
   281             end;
   281     TPGearArray = array of PGear;
   282     TPGearArray = array of PGear;