projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20100303-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
vb_types.h
diff --git
a/src/game_sp/vb_types.h
b/src/game_sp/vb_types.h
index 02758feba9e9ae40446102028db80b33f7038915..030e179e4f4c68c3d79b1ea00814f25f6442ed42 100644
(file)
--- 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;
int top;
int right;
int bottom;
-} RECT;
+}
My
RECT;
#define HAS_RECT
#endif
#define HAS_RECT
#endif
@@
-105,8
+105,9
@@
typedef struct
boolean (*isLost)(void);
void (*GetSurfaceDesc)(DDSURFACEDESC2);
void (*SetClipper)(DirectDrawClipper);
boolean (*isLost)(void);
void (*GetSurfaceDesc)(DDSURFACEDESC2);
void (*SetClipper)(DirectDrawClipper);
- // long (*Blt)(RECT, DirectDrawSurface7, 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
} DirectDrawSurface7;
typedef struct
@@
-123,6
+124,8
@@
typedef struct
int lFlags;
} DSBUFFERDESC;
int lFlags;
} DSBUFFERDESC;
+#if 0
+
typedef struct
{
int nFormatTag;
typedef struct
{
int nFormatTag;
@@
-149,9
+152,11
@@
typedef struct
{
DirectDraw7 (*DirectDrawCreate)(char *);
DirectSound (*DirectSoundCreate)(char *);
{
DirectDraw7 (*DirectDrawCreate)(char *);
DirectSound (*DirectSoundCreate)(char *);
- void (*GetWindowRect)(long, RECT);
+ void (*GetWindowRect)(long,
My
RECT);
} DirectX7;
} DirectX7;
+#endif
+
typedef struct
{
int Left;
typedef struct
{
int Left;
@@
-163,7
+168,7
@@
typedef struct
{
void (*DelayMS)(long, boolean);
double (*TickDiffUS)(double);
{
void (*DelayMS)(long, boolean);
double (*TickDiffUS)(double);
- double
TickNow
;
+ double
(*TickNow)()
;
} TickCountObject;
typedef struct
} TickCountObject;
typedef struct
@@
-213,7
+218,9
@@
typedef struct
{
int DestXOff;
int DestYOff;
{
int DestXOff;
int DestYOff;
+ void *Surface;
+ void (*Cls)();
void (*Blt)();
void (*ScrollTo)(int, int);
void (*ScrollTowards)(int, int, double);
void (*Blt)();
void (*ScrollTo)(int, int);
void (*ScrollTowards)(int, int, double);
@@
-223,7
+230,14
@@
typedef struct
typedef struct
{
typedef struct
{
- void (*BltEx)(int, int, int);
+ int DestXOff;
+ int DestYOff;
+ void *DestinationSurface;
+ void *Surface;
+
+ void (*Cls)();
+ // void (*BltEx)(int, int, int);
+ void (*BltImg)(int, int, int, int);
} DDSpriteBuffer;
typedef struct
} DDSpriteBuffer;
typedef struct
@@
-278,4
+292,14
@@
typedef struct
boolean Checked;
} menBorderObject;
boolean Checked;
} menBorderObject;
+typedef struct
+{
+ boolean Checked;
+} menPanelObject;
+
+typedef struct
+{
+ boolean Checked;
+} menAutoScrollObject;
+
#endif /* VB_TYPES_H */
#endif /* VB_TYPES_H */