1 // ----------------------------------------------------------------------------
3 // ----------------------------------------------------------------------------
8 #include "../libgame/types.h"
12 typedef unsigned char boolean;
15 typedef double currency;
18 #if !defined(PLATFORM_WIN32)
19 typedef unsigned char byte;
48 void (*Assert)(boolean);
49 void (*Print)(char *);
55 void (*Raise)(int, char *, char *);
74 int (*ScaleX)(int, int, int);
75 int (*ScaleY)(int, int, int);
78 typedef vb_Generic_Device vb_Screen;
80 typedef vb_Generic_Device Form;
81 typedef vb_Generic_Device Picture;
82 typedef vb_Generic_Device IPicture;
83 typedef vb_Generic_Device Printer;
100 void (*SetHWnd)(long);
105 boolean (*isLost)(void);
106 void (*GetSurfaceDesc)(DDSURFACEDESC2);
107 void (*SetClipper)(DirectDrawClipper);
108 // long (*Blt)(RECT, DirectDrawSurface7, RECT, int);
109 long (*Blt)(RECT, void *, RECT, int);
110 void (*BltColorFill)(RECT, int);
111 } DirectDrawSurface7;
115 DirectDrawSurface7 (*CreateSurface)(DDSURFACEDESC2);
116 DirectDrawSurface7 (*CreateSurfaceFromFile)(char *, DDSURFACEDESC2);
117 void (*SetCooperativeLevel)(int, int);
118 DirectDrawClipper (*CreateClipper)(int);
119 void (*RestoreAllSurfaces)(void);
139 int (*GetStatus)(void);
145 void (*SetCooperativeLevel)(long, int);
146 DirectSoundBuffer (*CreateSoundBufferFromFile)(char *, DSBUFFERDESC, WAVEFORMATEX);
151 DirectDraw7 (*DirectDrawCreate)(char *);
152 DirectSound (*DirectSoundCreate)(char *);
153 void (*GetWindowRect)(long, RECT);
160 void (*RefreshMarker)(void);
165 void (*DelayMS)(long, boolean);
166 double (*TickDiffUS)(double);
173 void (*Refresh)(void);
186 void (*Line)(int, int, int, int, int, int);
191 MainForm_lblCount lblInfoCount;
192 MainForm_lblCount lblRedDiskCount;
193 void (*DisplayLevel)(void);
194 void (*DrawField)(int, int);
195 MainForm_men menGravOn;
196 MainForm_men menZonkOn;
197 MainForm_men menEnOn;
198 MainForm_men menGravOff;
199 MainForm_men menZonkOff;
200 MainForm_men menEnOff;
201 MainForm_men menRemSP;
204 boolean PanelVisible;
205 void (*ShowKey)(int);
206 void (*SaveSnapshot)(int);
207 void (*menStop_Click)(void);
208 MainForm_picPane picPane;
210 void (*SetDisplayRegion)(void);
219 void (*ScrollTo)(int, int);
220 void (*ScrollTowards)(int, int, double);
221 void (*SoftScrollTo)(int, int, long, int);
227 void (*BltEx)(int, int, int);
232 void (*CreateAtSize)(long, long, long);
233 void (*Let_Palette)(long, long);
234 void (*Let_ColorIndex)(long, long, long);
237 struct DemoBufferObject
241 void (*SetSubBuffer)(struct DemoBufferObject *);
242 void (*AddDemoKey)(int);
243 boolean (*Serialize)(FILE *);
245 typedef struct DemoBufferObject DemoBufferObject;
249 int (*Read)(char *ValName, int Default);
250 void (*Save)(char *ValName, int Val);
266 void (*Move)(int, int, int);
275 } lblFrameCountObject;
282 #endif /* VB_TYPES_H */