| 1 | /*! | 
|---|
| 2 |   \file globals.h | 
|---|
| 3 |   \brief This file defines some global default values. | 
|---|
| 4 |  | 
|---|
| 5 |   no Class is defined here. | 
|---|
| 6 | */ | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef _GLOBALS_H | 
|---|
| 9 | #define _GLOBALS_H | 
|---|
| 10 |  | 
|---|
| 11 | #include "confincl.h" | 
|---|
| 12 |  | 
|---|
| 13 |  | 
|---|
| 14 | #define ORXONOX_STAFF "Patrick Boenzli - Captain\n" \ | 
|---|
| 15 |                       "Benjamin Grauer - First Officer\n" \ | 
|---|
| 16 |                       "Christian Meyer - Engeneer\n" \ | 
|---|
| 17 |                       "Nico Bernold - Physics\n" \ | 
|---|
| 18 |                       "David Gruetter - The ProtoType\n" \ | 
|---|
| 19 |                       "many more...\n" | 
|---|
| 20 |  | 
|---|
| 21 | #define   DEFAULT_CONFIG_FILE              "~/.orxonox/orxonox.conf" | 
|---|
| 22 | #define   DEFAULT_LOCK_FILE                "~/.orxonox/orxonox.lock" | 
|---|
| 23 | #define   DEFAULT_DATA_DIR                 DATADIR "/orxonox/" | 
|---|
| 24 | #define   DEFAULT_DATA_DIR_CHECKFILE       "data.oxd" | 
|---|
| 25 |  | 
|---|
| 26 | // Defines all the Sections of the Config (in Gui and orxonox) | 
|---|
| 27 | //! Name of Section Misc in the config-File | 
|---|
| 28 | #define   CONFIG_SECTION_MISC              "misc" | 
|---|
| 29 | #define   CONFIG_SECTION_MISC_KEYS         "miscKeys" | 
|---|
| 30 | #define   CONFIG_SECTION_PLAYER            "player" | 
|---|
| 31 | #define   CONFIG_SECTION_VIDEO             "video" | 
|---|
| 32 | #define   CONFIG_SECTION_VIDEO_ADVANCED    "video_advanced" | 
|---|
| 33 | #define   CONFIG_SECTION_AUDIO             "audio" | 
|---|
| 34 | #define   CONFIG_SECTION_EXEC              "exec" | 
|---|
| 35 | #define   CONFIG_SECTION_DATA              "data" | 
|---|
| 36 |  | 
|---|
| 37 | /* | 
|---|
| 38 |   TAGS for all the Configuration Options | 
|---|
| 39 |   Consider they may __not__ have any WhiteSpaces inside | 
|---|
| 40 | */ | 
|---|
| 41 | #define   CONFIG_NAME_DATADIR              "DataDir" | 
|---|
| 42 | #define   CONFIG_NAME_AUTO_UPDATE          "Auto-Update" | 
|---|
| 43 | #define   CONFIG_NAME_FULLSCREEN           "Fullscreen-mode" | 
|---|
| 44 | #define   CONFIG_NAME_RESOLUTION           "Resolution" | 
|---|
| 45 | #define   CONFIG_NAME_WIREFRAME            "WireFrame-mode" | 
|---|
| 46 | #define   CONFIG_NAME_SHADOWS              "Shadows" | 
|---|
| 47 | #define   CONFIG_NAME_FOG                  "Fog" | 
|---|
| 48 | #define   CONFIG_NAME_REFLECTIONS          "Reflections" | 
|---|
| 49 | #define   CONFIG_NAME_TEXTURES             "TEXTURES" | 
|---|
| 50 | #define   CONFIG_NAME_TEXTURE_DETAIL       "Texture-Detail" | 
|---|
| 51 | #define   CONFIG_NAME_MODEL_DETAIL         "Model-Detail" | 
|---|
| 52 | #define   CONFIG_NAME_PARTICLES_ENABLED    "Particles Enabled" | 
|---|
| 53 | #define   CONFIG_NAME_ANTI_ALIASING        "Anti-Aliasing" | 
|---|
| 54 | #define   CONFIG_NAME_FILTER_METHOD        "Filtering-Method" | 
|---|
| 55 | #define   CONFIG_NAME_DISABLE_AUDIO        "Disable-Audio" | 
|---|
| 56 | #define   CONFIG_NAME_MUSIC_VOLUME         "Music-Volume" | 
|---|
| 57 | #define   CONFIG_NAME_EFFECTS_VOLUME       "Effects-Volume" | 
|---|
| 58 | #define   CONFIG_NAME_SAVE_SETTINGS        "Save-Settings" | 
|---|
| 59 | #define   CONFIG_NAME_VERBOSE_MODE         "Verbose-Mode" | 
|---|
| 60 | #define   CONFIG_NAME_ALWAYS_SHOW_GUI      "Always-Show-The-Gui" | 
|---|
| 61 | // evenets | 
|---|
| 62 | #define   CONFIG_NAME_PLAYER_UP            "Up" | 
|---|
| 63 | #define   CONFIG_NAME_PLAYER_DOWN          "Down" | 
|---|
| 64 | #define   CONFIG_NAME_PLAYER_LEFT          "Left" | 
|---|
| 65 | #define   CONFIG_NAME_PLAYER_RIGHT         "Right" | 
|---|
| 66 | #define   CONFIG_NAME_PLAYER_FIRE          "Fire" | 
|---|
| 67 | #define   CONFIG_NAME_PLAYER_NEXT_WEAPON   "Next" | 
|---|
| 68 | #define   CONFIG_NAME_PLAYER_PREV_WEAPON   "Prev" | 
|---|
| 69 | #define   CONFIG_NAME_QUIT                 "Quit" | 
|---|
| 70 | #define   CONFIG_NAME_PAUSE                "Pause" | 
|---|
| 71 | #define   CONFIG_NAME_NEXT_WORLD           "Next-World" | 
|---|
| 72 | #define   CONFIG_NAME_PREV_WORLD           "Prev-World" | 
|---|
| 73 | #define   CONFIG_NAME_VIEW0                "view0" | 
|---|
| 74 | #define   CONFIG_NAME_VIEW1                "view1" | 
|---|
| 75 | #define   CONFIG_NAME_VIEW2                "view2" | 
|---|
| 76 | #define   CONFIG_NAME_VIEW3                "view3" | 
|---|
| 77 | #define   CONFIG_NAME_VIEW4                "view4" | 
|---|
| 78 | #define   CONFIG_NAME_VIEW5                "view5" | 
|---|
| 79 |  | 
|---|
| 80 |  | 
|---|
| 81 | #endif /* _GLOBALS_H */ | 
|---|