1 /*****************************************************************************
2  * $LastChangedDate: 2011-04-22 12:24:45 -0400 (Fri, 22 Apr 2011) $
3  * @file
4  * @author  Jim E. Brooks  http://www.palomino3d.org
5  * @brief   Module configuration.
6  *//*
7  * LEGAL:   COPYRIGHT (C) 2007 JIM E. BROOKS
8  *          THIS SOURCE CODE IS RELEASED UNDER THE TERMS
9  *          OF THE GNU GENERAL PUBLIC LICENSE VERSION 2 (GPL 2).
10  *****************************************************************************/
11 
12 #ifndef PROGRAM_CONF_HH
13 #define PROGRAM_CONF_HH 1
14 
15 #define PROGRAM_CONF program::GET_CONF()
16 
17 #include "base/module.hh"
18 #include "base/conf_txt.hh"
19 using namespace base;
20 #include "object/module.hh"
21 #include "object/rotation_list.hh"
22 using namespace object;
23 #include "world/module.hh"
24 using namespace world;
25 
26 namespace program {
27 
28 ////////////////////////////////////////////////////////////////////////////////
29 /// @brief Module configuration.
30 ///
31 class Conf
32 {
33 #include "base/conf_template_txt.hh"
34 public:
35     // Cmd-line args:
36     bool                mPrintJoystick;
37 
38     // .conf:
39     Milliseconds        mTimerTickFreq;             ///< program's timer-tick
40     string              mSplashFontName;
41     fp                  mSplashFontSize;
42     Milliseconds        mSplashFadeMilliseconds;    ///< when fading begins
43     Milliseconds        mSplashEndMilliseconds;     ///< when splash ends
44     RotationList        mAircraftRotationList;      ///< initial orientation
45     string              mCarrierModelName;
46     RotationList        mCarrierRotationList;       ///< initial orientation
47 };
48 #include "base/conf_template_end.hh"
49 
50 } // namespace program
51 
52 #endif // PROGRAM_CONF_HH
53