hedgewars/uTypes.pas
changeset 7297 af64b509725c
parent 7291 ad4b6c2b09e8
child 7304 8b3575750cd2
equal deleted inserted replaced
7295:e70b81854fb9 7297:af64b509725c
   219             w, h, scale: LongInt;
   219             w, h, scale: LongInt;
   220 
   220 
   221             x, y: LongInt; // Offset in the texture atlas
   221             x, y: LongInt; // Offset in the texture atlas
   222             isRotated: boolean; // if true sprite is flipped in the atlas taking w pixels along the y and h pixels along the x axis
   222             isRotated: boolean; // if true sprite is flipped in the atlas taking w pixels along the y and h pixels along the x axis
   223 
   223 
       
   224             shared: boolean; // true if in an atlas, false if atlas points to a dedicated texture for this sprite
       
   225 
   224             surface: PSDL_Surface; // retained in memory surface
   226             surface: PSDL_Surface; // retained in memory surface
   225 
   227 
   226             // Cached values for texel coordinates and vertex coordinates            
   228             // Cached values for texel coordinates and vertex coordinates            
   227             vb, tb: TVertexRect;
   229             vb, tb: TVertexRect;
   228 
   230