[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flightgear-cvs
Subject:    [Flightgear-cvslogs] CVS: data/Aircraft/ufo new-ufo.nas,1.1,1.2
From:       Erik Hofman <ehofman () flightgear ! org>
Date:       2003-12-24 14:56:20
[Download RAW message or body]

Update of /var/cvs/FlightGear-0.9/data/Aircraft/ufo
In directory baron:/tmp/cvs-serv10621

Modified Files:
	new-ufo.nas 
Log Message:
Some small updates to the engine animation code

Index: new-ufo.nas
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/ufo/new-ufo.nas,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** new-ufo.nas	24 Dec 2003 14:43:03 -0000	1.1
--- new-ufo.nas	24 Dec 2003 14:56:17 -0000	1.2
***************
*** 3,9 ****
  walkSanta = func {
  
! #    if ( prop.getValue() < 1.0) { interpolate("/tmp/walk", 0, 1); }
! #    else {
          time = 1-prop.getValue()/8000;
          interpolate("/tmp/walk",
                      -0.5, time/2,
--- 3,13 ----
  walkSanta = func {
  
!     if ( prop.getValue() < 1.0) {
!         interpolate("/tmp/walk", 0, 1);
! 	settimer(walkSanta, 0.5);
!     } else {
          time = 1-prop.getValue()/8000;
+ 	# When we're done, start it again:
+ 	settimer(walkSanta, 3*time);
          interpolate("/tmp/walk",
                      -0.5, time/2,
***************
*** 11,19 ****
                       0.5, time, -0.5, time,
                       0.0, time/2);
! #    }
!     # When we're done, start it again:
!     settimer(walkSanta, 5*time);
  }
  
  settimer(walkSanta, 0);
- print("Done initializing Santa walk");
--- 15,20 ----
                       0.5, time, -0.5, time,
                       0.0, time/2);
!     }
  }
  
  settimer(walkSanta, 0);


_______________________________________________
Flightgear-cvslogs mailing list
Flightgear-cvslogs@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-cvslogs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic