X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Fvb_types.h;h=0f6d1b88112157690d3a38590b4c7a360d71c36a;hb=e742774a369161df5592ec2d7c553ea6d1143de3;hp=f2fb53cee26769cbd95f03f96e9e4e87d3405cbf;hpb=1533b136c6f8d0656cc45ca4c204104ef3d75249;p=rocksndiamonds.git diff --git a/src/game_sp/vb_types.h b/src/game_sp/vb_types.h index f2fb53ce..0f6d1b88 100644 --- a/src/game_sp/vb_types.h +++ b/src/game_sp/vb_types.h @@ -34,7 +34,7 @@ typedef struct int top; int right; int bottom; -} RECT; +} MyRECT; #define HAS_RECT #endif @@ -105,9 +105,9 @@ typedef struct boolean (*isLost)(void); void (*GetSurfaceDesc)(DDSURFACEDESC2); void (*SetClipper)(DirectDrawClipper); - // long (*Blt)(RECT, DirectDrawSurface7, RECT, int); - long (*Blt)(RECT, void *, RECT, int); - void (*BltColorFill)(RECT, int); + // long (*Blt)(MyRECT, DirectDrawSurface7, MyRECT, int); + long (*Blt)(MyRECT, void *, MyRECT, int); + void (*BltColorFill)(MyRECT, int); } DirectDrawSurface7; typedef struct @@ -124,6 +124,8 @@ typedef struct int lFlags; } DSBUFFERDESC; +#if 0 + typedef struct { int nFormatTag; @@ -150,9 +152,11 @@ typedef struct { DirectDraw7 (*DirectDrawCreate)(char *); DirectSound (*DirectSoundCreate)(char *); - void (*GetWindowRect)(long, RECT); + void (*GetWindowRect)(long, MyRECT); } DirectX7; +#endif + typedef struct { int Left; @@ -233,6 +237,7 @@ typedef struct void (*Cls)(); void (*BltEx)(int, int, int); + void (*BltImg)(int, int, int, int); } DDSpriteBuffer; typedef struct