StratoscriptPreprocessor.cpp   StratoscriptPreprocessor.cpp 
skipping to change at line 153 skipping to change at line 153
else if (args.at(1) == "moon_scaled") else if (args.at(1) == "moon_scaled")
line = QString("SolarSystem.setFlagMoonScale (%1);").arg(strToBool(args.at(2))); line = QString("SolarSystem.setFlagMoonScale (%1);").arg(strToBool(args.at(2)));
else if (args.at(1) == "landscape") else if (args.at(1) == "landscape")
line = QString("LandscapeMgr.setFlagLandscap e(%1);").arg(strToBool(args.at(2))); line = QString("LandscapeMgr.setFlagLandscap e(%1);").arg(strToBool(args.at(2)));
else if (args.at(1) == "landscape_sets_location") else if (args.at(1) == "landscape_sets_location")
line = QString("LandscapeMgr.setFlagLandscap eSetsLocation(%1);").arg(strToBool(args.at(2))); line = QString("LandscapeMgr.setFlagLandscap eSetsLocation(%1);").arg(strToBool(args.at(2)));
else if (args.at(1) == "meridian_line") else if (args.at(1) == "meridian_line")
line = QString("GridLinesMgr.setFlagMeridian Line(%1);").arg(strToBool(args.at(2))); line = QString("GridLinesMgr.setFlagMeridian Line(%1);").arg(strToBool(args.at(2)));
else if (args.at(1) == "horizon_line") else if (args.at(1) == "horizon_line")
line = QString("GridLinesMgr.setFlagHorizonL ine(%1);").arg(strToBool(args.at(2))); line = QString("GridLinesMgr.setFlagHorizonL ine(%1);").arg(strToBool(args.at(2)));
else if (args.at(1) == "galactic_plane_line") else if ((args.at(1) == "galactic_equator_line") ||
line = QString("GridLinesMgr.setFlagGalactic (args.at(1) == "galactic_plane_line")) // "plane" for legacy scripts befor
PlaneLine(%1);").arg(strToBool(args.at(2))); e 0.13.1.
line = QString("GridLinesMgr.setFlagGalactic
EquatorLine(%1);").arg(strToBool(args.at(2)));
else if (args.at(1) == "milky_way") else if (args.at(1) == "milky_way")
line = QString("MilkyWay.setFlagShow(%1);"). arg(strToBool(args.at(2))); line = QString("MilkyWay.setFlagShow(%1);"). arg(strToBool(args.at(2)));
else if (args.at(1) == "nebulae") else if (args.at(1) == "nebulae")
line = QString("NebulaMgr.setFlagShow(%1);") .arg(strToBool(args.at(2))); line = QString("NebulaMgr.setFlagShow(%1);") .arg(strToBool(args.at(2)));
else if (args.at(1) == "nebula_names") else if (args.at(1) == "nebula_names")
line = QString("NebulaMgr.setFlagNames(%1);" ).arg(strToBool(args.at(2))); line = QString("NebulaMgr.setFlagNames(%1);" ).arg(strToBool(args.at(2)));
else if (args.at(1) == "night") // TODO when in new script API else if (args.at(1) == "night") // TODO when in new script API
line = "// untranslated stratoscropt (flag n ight): " + line; line = "// untranslated stratoscropt (flag n ight): " + line;
else if (args.at(1) == "object_trails") else if (args.at(1) == "object_trails")
line = QString("SolarSystem.setFlagTrails(%1 );").arg(strToBool(args.at(2))); line = QString("SolarSystem.setFlagTrails(%1 );").arg(strToBool(args.at(2)));
 End of changes. 1 change blocks. 
3 lines changed or deleted 5 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/