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 void (*BltColorFill)(RECT, int);
110 } DirectDrawSurface7;
114 DirectDrawSurface7 (*CreateSurface)(DDSURFACEDESC2);
115 DirectDrawSurface7 (*CreateSurfaceFromFile)(char *, DDSURFACEDESC2);
116 void (*SetCooperativeLevel)(int, int);
117 DirectDrawClipper (*CreateClipper)(int);
118 void (*RestoreAllSurfaces)(void);
138 int (*GetStatus)(void);
144 void (*SetCooperativeLevel)(long, int);
145 DirectSoundBuffer (*CreateSoundBufferFromFile)(char *, DSBUFFERDESC, WAVEFORMATEX);
150 DirectDraw7 (*DirectDrawCreate)(char *);
151 DirectSound (*DirectSoundCreate)(char *);
152 void (*GetWindowRect)(long, RECT);
159 void (*RefreshMarker)(void);
164 void (*DelayMS)(long, boolean);
165 double (*TickDiffUS)(double);
172 void (*Refresh)(void);
185 void (*Line)(int, int, int, int, int, int);
190 MainForm_lblCount lblInfoCount;
191 MainForm_lblCount lblRedDiskCount;
192 void (*DisplayLevel)(void);
193 void (*DrawField)(int, int);
194 MainForm_men menGravOn;
195 MainForm_men menZonkOn;
196 MainForm_men menEnOn;
197 MainForm_men menGravOff;
198 MainForm_men menZonkOff;
199 MainForm_men menEnOff;
200 MainForm_men menRemSP;
203 boolean PanelVisible;
204 void (*ShowKey)(int);
205 void (*SaveSnapshot)(int);
206 void (*menStop_Click)(void);
207 MainForm_picPane picPane;
209 void (*SetDisplayRegion)(void);
218 void (*ScrollTo)(int, int);
219 void (*ScrollTowards)(int, int, double);
220 void (*SoftScrollTo)(int, int, long, int);
226 void (*BltEx)(int, int, int);
231 void (*CreateAtSize)(long, long, long);
232 void (*Let_Palette)(long, long);
233 void (*Let_ColorIndex)(long, long, long);
236 struct DemoBufferObject
240 void (*SetSubBuffer)(struct DemoBufferObject *);
241 void (*AddDemoKey)(int);
242 boolean (*Serialize)(FILE *);
244 typedef struct DemoBufferObject DemoBufferObject;
248 int (*Read)(char *ValName, int Default);
249 void (*Save)(char *ValName, int Val);
265 void (*Move)(int, int, int);
274 } lblFrameCountObject;
281 #endif /* VB_TYPES_H */