- Timestamp:
- Jan 24, 2007, 1:30:29 AM (18 years ago)
- Location:
- trunk/src
- Files:
-
- 36 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); -
trunk/src/orxonox.cc
r10150 r10317 257 257 GraphicsEngine::getInstance()->initFromPreferences(); 258 258 259 std::string iconName = Resources::ResourceManager::getInstance()->prependAbsoluteMainPath(" pictures/fighter-top-32x32.bmp");259 std::string iconName = Resources::ResourceManager::getInstance()->prependAbsoluteMainPath("textures/fighter-top-32x32.bmp"); 260 260 if (!iconName.empty()) 261 261 { … … 365 365 366 366 //! @todo this is a hack and should be loadable 367 Resources::ResourceManager::getInstance()->addResourceSubPath("Texture", " maps");368 Resources::ResourceManager::getInstance()->addResourceSubPath("Texture", "pictures");369 370 Resources::ResourceManager::getInstance()->addResourceSubPath("SoundBuffer", "sound ");367 Resources::ResourceManager::getInstance()->addResourceSubPath("Texture", "textures"); 368 //Resources::ResourceManager::getInstance()->addResourceSubPath("Texture", "pictures"); 369 370 Resources::ResourceManager::getInstance()->addResourceSubPath("SoundBuffer", "sounds"); 371 371 Resources::ResourceManager::getInstance()->addResourceSubPath("SoundBuffer", "music"); 372 372 … … 410 410 411 411 if( this->port != -1) 412 this->gameLoader->loadNetworkCampaign(" worlds/DefaultNetworkCampaign.oxc");412 this->gameLoader->loadNetworkCampaign("levels/DefaultNetworkCampaign.oxc"); 413 413 else 414 this->gameLoader->loadCampaign(" worlds/DefaultCampaign.oxc"); /* start orxonox in single player mode */414 this->gameLoader->loadCampaign("levels/DefaultCampaign.oxc"); /* start orxonox in single player mode */ 415 415 416 416 // this->gameLoader->loadDebugCampaign(DEBUG_CAMPAIGN_0); -
trunk/src/story_entities/game_world_data.cc
r10013 r10317 160 160 PRINTF(2)("no LoadScreen specified, loading default\n"); 161 161 162 glmis->setBackgroundImage(" pictures/load_screen.jpg");162 glmis->setBackgroundImage("textures/load_screens/default.jpg"); 163 163 this->glmis->setMaximum(8); 164 164 // this->glmis->draw(); -
trunk/src/subprojects/importer/multitex.cc
r6532 r10317 47 47 48 48 testMat = new Material; 49 testMat->setDiffuseMap(" maps/radialTransparency.png");49 testMat->setDiffuseMap("textures/radialTransparency.png"); 50 50 obj = new PrimitiveModel(PRIM_PLANE, 10.0); 51 51 -
trunk/src/world_entities/effects/explosion.cc
r10114 r10317 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); -
trunk/src/world_entities/effects/lightning_bolt.cc
r10114 r10317 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 -
trunk/src/world_entities/elements/glgui_energywidget.cc
r9406 r10317 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); -
trunk/src/world_entities/elements/glgui_radar.cc
r9019 r10317 40 40 void GLGuiRadar::init() 41 41 { 42 this->setBackgroundTexture(" gui_radar.png");42 this->setBackgroundTexture("textures/gui/gui_radar.png"); 43 43 44 44 this->_updateInterval = .01f; -
trunk/src/world_entities/elements/image_entity.cc
r10114 r10317 70 70 this->setBindNode(this); 71 71 this->material = new Material; 72 this->setTexture(" pictures/error_texture.png");72 this->setTexture("textures/error_texture.png"); 73 73 this->bBillboarding = false; 74 74 } -
trunk/src/world_entities/environments/mapped_water.cc
r10114 r10317 162 162 mat.setDiffuseMap(refrTex, 1); 163 163 // load normal map 164 mat.setDiffuseMap(" pictures/water_normalmap.bmp", GL_TEXTURE_2D, 2);164 mat.setDiffuseMap("textures/water_normalmap.bmp", GL_TEXTURE_2D, 2); 165 165 // load dudv map 166 mat.setDiffuseMap(" pictures/water_dudvmap.bmp", GL_TEXTURE_2D, 3);166 mat.setDiffuseMap("textures/water_dudvmap.bmp", GL_TEXTURE_2D, 3); 167 167 168 168 // sets texture parameters for reflection texture -
trunk/src/world_entities/npcs/door.cc
r10114 r10317 55 55 this->bOpen = false; 56 56 57 this->loadMD2Texture(" maps/doors.jpg");57 this->loadMD2Texture("textures/doors.jpg"); 58 58 this->loadModel("models/creatures/doors.md2", this->scale); 59 59 -
trunk/src/world_entities/npcs/gate.cc
r10114 r10317 74 74 this->bOpen = false; 75 75 76 this->loadMD2Texture(" maps/wheel.jpg");76 this->loadMD2Texture("textures/wheel.jpg"); 77 77 this->loadModel("models/creatures/hypergate.md2", this->scale); 78 78 -
trunk/src/world_entities/npcs/repair_station.cc
r10114 r10317 76 76 this->animationCurrent = REPAIR_CYCLE01; 77 77 78 this->loadMD2Texture(" maps/repairstation.jpg");78 this->loadMD2Texture("textures/repairstation.jpg"); 79 79 this->loadModel("models/creatures/repairstation.md2", this->scale); 80 80 -
trunk/src/world_entities/particles/dot_particles.cc
r10114 r10317 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 -
trunk/src/world_entities/particles/model_particles.cc
r10114 r10317 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 … … 70 70 this->registerObject(this, ModelParticles::_objectList); 71 71 72 this->material.setDiffuseMap(" maps/radial-trans-noise.png");72 this->material.setDiffuseMap("textures/radial-trans-noise.png"); 73 73 } 74 74 -
trunk/src/world_entities/particles/sprite_particles.cc
r10114 r10317 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 -
trunk/src/world_entities/projectiles/boomerang_projectile.cc
r10114 r10317 87 87 BoomerangProjectile::trailParticles = new SpriteParticles(2000); 88 88 BoomerangProjectile::trailParticles->setName("BoomerangProjectileTrailParticles"); 89 BoomerangProjectile::trailParticles->setMaterialTexture(" maps/radial-trans-noise.png");89 BoomerangProjectile::trailParticles->setMaterialTexture("textures/radial-trans-noise.png"); 90 90 BoomerangProjectile::trailParticles->setLifeSpan(1.0, .3); 91 91 BoomerangProjectile::trailParticles->setRadius(0.0, .5); … … 102 102 BoomerangProjectile::explosionParticles = new SpriteParticles(200); 103 103 BoomerangProjectile::explosionParticles->setName("BoomerangProjectileExplosionParticles"); 104 BoomerangProjectile::explosionParticles->setMaterialTexture(" maps/radial-trans-noise.png");104 BoomerangProjectile::explosionParticles->setMaterialTexture("textures/radial-trans-noise.png"); 105 105 BoomerangProjectile::explosionParticles->setLifeSpan(.5, .3); 106 106 BoomerangProjectile::explosionParticles->setRadius(0.0, 10); -
trunk/src/world_entities/projectiles/guided_missile.cc
r10114 r10317 86 86 GuidedMissile::trailParticles = new SpriteParticles(2000); 87 87 GuidedMissile::trailParticles->setName("GuidedMissileTrailParticles"); 88 GuidedMissile::trailParticles->setMaterialTexture(" maps/radial-trans-noise.png");88 GuidedMissile::trailParticles->setMaterialTexture("textures/radial-trans-noise.png"); 89 89 GuidedMissile::trailParticles->setLifeSpan(1.0, .3); 90 90 GuidedMissile::trailParticles->setRadius(0.0, .5); … … 101 101 GuidedMissile::explosionParticles = new SpriteParticles(200); 102 102 GuidedMissile::explosionParticles->setName("GuidedMissileExplosionParticles"); 103 GuidedMissile::explosionParticles->setMaterialTexture(" maps/radial-trans-noise.png");103 GuidedMissile::explosionParticles->setMaterialTexture("textures/radial-trans-noise.png"); 104 104 GuidedMissile::explosionParticles->setLifeSpan(.5, .3); 105 105 GuidedMissile::explosionParticles->setRadius(0.0, 10); -
trunk/src/world_entities/projectiles/rocket.cc
r10114 r10317 80 80 Rocket::trailParticles = new SpriteParticles(2000); 81 81 Rocket::trailParticles->setName("RocketTrailParticles"); 82 Rocket::trailParticles->setMaterialTexture(" maps/radial-trans-noise.png");82 Rocket::trailParticles->setMaterialTexture("textures/radial-trans-noise.png"); 83 83 Rocket::trailParticles->setLifeSpan(1.0, .3); 84 84 Rocket::trailParticles->setRadius(0.0, .5); … … 95 95 Rocket::explosionParticles = new SpriteParticles(200); 96 96 Rocket::explosionParticles->setName("RocketExplosionParticles"); 97 Rocket::explosionParticles->setMaterialTexture(" maps/radial-trans-noise.png");97 Rocket::explosionParticles->setMaterialTexture("textures/radial-trans-noise.png"); 98 98 Rocket::explosionParticles->setLifeSpan(.5, .3); 99 99 Rocket::explosionParticles->setRadius(0.0, 10); -
trunk/src/world_entities/skysphere.cc
r9869 r10317 43 43 this->toList(OM_BACKGROUND); 44 44 if (fileName == NULL) 45 this->initialize(" pictures/sky-replace.jpg");45 this->initialize("textures/sky-replace.jpg"); 46 46 else 47 47 this->initialize(fileName); -
trunk/src/world_entities/space_ships/collision_probe.cc
r10114 r10317 65 65 66 66 this->toList(OM_GROUP_00); 67 this->loadMD2Texture(" maps/dr_freak.pcx");67 this->loadMD2Texture("textures/dr_freak.pcx"); 68 68 this->loadModel("models/dr_freak.md2"); 69 69 -
trunk/src/world_entities/space_ships/cruizer.cc
r10114 r10317 127 127 this->burstSystem->addEmitter(this->burstEmitter); 128 128 this->burstSystem->setName("SpaceShip_Burst_System"); 129 ((SpriteParticles*)this->burstSystem)->setMaterialTexture(" maps/radial-trans-noise.png");129 ((SpriteParticles*)this->burstSystem)->setMaterialTexture("textures/radial-trans-noise.png"); 130 130 this->burstSystem->setLifeSpan(1.0, .3); 131 131 this->burstSystem->setRadius(0.0, 1.5); -
trunk/src/world_entities/space_ships/space_ship.cc
r10114 r10317 225 225 this->burstSystem->addEmitter(this->burstEmitter); 226 226 this->burstSystem->setName("SpaceShip_Burst_System"); 227 ((SpriteParticles*)this->burstSystem)->setMaterialTexture(" maps/radial-trans-noise.png");227 ((SpriteParticles*)this->burstSystem)->setMaterialTexture("textures/radial-trans-noise.png"); 228 228 this->burstSystem->setLifeSpan(1.0, .3); 229 229 this->burstSystem->setRadius(0.0, 1.0); -
trunk/src/world_entities/space_ships/spacecraft_2d.cc
r10114 r10317 169 169 this->burstSystem->addEmitter(this->burstEmitter); 170 170 this->burstSystem->setName("SpaceShip_Burst_System"); 171 ((SpriteParticles*)this->burstSystem)->setMaterialTexture(" maps/radial-trans-noise.png");171 ((SpriteParticles*)this->burstSystem)->setMaterialTexture("textures/radial-trans-noise.png"); 172 172 this->burstSystem->setLifeSpan(1.0, .3); 173 173 this->burstSystem->setRadius(0.0, 1.5); -
trunk/src/world_entities/space_ships/turbine_hover.cc
r10114 r10317 167 167 this->burstSystem->addEmitter(this->burstEmitter[1]); 168 168 this->burstSystem->setName("SpaceShip_Burst_System"); 169 ((SpriteParticles*)this->burstSystem)->setMaterialTexture(" maps/radial-trans-noise.png");169 ((SpriteParticles*)this->burstSystem)->setMaterialTexture("textures/radial-trans-noise.png"); 170 170 this->burstSystem->setLifeSpan(1.0, .3); 171 171 this->burstSystem->setRadius(0.0, 1.5); -
trunk/src/world_entities/weapons/aim.cc
r9869 r10317 43 43 this->loadParams(root); 44 44 else 45 this->setTexture(" maps/aim.png");45 this->setTexture("textures/aim.png"); 46 46 } 47 47 -
trunk/src/world_entities/weapons/crosshair.cc
r9869 r10317 37 37 this->loadParams(root); 38 38 else 39 this->setTexture(" maps/aim.png");39 this->setTexture("textures/aim.png"); 40 40 } 41 41 -
trunk/src/world_entities/weapons/fps_sniper_rifle.cc
r10114 r10317 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 -
trunk/src/world_entities/weather_effects/lightning_effect.cc
r10114 r10317 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 -
trunk/src/world_entities/weather_effects/snow_effect.cc
r10114 r10317 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.