Changeset 7524 in orxonox.OLD for branches/bsp_model/src/lib/graphics/importer/bsp_file.cc
- Timestamp:
- May 3, 2006, 5:20:13 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/bsp_file.cc
r7511 r7524 45 45 int size; 46 46 struct stat results; 47 name = "/ root/data/Kanti175.bsp";47 name = "/home/stefalie/svn/orxonox/data/Kanti175.bsp"; 48 48 49 49 if (stat( name , &results) == 0) { … … 384 384 // Check for tga 385 385 strcpy(fileName, &this->textures[8+ 72*i]); 386 strcpy (absFileName,"/ root/data/trunk/");386 strcpy (absFileName,"/home/stefalie/svn/orxonox/data/trunk/"); 387 387 strcpy(ext, ".tga"); 388 388 strncat (fileName, ext, strlen(fileName)); … … 397 397 // Check for TGA 398 398 strcpy(fileName, &this->textures[8+ 72*i]); 399 strcpy (absFileName,"/ root/data/trunk/");399 strcpy (absFileName,"/home/stefalie/svn/orxonox/data/trunk/"); 400 400 strcpy(ext, ".TGA"); 401 401 strncat (fileName, ext, strlen(fileName)); … … 410 410 // Check for jpg 411 411 strcpy(fileName, &this->textures[8+ 72*i]); 412 strcpy (absFileName,"/ root/data/trunk/");412 strcpy (absFileName,"/home/stefalie/svn/orxonox/data/trunk/"); 413 413 strcpy(ext, ".jpg"); 414 414 strncat (fileName, ext, strlen(fileName)); … … 424 424 // Check for JPG 425 425 strcpy(fileName, &this->textures[8+ 72*i]); 426 strcpy (absFileName,"/ root/data/trunk/");426 strcpy (absFileName,"/home/stefalie/svn/orxonox/data/trunk/"); 427 427 strcpy(ext, ".JPG"); 428 428 strncat (fileName, ext, strlen(fileName)); … … 437 437 // Check for jpeg 438 438 strcpy(fileName, &this->textures[8+ 72*i]); 439 strcpy (absFileName,"/ root/data/trunk/");439 strcpy (absFileName,"/home/stefalie/svn/orxonox/data/trunk/"); 440 440 strcpy(ext, ".jpeg"); 441 441 strncat (fileName, ext, strlen(fileName)); … … 451 451 // Check for JPEG 452 452 strcpy(fileName, &this->textures[8+ 72*i]); 453 strcpy (absFileName,"/ root/data/trunk/");453 strcpy (absFileName,"/home/stefalie/svn/orxonox/data/trunk/"); 454 454 strcpy(ext, ".JPEG"); 455 455 strncat (fileName, ext, strlen(fileName)); … … 465 465 // Check for bmp 466 466 strcpy(fileName, &this->textures[8+ 72*i]); 467 strcpy (absFileName,"/ root/data/trunk/");467 strcpy (absFileName,"/home/stefalie/svn/orxonox/data/trunk/"); 468 468 strcpy(ext, ".bmp"); 469 469 strncat (fileName, ext, strlen(fileName)); … … 479 479 // Check for BMP 480 480 strcpy(fileName, &this->textures[8+ 72*i]); 481 strcpy (absFileName,"/ root/data/trunk/");481 strcpy (absFileName,"/home/stefalie/svn/orxonox/data/trunk/"); 482 482 strcpy(ext, ".BMP"); 483 483 strncat (fileName, ext, strlen(fileName)); … … 485 485 // absFileName = ResourceManager::getFullName(fileName); 486 486 487 if( stat( absFileName , &results) == 0) {487 if(false /*stat( absFileName , &results) == 0*/) { 488 488 PRINTF(0)("BSP FILE: gefunden . \n"); 489 489 this->Materials[i] = this->loadMat(fileName);
Note: See TracChangeset
for help on using the changeset viewer.