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)(MyRECT, DirectDrawSurface7, MyRECT, int);
109 long (*Blt)(MyRECT, void *, MyRECT, int);
110 void (*BltColorFill)(MyRECT, 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);
141 int (*GetStatus)(void);
147 void (*SetCooperativeLevel)(long, int);
148 DirectSoundBuffer (*CreateSoundBufferFromFile)(char *, DSBUFFERDESC, WAVEFORMATEX);
153 DirectDraw7 (*DirectDrawCreate)(char *);
154 DirectSound (*DirectSoundCreate)(char *);
155 void (*GetWindowRect)(long, MyRECT);
164 void (*RefreshMarker)(void);
169 void (*DelayMS)(long, boolean);
170 double (*TickDiffUS)(double);
177 void (*Refresh)(void);
190 void (*Line)(int, int, int, int, int, int);
195 MainForm_lblCount lblInfoCount;
196 MainForm_lblCount lblRedDiskCount;
197 void (*DisplayLevel)(void);
198 void (*DrawField)(int, int);
199 MainForm_men menGravOn;
200 MainForm_men menZonkOn;
201 MainForm_men menEnOn;
202 MainForm_men menGravOff;
203 MainForm_men menZonkOff;
204 MainForm_men menEnOff;
205 MainForm_men menRemSP;
208 boolean PanelVisible;
209 void (*ShowKey)(int);
210 void (*SaveSnapshot)(int);
211 void (*menStop_Click)(void);
212 MainForm_picPane picPane;
214 void (*SetDisplayRegion)(void);
225 void (*ScrollTo)(int, int);
226 void (*ScrollTowards)(int, int, double);
227 void (*SoftScrollTo)(int, int, long, int);
235 void *DestinationSurface;
239 void (*BltEx)(int, int, int);
244 void (*CreateAtSize)(long, long, long);
245 void (*Let_Palette)(long, long);
246 void (*Let_ColorIndex)(long, long, long);
249 struct DemoBufferObject
253 void (*SetSubBuffer)(struct DemoBufferObject *);
254 void (*AddDemoKey)(int);
255 boolean (*Serialize)(FILE *);
257 typedef struct DemoBufferObject DemoBufferObject;
261 int (*Read)(char *ValName, int Default);
262 void (*Save)(char *ValName, int Val);
278 void (*Move)(int, int, int);
287 } lblFrameCountObject;
302 } menAutoScrollObject;
304 #endif /* VB_TYPES_H */