/usr/share/stellarium/scripts/landscapes.ssc is in stellarium-data 0.14.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | //
// Name: Landscape Tour
// License: Public Domain
// Author: Matthew Gates
// Description: Look around each installed landscape.
//
alt = 0;
LabelMgr.deleteAllLabels();
core.clear("natural");
core.setDate("2008:11:05T12:00:00", "local");
core.setTimeRate(1);
core.moveToAltAzi(alt, 0, 3);
StelMovementMgr.zoomTo(60, 3);
core.wait(3);
allIDs = LandscapeMgr.getAllLandscapeIDs();
for(i=0; i<allIDs.length; i++)
{
id = allIDs[i];
name = LandscapeMgr.setCurrentLandscapeID(id);
core.wait(2);
name = LandscapeMgr.getCurrentLandscapeName();
if (name == "Mars" || name == "Moon")
{
LandscapeMgr.setFlagAtmosphere(false);
}
else
{
LandscapeMgr.setFlagAtmosphere(true);
}
core.wait(1);
lab = LabelMgr.labelScreen(name, 100, 100, false, 25, "#ff2200");
LabelMgr.setLabelShow(lab, true);
core.wait(2);
for(azi=90; azi<=360; azi+=90)
{
core.moveToAltAzi(alt, azi, 3);
core.wait(4);
LabelMgr.setLabelShow(lab, false);
}
LabelMgr.deleteLabel(lab);
}
|