Bink SDK 1.5v |
Bink strives to be as cross-platform as possible. To this end, Bink uses a set of basic types that are configured for each platform to ensure consistency in the API. These basic types include simple integer types, float types, and more. In general, it is best if an application uses Bink's types internally in places where it interfaces to Bink, as this ensures that porting the application to other Bink platforms will be quick and easy.
Basic Types | |
---|---|
S8 | describes a signed 8-bit integer. |
U8 | describes an unsigned 8-bit integer. |
S16 | describes a signed 16-bit integer. |
U16 | describes an unsigned 16-bit integer. |
S64 | describes a signed 64-bit integer. |
U64 | describes an unsigned 64-bit integer. |
S32 | describes a signed 32-bit integer. |
U32 | describes an unsigned 32-bit integer. |
s32_ptr | describes a pointer to a signed 32-bit integer. |
u32_ptr | describes a pointer to an unsigned 32-bit integer. |
F32 | describes a standard 32-bit floating-point number. |
F64 | describes a standard 64-bit double-precision floating-point number. |
void | describes a standard C/C++ void return type. |
NULL | describes a standard C/C++ NULL pointer. |
OS_WND | describes a standard HWND window handle on Win32, or a standard WindowPtr under MacOS. |
HCURSOR | describes a standard Win32 HCURSOR cursor handle. |
LPDIRECTSOUND | describes a pointer to a DirectSound object. |
LPDIRECTDRAW | describes a pointer to a DirectDraw object. |
LPDIRECTDRAWSURFACE | describes a pointer to a DirectDraw surface object. |
LPDIRECT3DSURFACE8 | describes a pointer to a DirectX 8 Direct3D surface object. |
FSSpec_PTR | describes a pointer to a MacOS filespec. |
GDHandle | describes a standard MacOS Graphics Device pointer. |
VOID_PTR | describes a standard C/C++ untyped memory pointer. |
BINK_STRING | describes a normal zero-terminated C-style string. |
HBINK | is a handle to an opened Bink file. |
HBINKTRACK | is a handle to an opened Bink audio track. |
HBINKBUFFER | is a handle to an opened BinkBuffer. |
BINKRECT | is a structure describing a rectangular area. |
BINKRECT_ARRAY | is an array of structures describing rectangular areas. |
For technical support, e-mail Bink1@radgametools.com
© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.