Changeset 10317 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Jan 24, 2007, 1:30:29 AM (18 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/bsp/bsp_file.cc
r10314 r10317 426 426 { 427 427 ::std::string absFileName; 428 char* baseName = "/ worlds/bsp/";428 char* baseName = "/textures/"; 429 429 430 430 char fileName [500]; … … 448 448 //this->Materials[i]->setShininess(100.0); 449 449 // this->Materials[i].mat->setTransparency(1.0); 450 this->Materials[i].mat->setDiffuseMap(" pictures/ground.tga");451 this->Materials[i].mat->setAmbientMap(" pictures/ground.tga");452 this->Materials[i].mat->setSpecularMap(" pictures/ground.tga");450 this->Materials[i].mat->setDiffuseMap("textures/ground.tga"); 451 this->Materials[i].mat->setAmbientMap("textures/ground.tga"); 452 this->Materials[i].mat->setSpecularMap("textures/ground.tga"); 453 453 this->Materials[i].alpha = false; 454 454 this->Materials[i].animated = false; … … 595 595 //this->Materials[i]->setShininess(100.0); 596 596 //this->Materials[i].mat->setTransparency(1.0); 597 this->Materials[i].mat->setDiffuseMap(" pictures/error_texture.png");598 this->Materials[i].mat->setAmbientMap(" pictures/error_texture.png");599 this->Materials[i].mat->setSpecularMap(" pictures/error_texture.png");597 this->Materials[i].mat->setDiffuseMap("textures/error_texture.png"); 598 this->Materials[i].mat->setAmbientMap("textures/error_texture.png"); 599 this->Materials[i].mat->setSpecularMap("textures/error_texture.png"); 600 600 this->Materials[i].alpha = true; 601 601 this->Materials[i].animated = false; -
trunk/src/lib/graphics/importer/md3/md3_data.cc
r8724 r10317 425 425 std::string path1(tex[i].fileName); 426 426 std::string fullPath( path + path1); 427 this->meshes[mesh]->material[i].setDiffuseMap(/*tex[i].fileName*/ /*fullPath.c_str()*/ " maps/creatures/gork/gorkup.tga");427 this->meshes[mesh]->material[i].setDiffuseMap(/*tex[i].fileName*/ /*fullPath.c_str()*/ "textures/creatures/gork/gorkup.tga"); 428 428 this->meshes[mesh]->material[i].setAmbient(1, 1, 1); 429 429 } -
trunk/src/lib/graphics/render2D/image_plane.cc
r10114 r10317 59 59 60 60 //this->setBindNode(this); 61 this->setTexture(" pictures/error_texture.png");61 this->setTexture("textures/error_texture.png"); 62 62 } 63 63 -
trunk/src/lib/gui/gl/glgui_container.cc
r9869 r10317 43 43 this->registerObject(this, GLGuiContainer::_objectList); 44 44 45 this->setBackgroundTexture(" gui_container_background.png");45 this->setBackgroundTexture("textures/gui/gui_container_background.png"); 46 46 47 47 } -
trunk/src/lib/gui/gl/glgui_cursor.cc
r9869 r10317 58 58 59 59 this->setBackgroundColor(Color(1.0, 1.0, 1.0, 1.0)); 60 this->setBackgroundTexture(" cursor.png");60 this->setBackgroundTexture("textures/menu/cursor.png"); 61 61 this->setSize2D(50, 50); 62 62 this->setAbsCoor2D(100, 100); -
trunk/src/lib/gui/gl/glgui_handler.cc
r9869 r10317 77 77 this->_cursor->setMaxBorders(Vector2D(GraphicsEngine::getInstance()->getResolutionX(), GraphicsEngine::getInstance()->getResolutionY())); 78 78 79 _cursor->loadTextureSequence(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + "/" + " maps/reap_mouse/reap_mouse_##.png", 1, 49);79 _cursor->loadTextureSequence(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + "/" + "textures/reap_mouse/reap_mouse_##.png", 1, 49); 80 80 81 81 } -
trunk/src/lib/gui/gl/glgui_widget.cc
r9869 r10317 127 127 128 128 this->setBorderLeft(15); 129 this->setBackgroundTexture(" gui_element_background.png");129 this->setBackgroundTexture("textures/gui/gui_element_background.png"); 130 130 131 131 this->switchState(_state);
Note: See TracChangeset
for help on using the changeset viewer.