home *** CD-ROM | disk | FTP | other *** search
-
- s32 Wait( f32 Time )
- {
- f32 CurrentTime;
- CurrentTime = 0.0;
-
- while( CurrentTime < Time )
- {
- f32 dt;
- dt = GetDT();
- CurrentTime = CurrentTime + dt;
- WaitTrame();
- }
-
- return 1;
- }
-
-
- s32 CamWaitTransition()
- {
- s32 TransitionDone;
- TransitionDone = 0;
-
- while( TransitionDone == 0 )
- {
- TransitionDone = CamTransitionDone();
- WaitTrame();
- }
-
- return 1;
- }
-
- s32 CamWaitRotation()
- {
- s32 RotationDone;
- RotationDone = 0;
-
- while( RotationDone == 0 )
- {
- RotationDone = CamRotationDone();
- WaitTrame();
- }
-
- return 1;
- }
-
- s32 CamWaitMovement( s32 WPID )
- {
- s32 MovementDone;
- MovementDone = 0;
-
- while( MovementDone == 0 )
- {
- MovementDone = CamMovementDone( WPID );
- WaitTrame();
- }
-
- return 1;
- }
-
- s32 CamWaitStep()
- {
- s32 StepDone;
- StepDone = 0;
-
- while( StepDone == 0 )
- {
- StepDone = CamStepDone();
- WaitTrame();
- }
-
- return 1;
- }
-