{-------------------------------------------------------------------------------
BINK 1.0q LIBRARY HEADER FOR DELPHI
- By Lars Peter Christiansen.
http://home1.stofanet.dk/nitezhifter
PLEASE READ THIS :
"Bink" is a video library from
RAD Tools. You have to be licensed in order
to use bink commercially.
Visit RADTools for legal info :
www.smacker.com
This file is a hack !
Alot of record fields are still incomplete.
Not all functions exists!
I don't have the Bink
SDK, and regardless of hours of search on the net, i
haven't found any info/extracts of the
SDK. All i had to go on, was the tiny
info on RADTools website. Here is a list of approaches i used :
- Reading any written info of the Bink (
sdk overview, changelogs)
- Reading any info of the Smacker (they might have things in common)
- Disassembling of the Binkw32.dll (names, parameters)
- Disassembling and debugging of games using the lib. ( Diablo2 )
- Creating various testing programs.(automating bitflags and stuff)
Binkw32.dll versions:
There are difference in function names and existence between the different
library versions. They are not always backwards-compatible!
DON'T RELEASE ANYTHING USING THIS FILE BEFORE YOU'VE READ AND UNDERSTOOD
THE LEGAL INFO AT
www.smacker.com !
02-08-2000:
First version of the binkw32.pas.
We can open and display a binkfile. Can't get the audio to work though!
22-10-2001:
Did some research of the different versions of binkw32.dll. Seems that i've
been working on some beta version, which caused the switch of colors on
movies compiled at later dates. Movies play nicely now and works great with
a standard windows bitmap.
23-10-2001:
After some heavy analysis, the surfacetype constants fell into place. Still
not sure about 8bit. Is it supported at all?
After some _serious_ disassembling of Diablo2 and Red alert2 i finally solved
the great puzzle of the sound system. Those callbacks really bugged me.
Still can't create a custom sound system.
24-10-2001:
After a bit RedAlert2 debugging, support for playing off a stream
with offset has beed added.
Added a GetBinkVersion() function.
-------------------------------------------------------------------------------}