hedgewars/uTypes.pas
changeset 10032 db65298717da
parent 9998 736015b847e3
child 10040 4ac87acbaed9
equal deleted inserted replaced
10031:9353632dc661 10032:db65298717da
   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
       
   273             Tint: LongWord;         // Used to colour a texture
   273             LinkedGear: PGear;      // Used to track a related gear. Portal pairs for example.
   274             LinkedGear: PGear;      // Used to track a related gear. Portal pairs for example.
   274             Hedgehog: PHedgehog;    // set to CurrentHedgehog on gear creation
   275             Hedgehog: PHedgehog;    // set to CurrentHedgehog on gear creation
   275             SoundChannel: LongInt;  // Used to track a sound the gear started
   276             SoundChannel: LongInt;  // Used to track a sound the gear started
   276             end;
   277             end;
   277     TPGearArray = array of PGear;
   278     TPGearArray = array of PGear;