X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FDDSpriteBuffer.h;fp=src%2Fgame_sp%2FDDSpriteBuffer.h;h=64a8daa0abe08901e5c32a1d7018071880270924;hb=5ba7f2d9a3f07f342afdf215a3307d5487cb6d43;hp=0000000000000000000000000000000000000000;hpb=1ceb7ce8723b32b267758bfda3bb7903fff8ea7a;p=rocksndiamonds.git diff --git a/src/game_sp/DDSpriteBuffer.h b/src/game_sp/DDSpriteBuffer.h new file mode 100644 index 00000000..64a8daa0 --- /dev/null +++ b/src/game_sp/DDSpriteBuffer.h @@ -0,0 +1,28 @@ +// ---------------------------------------------------------------------------- +// DDSpriteBuffer.h +// ---------------------------------------------------------------------------- + +#ifndef DDSPRITEBUFFER_H +#define DDSPRITEBUFFER_H + +#include "vb_types.h" +#include "vb_defs.h" +#include "vb_vars.h" +#include "vb_lib.h" + +#include "global.h" + +extern void DDSpriteBuffer_BltEx(int pX, int pY, int SpritePos); +extern void DDSpriteBuffer_Cls(int BackColor); +extern boolean DDSpriteBuffer_CreateAtSize(long Width, long Height, long xSprites, long ySprites); +extern boolean DDSpriteBuffer_CreateFromFile(char *Path, long xSprites, long ySprites); +extern long DDSpriteBuffer_Get_DestXOff(); +extern long DDSpriteBuffer_Get_DestYOff(); +extern int DDSpriteBuffer_Get_Height(); +extern DirectDrawSurface7 DDSpriteBuffer_Get_Surface(); +extern long DDSpriteBuffer_Get_Width(); +extern void DDSpriteBuffer_Let_DestXOff(long NewVal); +extern void DDSpriteBuffer_Let_DestYOff(long NewVal); +extern int DDSpriteBuffer_Set_DestinationSurface(DirectDrawSurface7 DSurface); + +#endif /* DDSPRITEBUFFER_H */