sky::Conf Class Reference

Module configuration. More...

#include <_src_sky_conf.hh>

List of all members.

Public Member Functions

 Conf (void)
void Init (int argc, char **argv, const string &confTxtFilename)

Public Attributes

bool mValid
 true if Conf was init/read
bool mSkyEnabled
bool mUseOssim
 WORLD_CONF isn't available to SKY_CONF.
RGBA mSkyColor
fpx mSkyFogDensity
 fpx, sky needs lower fog density
uint mSkyDomeSliceCount
bool mEnableMoon
uint mStarCount
 amount of stars
bool mCloudsEnabled
CloudConf mCloudConfFlat
CloudConf mCloudConfSphere
uint mWeatherRainChance
uint mWeatherSnowChance

Private Member Functions

void ParseCmdlineArgs (int argc, char **argv)
void ParseCmdlineArgs2 (int argc, char **argv)
void ReadConfTxt (const string &confTxtFilename)

Classes

struct  CloudConf
class  ModuleConfTxt
 Template Method to parse fields in .conf file. More...


Detailed Description

Module configuration.

Constructor & Destructor Documentation

sky::Conf::Conf ( void   ) 

ctor/dtor.


Member Function Documentation

void sky::Conf::Init ( int  argc,
char **  argv,
const string &  confTxtFilename 
)

Initialize/read configuration.

void sky::Conf::ParseCmdlineArgs ( int  argc,
char **  argv 
) [private]

Parse cmdline args.

void sky::Conf::ParseCmdlineArgs2 ( int  argc,
char **  argv 
) [private]

void sky::Conf::ReadConfTxt ( const string &  confTxtFilename  )  [private]

Read from .conf file.


Member Data Documentation

true if Conf was init/read

WORLD_CONF isn't available to SKY_CONF.

fpx, sky needs lower fog density

amount of stars


The documentation for this class was generated from the following files:
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:50 2010