/* RunScript.h */ #ifndef __RUNSCRIPT__ #define __RUNSCRIPT__ #include "SubApp.h" #include "Directives.h" #include "Format.h" #include "ClockTime.h" // in RunScript.c void StartScript( void ); void ResumeScript( void ); void StopScript( void ); void CompileScript( void ); void UpdateSubLines( void ); void RunScriptIdle( void ); void RunScriptInit( void ); void RunScriptFinal( void ); extern Boolean compiled; extern Boolean subRunning; extern Boolean subStarted; extern SInt32 subShift; extern Boolean subShiftNeg; struct SubLine { struct SubLine * next; // pointer to next sub line SInt32 oStart; // offset to line in editor SInt32 oDirective; // offset to directive in editor SInt32 oText; // offset to title in editor SInt32 oEnd; // offset to CR in editor SInt32 tStart; // time to draw this title SInt32 tEnd; // time to remove this title Rect box; // bounding box of this title Ptr text; // copy of title text minus comments Ptr directive; // copy of directive Directive dir; // directives for this line UInt16 buf; // buffer number }; typedef struct SubLine SubLine; typedef SubLine *SubLinePtr; #endif /* __RUNSCRIPT__ */