Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4769 in orxonox.OLD for orxonox/trunk/src/orxonox.cc


Ignore:
Timestamp:
Jul 2, 2005, 12:09:10 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: now there is the ability to Fly in fullscreen-mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.cc

    r4766 r4769  
    157157  GraphicsEngine::getInstance()->setResolution(atoi(resolution.getString(0)), atoi(resolution.getString(1)), 16);
    158158
    159 //  const char* fullscreen = this->iniParser->getVar(CONFIG_NAME_FULLSCREEN, CONFIG_SECTION_VIDEO, 0);
    160 //  GraphicsEngine::getInstance()->setFullscreen(false);
     159  const char* fullscreen = this->iniParser->getVar(CONFIG_NAME_FULLSCREEN, CONFIG_SECTION_VIDEO, "0");
     160  printf("%s\n", fullscreen);
     161  if (strchr(fullscreen, '1'))
     162    GraphicsEngine::getInstance()->setFullscreen(true);
    161163
    162164  return 0;
Note: See TracChangeset for help on using the changeset viewer.