lunar_total.ssc   lunar_total.ssc 
skipping to change at line 12 skipping to change at line 12
// Name: Total Lunar Eclispe // Name: Total Lunar Eclispe
// License: Public Domain // License: Public Domain
// Author: Matthew Gates // Author: Matthew Gates
// Description: Attempt to re-implement simple script from the old // Description: Attempt to re-implement simple script from the old
// scripting engine. Each old style command is shown // scripting engine. Each old style command is shown
// first as a command with OLD: at the start of the line // first as a command with OLD: at the start of the line
// to help users of the old scripting engine learn how // to help users of the old scripting engine learn how
// to use the new one. // to use the new one.
// //
core.debug("Starting Total Lunar Eclispe script");
core.wait(1); core.wait(1);
core.debug("OK, let's go...");
// OLD: clear
core.clear("natural"); core.clear("natural");
LandscapeMgr.setFlagLandscape(false); LandscapeMgr.setFlagLandscape(false);
LandscapeMgr.setFlagAtmosphere(false); LandscapeMgr.setFlagAtmosphere(false);
LandscapeMgr.setFlagFog(false); LandscapeMgr.setFlagFog(false);
core.wait(1); core.wait(1);
// OLD: date utc 2004:05:04T17:51:00
core.setDate("2004:05:04T17:51:00"); core.setDate("2004:05:04T17:51:00");
// OLD: select planet Moon pointer off
core.selectObjectByName("Moon", false); core.selectObjectByName("Moon", false);
StelMovementMgr.setFlagTracking(true); StelMovementMgr.setFlagTracking(true);
// OLD: wait duration 2
core.wait(2); core.wait(2);
// OLD: zoom auto in
StelMovementMgr.autoZoomIn(2); StelMovementMgr.autoZoomIn(2);
// OLD: wait duration 2
core.wait(2); core.wait(2);
// OLD: timerate rate 250
// .00001157407407407407 julian days = 1 second.
// we want 500 seconds per second.
// good candidate for aforementioned include system
// function although it's not so bad now we can do
// arithmetic in scripts :-)
core.setTimeRate(250); core.setTimeRate(250);
 End of changes. 9 change blocks. 
22 lines changed or deleted 0 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/