equal
deleted
inserted
replaced
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 |