Microsoft-3D-Movie-Maker/SRC/STUDIO/TBPROJ4.CHT

941 lines
61 KiB
Plaintext

/* Copyright (c) Microsoft Corporation.
Licensed under the MIT License. */
///////////////////////////////////////////////////////////////
// Project4 table information
///////////////////////////////////////////////////////////////
//WAVE_CHUNK ("studio\sound\xxx.WAV", kwav4Project00)
GOBCHUNK("Project4 01 initializer", kid4Project01, kgokkNormal)
DEFAULT_POSITION( 0, 0, 0)
ENDCHUNK
CREATE_ANIM("Project4 01 setup")
// Init the table, then fill it up the project
INITIALIZE_TABLE()
// inst return ID0 next st ID1 ID2
// ---- ------ --- ---- -- --- ---
//1
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, OpenAllDoors, NotRel)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project00)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 2, cidClicked, kidGadgetPlay)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetPlay)
PROJECT_TABLE(MatchGoto, fFalse, 0, 5, cidClicked, kidGadgetHow)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetHow)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidClicked, NotRel)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//2
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrGadgetAviStop, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 3, cidGadgetAviStop, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 5, cidClicked, kidGadgetHow)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetHow)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidClicked, NotRel)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//3
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project01)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 5, cidClicked, kidGadgetHow)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetHow)
PROJECT_TABLE(MatchGoto, fFalse, 0, 4, cidClicked, kidGadgetWhy)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetWhy)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidClicked, NotRel)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//4
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project09)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetWhy)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 3, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//5
PROJECT_TABLE(InitState, NotRel, ParState3, NotRel, kFltrMovieLoaded, NoHelpHere)
PROJECT_TABLE(SpecialInstr, fTrue, NotRel, NotRel, LoadProjectMovie, stidMovie6)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 2, 6, cidProjectMovieLoaded, fTrue)
PROJECT_TABLE(MatchGoto, fFalse, 2, 22, cidProjectMovieLoaded, fFalse)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//6
PROJECT_TABLE(SpecialInstr, fTrue, NotRel, NotRel, OpenDoorCovers, kidActorsCover)
PROJECT_TABLE(SpecialInstr, fTrue, Proj6Scene, NotRel, SetSceneAndFrame, Proj6Frame)
PROJECT_TABLE(InitState, NotRel, ParState3, NotRel, kFltrMouseBoth, ktpc4Project03)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 1, 7, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//7
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, SetBrowserItem, Prj4Action1)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project0A)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 8, cidClicked, kidActorsActionBrowser)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidActorsActionBrowser)
PROJECT_TABLE(MatchGoto, fTrue, 0, 19, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 20, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//8
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrActorClicked, ktpc4Project0B)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 9, cidActorClicked, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, NotRel, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(MatchGoto, fTrue, 0, 19, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 20, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//9
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouse|kFltrBrwVisible, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 10, cidBrowserVisible, NotRel)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//10
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouse|kFltrBrwSelect, ktpc4Project0C)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, 0, 11, cidBrowserSelect, NotRel)
PROJECT_TABLE(IgnoreParentMatch, fFalse, 0, NotRel, cidMouseDown, kidReserveProjects)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 20, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//11
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouse|kFltrBrwOk, ktpc4Project20)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidBrowserOk)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 12, cidBrowserOk, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 20, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//12
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project0F)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 13, cidClicked, kidActorsXY)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidActorsXY)
PROJECT_TABLE(MatchGoto, fTrue, 0, 19, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 20, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//13
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrActorClicked, ktpc4Project11)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 14, cidActorClicked, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, NotRel, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(MatchGoto, fTrue, 0, 19, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 20, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//14
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrActorClicked, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 15, cidClicked, kidPlay)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidPlay)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidActorClicked, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, NotRel, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(MatchGoto, fTrue, 0, 19, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 20, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//15
PROJECT_TABLE(StateCondGoto, NotRel, NotRel, 16, kidPlay, kstDefault)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrMoviePlaying, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 2, 16, cidMviePlaying, fFalse)
PROJECT_TABLE(IgnoreMatch, fFalse, 2, NotRel, cidMviePlaying, fTrue)
PROJECT_TABLE(MatchGoto, fTrue, 0, 19, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 20, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//16
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project12)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 17, cidClicked, kidFrameFW)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidFrameFW)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kidFrameBackground)
PROJECT_TABLE(MatchGoto, fTrue, 0, 19, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 20, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//17
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, SetHelpAlarm, 90)
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, SetBlinkingGadget, NotRel)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrAlarmOff, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kidFrameBackground)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidClicked, kidGadget)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadget)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 18, cidHelpAlarmOff, NotRel)
PROJECT_TABLE(MatchGoto, fTrue, 0, 19, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 20, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//18
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project07)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kidFrameBackground)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidClicked, kidGadget)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadget)
PROJECT_TABLE(MatchGoto, fTrue, 0, 19, , cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 20, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Exit
//19
PROJECT_TABLE(InitState, NotRel, ParState3, NotRel, kFltrMouseBoth, ktpcExitHelp)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 1, 23, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 2, 21, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 3, PrevState, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Deviate
//20
PROJECT_TABLE(InitState, NotRel, ParState3, NotRel, kFltrMouseBoth, ktpcDeviation)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 1, 22, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 2, 23, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 3, 21, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 4, PrevState, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(QuitMM)
//21
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, QuitMM, NotRel)
PROJECT_TABLE(JumpToState, NotRel, fTrue, PrevState, NotRel, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(QuitGadgetHelp)
//22
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, QuitGadgetHelp, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(Projects Room)
//23
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, ProjectsRoom, NotRel)
PROJECT_TABLE(JumpToState, NotRel, fTrue, PrevState, NotRel, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// *End of the table*
PROJECT_TABLE(EndTable,0,0,0,0,0) // End of File
// Calculate states, build our NextState jump table, then run this thingy
RunScriptGob(kidSequenceParent, kchidScript5);
RunScriptGob(kidSequenceParent, kchidScript2);
RunScriptGob(kidSequenceParent, kchidScript1);
DestroyThis();
ENDCHUNK
// Second sequence for project 4
GOBCHUNK("Project4 02 initializer", kid4Project02, kgokkNormal)
DEFAULT_POSITION( 0, 0, 0)
ENDCHUNK
CREATE_ANIM("Project4 02 setup")
// Init the table, then fill it up the project
INITIALIZE_TABLE()
//1
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project14)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 3, cidClicked, kidGadgetHow)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetHow)
PROJECT_TABLE(MatchGoto, fFalse, 0, 2, cidClicked, kidGadgetWhy)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetWhy)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidClicked, NotRel)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//2
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project15)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetWhy)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 1, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//3
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, SetBrowserItem, Prj4Prop1)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project16)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 4, cidClicked, kidActorsPropBrowser)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidActorsPropBrowser)
PROJECT_TABLE(MatchGoto, fTrue, 0, 11, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 12, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//4
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouse|kFltrBrwVisible, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 5, cidBrowserVisible, NotRel)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//5
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouse|kFltrBrwOk, ktpc4Project17)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreParentMatch, fFalse, 0, NotRel, cidMouseDown, kidReserveProjects)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 6, cidBrowserOk, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 12, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//6
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrActorIn|kFltrActorOut, ktpc4Project18)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 7, cidActorPlaced, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 3, cidActorPlacedOutOfView, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//7
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project19)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 8, cidClicked, kidActorsXY)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidActorsXY)
PROJECT_TABLE(MatchGoto, fTrue, 0, 11, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 12, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//8
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrActorClicked, ktpc4Project1A)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 9, cidActorClicked, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, NotRel, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(MatchGoto, fTrue, 0, 11, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 12, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//9
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, SetHelpAlarm, 90)
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, SetBlinkingGadget, NotRel)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrAlarmOff, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidClicked, kidGadget)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadget)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 10, cidHelpAlarmOff, NotRel)
PROJECT_TABLE(MatchGoto, fTrue, 0, 11, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 12, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//10
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project07)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kidFrameBackground)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidClicked, kidGadget)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadget)
PROJECT_TABLE(MatchGoto, fTrue, 0, 11, , cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 12, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Exit
//11
PROJECT_TABLE(InitState, NotRel, ParState3, NotRel, kFltrMouseBoth, ktpcExitHelp)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 1, 15, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 2, 13, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 3, PrevState, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Deviate
//12
PROJECT_TABLE(InitState, NotRel, ParState3, NotRel, kFltrMouseBoth, ktpcDeviation)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 1, 14, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 2, 15, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 3, 13, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 4, PrevState, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(QuitMM)
//13
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, QuitMM, NotRel)
PROJECT_TABLE(JumpToState, NotRel, fTrue, PrevState, NotRel, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(QuitGadgetHelp)
//14
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, QuitGadgetHelp, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(Projects Room)
//15
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, ProjectsRoom, NotRel)
PROJECT_TABLE(JumpToState, NotRel, fTrue, PrevState, NotRel, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// *End of the table*
PROJECT_TABLE(EndTable,0,0,0,0,0) // End of File
// Calculate states, build our NextState jump table, then run this thingy
RunScriptGob(kidSequenceParent, kchidScript5);
RunScriptGob(kidSequenceParent, kchidScript2);
RunScriptGob(kidSequenceParent, kchidScript1);
DestroyThis();
ENDCHUNK
// Third sequence for project 4
GOBCHUNK("Project4 03 initializer", kid4Project03, kgokkNormal)
DEFAULT_POSITION( 0, 0, 0)
ENDCHUNK
CREATE_ANIM("Project4 03 setup")
// Init the table, then fill it up the project
INITIALIZE_TABLE()
//1
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project1B)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 3, cidClicked, kidGadgetHow)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetHow)
PROJECT_TABLE(MatchGoto, fFalse, 0, 2, cidClicked, kidGadgetWhy)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetWhy)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidClicked, NotRel)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//2
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project1C)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetWhy)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 1, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//3
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, SetBrowserItem, Prj4Action2)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project1D)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 4, cidClicked, kidActorsActionBrowser)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidActorsActionBrowser)
PROJECT_TABLE(MatchGoto, fTrue, 0, 14, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 15, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//4
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrActorClicked, ktpc4Project1E)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 5, cidActorClicked, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, NotRel, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(MatchGoto, fTrue, 0, 14, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 15, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//5
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouse|kFltrBrwVisible, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 6, cidBrowserVisible, NotRel)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//6
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouse|kFltrBrwSelect, ktpc4Project1F)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, 0, 7, cidBrowserSelect, NotRel)
PROJECT_TABLE(IgnoreParentMatch, fFalse, 0, NotRel, cidMouseDown, kidReserveProjects)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 15, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//7
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouse|kFltrBrwOk, ktpc4Project20)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidBrowserOk)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 8, cidBrowserOk, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 15, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//8
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrActorClicked, ktpc4Project21)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 9, cidActorClicked, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, NotRel, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(MatchGoto, fTrue, 0, 14, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 15, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//9
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrActorClicked, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 10, cidClicked, kidPlay)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidPlay)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidActorClicked, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, NotRel, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(MatchGoto, fTrue, 0, 14, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 15, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//10
PROJECT_TABLE(StateCondGoto, NotRel, NotRel, 11, kidPlay, kstDefault)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrMoviePlaying, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 2, 11, cidMviePlaying, fFalse)
PROJECT_TABLE(IgnoreMatch, fFalse, 2, NotRel, cidMviePlaying, fTrue)
PROJECT_TABLE(MatchGoto, fTrue, 0, 14, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 15, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//11
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project22)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 12, cidClicked, kidFrameRW)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidFrameRW)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kidFrameBackground)
PROJECT_TABLE(MatchGoto, fTrue, 0, 14, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 15, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//12
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, SetHelpAlarm, 90)
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, SetBlinkingGadget, NotRel)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrAlarmOff, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kidFrameBackground)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidClicked, kidGadget)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadget)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 13, cidHelpAlarmOff, NotRel)
PROJECT_TABLE(MatchGoto, fTrue, 0, 14, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 15, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//13
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project07)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kidFrameBackground)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidClicked, kidGadget)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadget)
PROJECT_TABLE(MatchGoto, fTrue, 0, 14, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 15, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Exit
//14
PROJECT_TABLE(InitState, NotRel, ParState3, NotRel, kFltrMouseBoth, ktpcExitHelp)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 1, 18, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 2, 16, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 3, PrevState, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Deviate
//15
PROJECT_TABLE(InitState, NotRel, ParState3, NotRel, kFltrMouseBoth, ktpcDeviation)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 1, 17, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 2, 18, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 3, 16, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 4, PrevState, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(QuitMM)
//16
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, QuitMM, NotRel)
PROJECT_TABLE(JumpToState, NotRel, fTrue, PrevState, NotRel, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(QuitGadgetHelp)
//17
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, QuitGadgetHelp, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(Projects Room)
//18
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, ProjectsRoom, NotRel)
PROJECT_TABLE(JumpToState, NotRel, fTrue, PrevState, NotRel, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// *End of the table*
PROJECT_TABLE(EndTable,0,0,0,0,0) // End of File
// Calculate states, build our NextState jump table, then run this thingy
RunScriptGob(kidSequenceParent, kchidScript5);
RunScriptGob(kidSequenceParent, kchidScript2);
RunScriptGob(kidSequenceParent, kchidScript1);
DestroyThis();
ENDCHUNK
// Fourth sequence for project 4
GOBCHUNK("Project4 04 initializer", kid4Project04, kgokkNormal)
DEFAULT_POSITION( 0, 0, 0)
ENDCHUNK
CREATE_ANIM("Project4 04 setup")
// Init the table, then fill it up the project
INITIALIZE_TABLE()
//1
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project2C)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 3, cidClicked, kidGadgetHow)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetHow)
PROJECT_TABLE(MatchGoto, fFalse, 0, 2, cidClicked, kidGadgetWhy)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetWhy)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidClicked, NotRel)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//2
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project2D)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadgetWhy)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 1, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//3
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project27)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchDescGoto, fFalse, 0, 4, cidClicked, kidRollCallActorBorder1)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kidRollCallActorBorder1)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//4
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrActorIn|kFltrActorOut|kFltrActorClicked, ktpc4Project29)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 5, cidActorPlaced, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 3, cidActorPlacedOutOfView, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, NotRel, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 5, cidActorClicked, NotRel)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//5
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, SetBrowserItem, Prj4Action3)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project2E)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 6, cidClicked, kidActorsActionBrowser)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidActorsActionBrowser)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//6
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrActorClicked, ktpc4Project0B)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 7, cidActorClicked, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, NotRel, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//7
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouse|kFltrBrwVisible, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 8, cidBrowserVisible, NotRel)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//8
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouse|kFltrBrwSelect, ktpc4Project30)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, 0, 9, cidBrowserSelect, NotRel)
PROJECT_TABLE(IgnoreParentMatch, fFalse, 0, NotRel, cidMouseDown, kidReserveProjects)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//9
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouse|kFltrBrwOk, ktpc4Project20)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidBrowserOk)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 10, cidBrowserOk, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//10
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project31)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 11, cidClicked, kidCutCopyPaste)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidCutCopyPaste)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//11
PROJECT_TABLE(SpecialInstr, fTrue, NotRel, NotRel, SimulateClick, kidCutCopyPaste)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project32)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 12, cidClicked, kidCCPCopyRoute)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidCCPCopyRoute)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//12
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrActorClicked, ktpc4Project1E)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 13, cidActorClicked, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, NotRel, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//13
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project33)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 14, cidClicked, kidCutCopyPaste)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidCutCopyPaste)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//14
PROJECT_TABLE(SpecialInstr, fTrue, NotRel, NotRel, SimulateClick, kidCutCopyPaste)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project34)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 15, cidClicked, kidCCPPaste)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidCCPPaste)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//15
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project3E)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchDescGoto, fFalse, 0, 16, cidClicked, kidRollCallActorBorder1)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kidRollCallActorBorder1)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//16
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrActorClicked, ktpc4Project3F)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 17, cidActorClicked, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, NotRel, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//17
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project35)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 18, cidClicked, kidActorsXY)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidActorsXY)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//18
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrActorClicked, ktpc4Project37)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 19, cidActorClicked, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, NotRel, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//19
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrActorClicked, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 20, cidClicked, kidPlay)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidPlay)
PROJECT_TABLE(IgnoreAll, fFalse, NotRel, NotRel, cidActorClicked, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, NotRel, NotRel, cidMouseDown, kidWorkspace)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//20
PROJECT_TABLE(StateCondGoto, NotRel, NotRel, 21, kidPlay, kstDefault)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrMoviePlaying, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 2, 21, cidMviePlaying, fFalse)
PROJECT_TABLE(IgnoreMatch, fFalse, 2, NotRel, cidMviePlaying, fTrue)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//21
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project39)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 0, 22, cidClicked, kidPlay)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidPlay)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//22
PROJECT_TABLE(StateCondGoto, NotRel, NotRel, 23, kidPlay, kstDefault)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrMoviePlaying, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchGoto, fFalse, 2, 23, cidMviePlaying, fFalse)
PROJECT_TABLE(IgnoreMatch, fFalse, 2, NotRel, cidMviePlaying, fTrue)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//23
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, SetHelpAlarm, 90)
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, SetBlinkingGadget, NotRel)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth|kFltrAlarmOff, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kidFrameBackground)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidClicked, kidGadget)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadget)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 24, cidHelpAlarmOff, NotRel)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
//24
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouseBoth, ktpc4Project07)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kidFrameBackground)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidClicked, kidGadget)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidGadget)
PROJECT_TABLE(MatchGoto, fTrue, 0, 25, cidClicked, kidExit)
PROJECT_TABLE(IgnoreMatch, fFalse, 0, NotRel, cidMouseDown, kidExit)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(MatchAllGoto, fTrue, NotRel, 26, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Exit
//25
PROJECT_TABLE(InitState, NotRel, ParState3, NotRel, kFltrMouseBoth, ktpcExitHelp)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 1, 29, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 2, 27, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 3, PrevState, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Deviate
//26
PROJECT_TABLE(InitState, NotRel, ParState3, NotRel, kFltrMouseBoth, ktpcDeviation)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 1, 28, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 2, 29, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 3, 27, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 4, PrevState, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(QuitMM)
//27
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, QuitMM, NotRel)
PROJECT_TABLE(JumpToState, NotRel, fTrue, PrevState, NotRel, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(QuitGadgetHelp)
//28
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, QuitGadgetHelp, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(Projects Room)
//29
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, ProjectsRoom, NotRel)
PROJECT_TABLE(JumpToState, NotRel, fTrue, PrevState, NotRel, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// *End of the table*
PROJECT_TABLE(EndTable,0,0,0,0,0) // End of File
// Calculate states, build our NextState jump table, then run this thingy
RunScriptGob(kidSequenceParent, kchidScript5);
RunScriptGob(kidSequenceParent, kchidScript2);
RunScriptGob(kidSequenceParent, kchidScript1);
DestroyThis();
ENDCHUNK
// Fifth sequence for project 4
GOBCHUNK("Project4 05 initializer", kid4Project05, kgokkNormal)
DEFAULT_POSITION( 0, 0, 0)
ENDCHUNK
CREATE_ANIM("Project4 05 setup")
// Init the table, then fill it up the project
INITIALIZE_TABLE()
//1
PROJECT_TABLE(SpecialInstr, fTrue, NotRel, NotRel, SetNextProject, 1)
PROJECT_TABLE(InitState, NotRel, ParState3, NotRel, kFltrMouseBoth, ktpc4Project3C)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 1, 3, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 2, 5, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 3, 4, cidClicked, kgobProject)
PROJECT_TABLE(MatchChildrenGoto, fFalse, 4, 2, cidClicked, kgobProject)
PROJECT_TABLE(IgnoreChildren, fFalse, 0, NotRel, cidMouseDown, kgobProject)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(QuitMM)
//2
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, QuitMM, NotRel)
PROJECT_TABLE(JumpToState, NotRel, fTrue, PrevState, NotRel, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(QuitGadgetHelp)
//3
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, QuitGadgetHelp, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(Projects Room)
//4
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, ProjectsRoom, NotRel)
PROJECT_TABLE(JumpToState, NotRel, fTrue, PrevState, NotRel, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Special(NextClip)
//5
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, ClearStudio, NotRel)
PROJECT_TABLE(InitState, NotRel, ParState2, NotRel, kFltrMouse|kFltrModalClosed|kFltrPortfolioResult, NoHelpHere)
PROJECT_TABLE(WaitEvent, NotRel, NotRel, NotRel, NotRel, NotRel)
PROJECT_TABLE(IgnoreMatch, fFalse, 2, NotRel, cidQuerySaveDocResult, 1)
PROJECT_TABLE(MatchGoto, fFalse, 2, 6, cidQuerySaveDocResult, 0)
PROJECT_TABLE(MatchGoto, fFalse, 2, 1, cidQuerySaveDocResult, 2)
PROJECT_TABLE(MatchGoto, fFalse, 2, 6, cidPortfolioResult, fTrue)
PROJECT_TABLE(MatchAllGoto, fFalse, NotRel, 1, cidPortfolioResult, NotRel)
PROJECT_TABLE(IgnoreAll, fTrue, NotRel, NotRel, cidMouseDown, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// Change movies
//6
PROJECT_TABLE(SpecialInstr, NotRel, fTrue, NotRel, ChangeToNextMovie, NotRel)
PROJECT_TABLE(EndState, NotRel, NotRel, NotRel, NotRel, NotRel)
// *End of the table*
PROJECT_TABLE(EndTable,0,0,0,0,0) // End of File
// Calculate states, build our NextState jump table, then run this thingy
RunScriptGob(kidSequenceParent, kchidScript5);
RunScriptGob(kidSequenceParent, kchidScript2);
RunScriptGob(kidSequenceParent, kchidScript1);
DestroyThis();
ENDCHUNK