12 #include "../stdafx.h" 15 #include "../safeguards.h" 23 dest_sprite = (
Sprite *)allocator(
sizeof(*dest_sprite));
static FBlitter_Null iFBlitter_Null
Instantiation of the null blitter factory.
Data structure describing a sprite.
int16 y_offs
Number of pixels to shift the sprite downwards.
int16 x_offs
The x-offset of where the sprite will be drawn.
Structure for passing information from the sprite loader to the blitter.
uint16 height
Height of the sprite.
uint16 width
Width of the sprite.
uint16 width
Width of the sprite.
Sprite * Encode(const SpriteLoader::Sprite *sprite, AllocatorProc *allocator)
Convert a sprite from the loader to our own format.
uint16 height
Height of the sprite.
int16 x_offs
Number of pixels to shift the sprite to the right.
The blitter that doesn't blit.
int16 y_offs
The y-offset of where the sprite will be drawn.
Factory for the blitter that does nothing.