hedgewars/uTypes.pas
changeset 7291 ad4b6c2b09e8
parent 7288 5d0704f23a2a
child 7297 af64b509725c
equal deleted inserted replaced
7288:5d0704f23a2a 7291:ad4b6c2b09e8
   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             surface: PSDL_Surface; // retained in memory surface
       
   225 
   224             // Cached values for texel coordinates and vertex coordinates            
   226             // Cached values for texel coordinates and vertex coordinates            
   225             vb, tb: TVertexRect;
   227             vb, tb: TVertexRect;
   226 
   228 
   227             PrevTexture, NextTexture: PTexture;
   229             PrevTexture, NextTexture: PTexture;
   228             end;
   230             end;