mod_sim_defs.hh

Go to the documentation of this file.
00001 /*
00020  * LEGAL:   COPYRIGHT (C) 2004 JIM E. BROOKS
00021  *          THIS SOURCE CODE IS RELEASED UNDER THE TERMS
00022  *          OF THE GNU GENERAL PUBLIC LICENSE VERSION 2 (GPL 2).
00023  *****************************************************************************/
00024 
00025 #ifndef MOD_SIM_DEFS_HH
00026 #define MOD_SIM_DEFS_HH 1
00027 
00028 namespace mod_sim {
00029 namespace defs {
00030 
00031 //------------------------------------------------------------------------------
00032 #if COMPILING_MODULE
00033 #define MODULE_NAME_STR                 "Sim"
00034 #define MODULE_NAME_UCASE_STR           "SIM"
00035 #define PROGRAM_EXEC_STR                "palomino" EXEC_SUFFIX_STR
00036 #define PROGRAM_NAME_STR                "Palomino"
00037 #define PROGRAM_LONG_NAME_UCASE_STR     "PALOMINO FLIGHT SIMULATOR"
00038 #define PROGRAM_LONG_NAME_STR           "Palomino Flight Simulator"
00039 #define CONFIG_FILE_APPNAME_STR         "palomino"
00040 #define COPYRIGHT_STR                   "(C) 2007"
00041 #define COPYRIGHT_UCASE_STR             "(C) 2007"
00042 #define AUTHORS_STR                     "Jim E. Brooks"
00043 #define AUTHORS_UCASE_STR               "JIM E. BROOKS"
00044 #define WEBSITE_STR                     "www.palomino3d.org"
00045 #define WEBSITE_UCASE_STR               "WWW.PALOMINO3D.ORG"
00046 #endif // COMPILING_MODULE
00047 //------------------------------------------------------------------------------
00048 
00049 const Milliseconds GAME_TICK            = 20;
00050 const fp DEFAULT_FOG_DENSITY            = 0.25;
00051 const fp ALTITUDE_WARNING               = 4000.0;  // drawn in red below this
00052 
00053 // Lights (mod_sim defines the other lights):
00054 const GFX::Light::eLightId LIGHT_ID_GLOBAL  = GFX::Light::eLightId_0;  // also in mod_base::defs
00055 const GFX::Light::eLightId LIGHT_ID_MISSILE = GFX::Light::eLightId_1;
00056 
00057 // View numbers:
00058 const int MULTI_VIEW_NUM                = 1;  // Engine reserves 0 (View::MAIN_VIEW_NUM)
00059 
00060 } // namespace defs
00061 } // namespace mod_sim
00062 
00063 // Definitions the engine depends on.
00064 #include "mod_sim_defs_eng.hh"
00065 
00066 #endif // MOD_SIM_DEFS_HH
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:12 2007