Changeset 10186 in orxonox.OLD for branches/data_fix
- Timestamp:
- Jan 7, 2007, 2:52:30 AM (18 years ago)
- Location:
- branches/data_fix/src
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/data_fix/src/lib/graphics/importer/md3/md3_data.cc
r8724 r10186 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 } -
branches/data_fix/src/world_entities/effects/explosion.cc
r10114 r10186 79 79 Explosion::explosionParticles = new SpriteParticles(5000); 80 80 Explosion::explosionParticles->setName("ExplosionExplosionParticles"); 81 Explosion::explosionParticles->setMaterialTexture(" maps/radial-trans-noise.png");81 Explosion::explosionParticles->setMaterialTexture("textures/radial-trans-noise.png"); 82 82 Explosion::explosionParticles->setLifeSpan(1.5, .3); 83 83 Explosion::explosionParticles->setRadius(0.0, 10); -
branches/data_fix/src/world_entities/effects/lightning_bolt.cc
r10114 r10186 44 44 45 45 this->material = new Material(); 46 this->material->setDiffuseMap(" maps/lightning_bolt.png");46 this->material->setDiffuseMap("textures/lightning_bolt.png"); 47 47 //this->offset = Vector(-1440.00, 100.00, 280.00); 48 48 … … 58 58 this->soundSource.setSourceNode(this); 59 59 60 this->thunderBuffer = OrxSound::ResourceSoundBuffer("sound /atmosphere/thunder.wav");60 this->thunderBuffer = OrxSound::ResourceSoundBuffer("sounds/atmosphere/thunder.wav"); 61 61 } 62 62 -
branches/data_fix/src/world_entities/elements/glgui_energywidget.cc
r9406 r10186 37 37 this->_valueText.setChangedTextColor(Color::white); 38 38 39 //this->setBackgroundTexture(" maps/gui_element_background_2.png");39 //this->setBackgroundTexture("textures/gui/gui_element_background_2.png"); 40 40 this->setBackgroundColor(Color(.5,.5,.5,1)); 41 41 42 42 //this->_name.setBackgroundTexture(Texture()); 43 //this->_valueText.setBackgroundTexture(" maps/gui_element_background_2.png");43 //this->_valueText.setBackgroundTexture("textures/gui/gui_element_background_2.png"); 44 44 this->_bar.setBackgroundTexture(Texture()); 45 45 this->_bar.setBackgroundColor(Color(0,0,0,0)); 46 this->_bar.setForegroundTexture(" maps/gui_element_background_faded.png");46 this->_bar.setForegroundTexture("textures/gui/gui_element_background_faded.png"); 47 47 this->_bar.setForegroundColor(Color(.5, .5, .5, 1)); 48 48 this->_bar.setChangedValueColor(Color::black); -
branches/data_fix/src/world_entities/particles/dot_particles.cc
r10114 r10186 64 64 this->registerObject(this, DotParticles::_objectList); 65 65 66 this->material.setDiffuseMap(" maps/radial-trans-noise.png");66 this->material.setDiffuseMap("textures/radial-trans-noise.png"); 67 67 } 68 68 -
branches/data_fix/src/world_entities/particles/model_particles.cc
r10114 r10186 31 31 32 32 SHELL_COMMAND(texture, ModelParticles, setMaterialTexture) 33 ->defaultValues(" maps/evil-flower.png");33 ->defaultValues("textures/evil-flower.png"); 34 34 35 35 -
branches/data_fix/src/world_entities/particles/sprite_particles.cc
r10114 r10186 30 30 31 31 SHELL_COMMAND(texture, SpriteParticles, setMaterialTexture) 32 ->defaultValues(" maps/evil-flower.png");32 ->defaultValues("textures/evil-flower.png"); 33 33 34 34 … … 69 69 this->registerObject(this, SpriteParticles::_objectList); 70 70 71 this->material.setDiffuseMap(" maps/radial-trans-noise.png");71 this->material.setDiffuseMap("textures/radial-trans-noise.png"); 72 72 } 73 73 -
branches/data_fix/src/world_entities/weapons/aim.cc
r9869 r10186 43 43 this->loadParams(root); 44 44 else 45 this->setTexture(" maps/aim.png");45 this->setTexture("textures/aim.png"); 46 46 } 47 47 -
branches/data_fix/src/world_entities/weapons/crosshair.cc
r9869 r10186 37 37 this->loadParams(root); 38 38 else 39 this->setTexture(" maps/aim.png");39 this->setTexture("textures/aim.png"); 40 40 } 41 41 -
branches/data_fix/src/world_entities/weapons/fps_sniper_rifle.cc
r10114 r10186 84 84 this->material->setIllum(3); 85 85 this->material->setAmbient(1.0, 1.0, 1.0); 86 this->material->setDiffuseMap(" maps/rifle01tex.jpg");86 this->material->setDiffuseMap("textures/rifle01tex.jpg"); 87 87 88 88 this->setStateDuration(WS_SHOOTING, .1); … … 95 95 //this->minCharge = 2; 96 96 97 this->setActionSound(WA_SHOOT, "sound /laser.wav");98 this->setActionSound(WA_ACTIVATE, "sound /voices/lasers.wav");97 this->setActionSound(WA_SHOOT, "sounds/laser.wav"); 98 this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav"); 99 99 100 100 -
branches/data_fix/src/world_entities/weather_effects/lightning_effect.cc
r10114 r10186 263 263 264 264 if (this->thunderTextureA) { 265 this->thunderBolt[0]->setTexture(" maps/thunderbA1.png");266 this->thunderBolt[1]->setTexture(" maps/thunderbA2.png");267 this->thunderBolt[2]->setTexture(" maps/thunderbA3.png");268 this->thunderBolt[3]->setTexture(" maps/thunderbA4.png");265 this->thunderBolt[0]->setTexture("textures/thunderbA1.png"); 266 this->thunderBolt[1]->setTexture("textures/thunderbA2.png"); 267 this->thunderBolt[2]->setTexture("textures/thunderbA3.png"); 268 this->thunderBolt[3]->setTexture("textures/thunderbA4.png"); 269 269 } 270 270 else { 271 this->thunderBolt[0]->setTexture(" maps/thunderbB1.png");272 this->thunderBolt[1]->setTexture(" maps/thunderbB2.png");273 this->thunderBolt[2]->setTexture(" maps/thunderbB3.png");274 this->thunderBolt[3]->setTexture(" maps/thunderbB4.png");271 this->thunderBolt[0]->setTexture("textures/thunderbB1.png"); 272 this->thunderBolt[1]->setTexture("textures/thunderbB2.png"); 273 this->thunderBolt[2]->setTexture("textures/thunderbB3.png"); 274 this->thunderBolt[3]->setTexture("textures/thunderbB4.png"); 275 275 } 276 276 -
branches/data_fix/src/world_entities/weather_effects/snow_effect.cc
r10114 r10186 107 107 this->snowMove = false; 108 108 this->particles = 12000; 109 this->texture = " maps/snow_flake_01_32x32.png";109 this->texture = "textures/snow_flake_01_32x32.png"; 110 110 this->snowLife = 8; 111 111 this->randomLife = 2;
Note: See TracChangeset
for help on using the changeset viewer.