X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Fvb_types.h;h=030e179e4f4c68c3d79b1ea00814f25f6442ed42;hb=18863a5655e9e07d548e2d673e7f82336703c8fb;hp=081568c25675c7d6d5e588cdc60fe54271f5cb97;hpb=6aaf28a58767bcc79a55cb3afbc8828fd4a16a6b;p=rocksndiamonds.git diff --git a/src/game_sp/vb_types.h b/src/game_sp/vb_types.h index 081568c2..030e179e 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; @@ -232,7 +236,8 @@ typedef struct void *Surface; void (*Cls)(); - void (*BltEx)(int, int, int); + // void (*BltEx)(int, int, int); + void (*BltImg)(int, int, int, int); } DDSpriteBuffer; typedef struct @@ -287,4 +292,14 @@ typedef struct boolean Checked; } menBorderObject; +typedef struct +{ + boolean Checked; +} menPanelObject; + +typedef struct +{ + boolean Checked; +} menAutoScrollObject; + #endif /* VB_TYPES_H */