Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4766 in orxonox.OLD for orxonox/trunk/src/defs


Ignore:
Timestamp:
Jul 2, 2005, 11:54:41 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: cleaned up orxonox.cc a bit, and now one has the ability to choose the resolution in the GUI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/defs/globals.h

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