54b2df2cd8739299d33b99ea59e94a1fe7d8b529
[rocksndiamonds.git] / src / game_sp / DDSpriteBuffer.h
1 // ----------------------------------------------------------------------------
2 // DDSpriteBuffer.h
3 // ----------------------------------------------------------------------------
4
5 #ifndef DDSPRITEBUFFER_H
6 #define DDSPRITEBUFFER_H
7
8 #include "vb_types.h"
9 #include "vb_defs.h"
10 #include "vb_vars.h"
11 #include "vb_lib.h"
12
13 #include "global.h"
14
15 extern void DDSpriteBuffer_BltEx(int pX, int pY, int SpritePos);
16 extern void DDSpriteBuffer_BltImg(int pX, int pY, int graphic, int sync_frame);
17 extern void DDSpriteBuffer_Cls(int BackColor);
18 extern boolean DDSpriteBuffer_CreateAtSize(long Width, long Height, long xSprites, long ySprites);
19 extern boolean DDSpriteBuffer_CreateFromFile(char *Path, long xSprites, long ySprites);
20 extern long DDSpriteBuffer_Get_DestXOff();
21 extern long DDSpriteBuffer_Get_DestYOff();
22 extern int DDSpriteBuffer_Get_Height();
23 extern DirectDrawSurface7 DDSpriteBuffer_Get_Surface();
24 extern long DDSpriteBuffer_Get_Width();
25 extern void DDSpriteBuffer_Let_DestXOff(long NewVal);
26 extern void DDSpriteBuffer_Let_DestYOff(long NewVal);
27 extern int DDSpriteBuffer_Set_DestinationSurface(DirectDrawSurface7 DSurface);
28
29 #endif /* DDSPRITEBUFFER_H */