X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Fvb_types.h;h=ceabb2743b5c5795ff29246b6f9ebf906d8fd46f;hb=9f688962eb90591205c511c1ae9bf752d276d1f5;hp=39b23d0ec8bb3b49409328b8fbcf13df9be81d93;hpb=ac592f78bbedc4808c5e35fb22bc8fc9f0398c8d;p=rocksndiamonds.git diff --git a/src/game_sp/vb_types.h b/src/game_sp/vb_types.h index 39b23d0e..ceabb274 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; @@ -214,7 +218,9 @@ typedef struct { int DestXOff; int DestYOff; + void *Surface; + void (*Cls)(); void (*Blt)(); void (*ScrollTo)(int, int); void (*ScrollTowards)(int, int, double); @@ -224,6 +230,12 @@ typedef struct typedef struct { + int DestXOff; + int DestYOff; + void *DestinationSurface; + void *Surface; + + void (*Cls)(); void (*BltEx)(int, int, int); } DDSpriteBuffer; @@ -279,4 +291,14 @@ typedef struct boolean Checked; } menBorderObject; +typedef struct +{ + boolean Checked; +} menPanelObject; + +typedef struct +{ + boolean Checked; +} menAutoScrollObject; + #endif /* VB_TYPES_H */