equal
deleted
inserted
replaced
181 * @return True if it uses palette animation. |
181 * @return True if it uses palette animation. |
182 */ |
182 */ |
183 virtual Blitter::PaletteAnimation UsePaletteAnimation() = 0; |
183 virtual Blitter::PaletteAnimation UsePaletteAnimation() = 0; |
184 |
184 |
185 /** |
185 /** |
186 * Get the naem of the blitter, the same as the Factory-instance returns. |
186 * Get the name of the blitter, the same as the Factory-instance returns. |
187 */ |
187 */ |
188 virtual const char *GetName() = 0; |
188 virtual const char *GetName() = 0; |
|
189 |
|
190 /** |
|
191 * Get how many bytes are needed to store a pixel. |
|
192 */ |
|
193 virtual int GetBytesPerPixel() = 0; |
189 |
194 |
190 virtual ~Blitter() { } |
195 virtual ~Blitter() { } |
191 }; |
196 }; |
192 |
197 |
193 #endif /* BLITTER_BASE_HPP */ |
198 #endif /* BLITTER_BASE_HPP */ |