datafile
number of actors
dialog filename
number of commands

commands


COMMAND FORMAT:

				PARAMETERS
command_name	p1	p2	p3	p4

COMMANDS:

Cinematic Settings
disallowskip 	disallows the hitting of the enter key from skipping a dialog box
allowskip	allows the hitting of the enter ket to skip a dialog box (default)
moveduringcin 	allows the game logic to move normally duing a cinematic
nomooveduingcin disallows the game logic from moving normally duing a cinematic (defualt)

Text Box Commands
tb_setbgc	sets the background colour of textbox p1 to (p2,p3,p4)	(255,0,255) is clear (default)
tb_settextc	sets the text colour of textbox p1
tb_setwh	sets the width and height of textbox p1 to p2 and p3
tb_move	moves textbox p1 instantly to (p2,p3)
tb_setdialog sets the dialog number of textbox p1 to p2 (-1 means no dialog)
tb_show	makes textbox p1 visible
tb_hide	makes textbox p1 invisible
tb_settextoffset	sets the offset from the top left corner of the textbox for the text
tb_moveto	move textbox p1 to (p2,p3) over the next p4 frames
tb_setpic	sets the picture to display in the top left corner of the textbox (-1 means no pic)

Actor Commands
setpic	sets the picture for actor p1 to picture p2 from the datafile (MUST BE SET BEFORE ACTOR IS DRAWN)
move		instantly moves actor p1 to (p2,p3)
flip		flips actor p1 horizontally
show		makes actor p1 visible
hide		makes actor p1 invisible
moveto	moves actor p1 to (p2,p3) over the next p4 frames
scaleto	changes actor p1's scale to p2 over the next p3 frames

Audio Commands
playsound	plays the sound p1 from the datafile (it performs no error checking, so make sure you specify a valid sound)

Control Commands
wait		no more commands will be read in for the next p1 frames, but text will still write
waitdlength	waits for the length of the dialog specified by p1
notextwait	no more commands will be read in for the next p1 frames, but text will not still write
setbgc	sets the screen's background colour
endcin	signals the end of the cinematic
rungame	runs the game with player control disabled for p1 frames
getkey	waits for the ENTER key to be pressed before the cinematic will continue

