sky_cultures.ssc   sky_cultures.ssc 
// //
// Name: Sky Culture Tour // Name: Sky Culture Tour
// License: Public Domain // License: Public Domain
// Author: Matthew Gates // Author: Matthew Gates
// Description: Look round each installed landscape. // Description: Look at each installed sky culture.
// //
alt = 0; alt = 0;
LabelMgr.deleteAllLabels(); LabelMgr.deleteAllLabels();
core.setDate("2006:03:14T21:21:32"); core.setDate("2006:03:14T21:21:32");
core.clear("deepspace"); core.clear("deepspace");
core.moveToRaDec("17h 53m 0s", "66d 25m 0s"); core.moveToRaDec("17h 53m 0s", "66d 25m 0s");
StelMovementMgr.zoomTo(210, 5); StelMovementMgr.zoomTo(210, 5);
ConstellationMgr.setFlagBoundaries(true); ConstellationMgr.setFlagBoundaries(true);
ConstellationMgr.setFlagLabels(true); ConstellationMgr.setFlagLabels(true);
skipping to change at line 31 skipping to change at line 31
core.moveToAltAzi(alt, 0, 90); core.moveToAltAzi(alt, 0, 90);
StelMovementMgr.zoomTo(180, 3); StelMovementMgr.zoomTo(180, 3);
core.wait(3); core.wait(3);
allIDs = core.getAllSkyCultureIDs(); allIDs = core.getAllSkyCultureIDs();
for(i=0; i<allIDs.length; i++) for(i=0; i<allIDs.length; i++)
{ {
id = allIDs[i]; id = allIDs[i];
core.debug("setting sky culture: " + id); core.debug("setting sky culture: " + id);
core.setSkyCulture(id); core.setSkyCulture(id);
core.wait(2); core.wait(2);
lab = LabelMgr.labelScreen(id, 100, 100, false, 25, "#ff2200"); name = core.getSkyCultureName();
lab = LabelMgr.labelScreen(name, 100, 100, false, 25, "#ff2200");
LabelMgr.setLabelShow(lab, true); LabelMgr.setLabelShow(lab, true);
core.wait(2); core.wait(2);
LabelMgr.deleteLabel(lab); LabelMgr.deleteLabel(lab);
} }
LabelMgr.deleteAllLabels(); LabelMgr.deleteAllLabels();
 End of changes. 2 change blocks. 
2 lines changed or deleted 3 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/