Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5415 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Oct 21, 2005, 10:07:57 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: windows compatibility

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/graphics_engine.cc

    r5406 r5415  
    117117  // looking if we are in fullscreen-mode
    118118  const char* fullscreen = iniParser->getVar(CONFIG_NAME_FULLSCREEN, CONFIG_SECTION_VIDEO, "0");
    119   if (strchr(fullscreen, '1') || strcasestr(fullscreen, "true"))
     119  if (strchr(fullscreen, '1') || strcasecmp(fullscreen, "true"))
    120120    this->fullscreenFlag = SDL_FULLSCREEN;
    121121
    122122  // looking if we are in fullscreen-mode
    123123  const char* textures = iniParser->getVar(CONFIG_NAME_TEXTURES, CONFIG_SECTION_VIDEO_ADVANCED, "0");
    124   if (strchr(textures, '1') || strcasestr(textures, "true"))
     124  if (strchr(textures, '1') || strcasecmp(textures, "true"))
    125125    this->texturesEnabled = true;
    126126  else
  • trunk/src/world_entities/terrain.cc

    r5357 r5415  
    4949  this->init();
    5050
    51   if (!strcasestr(fileName, ".obj") )
     51  if (!strstr(fileName, ".obj") || !strstr(fileName, ".OBJ") )
    5252    {
    5353      this->loadModel(fileName);
Note: See TracChangeset for help on using the changeset viewer.