Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9234 in orxonox.OLD


Ignore:
Timestamp:
Jul 5, 2006, 2:31:04 PM (18 years ago)
Author:
amaechler
Message:
 
Location:
branches/presentation/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/lib/graphics/effects/fog_effect.cc

    r9205 r9234  
    2323
    2424// Define shell commands
    25 SHELL_COMMAND(activate, FogEffect, activateFog);
    26 SHELL_COMMAND(deactivate, FogEffect, deactivateFog);
     25//SHELL_COMMAND(activate, FogEffect, activateFog);
     26//SHELL_COMMAND(deactivate, FogEffect, deactivateFog);
    2727SHELL_COMMAND(fadein, FogEffect, fadeInFog);
    2828SHELL_COMMAND(fadeout, FogEffect, fadeOutFog);
  • branches/presentation/src/lib/graphics/effects/snow_effect.cc

    r9215 r9234  
    5757                if (this->windBuffer != NULL)
    5858                        ResourceManager::getInstance()->unload(this->windBuffer);
    59                         this->windBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load("sound/atmosphere/wind.wav", WAV);
     59          this->windBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load("sound/atmosphere/wind.wav", WAV);
    6060        }
    6161
  • branches/presentation/src/world_entities/space_ships/hover.cc

    r9230 r9234  
    2525
    2626#include "util/loading/factory.h"
    27 #include "util/loading/resource_manager.h"
     27//#include "util/loading/resource_manager.h"
    2828
    2929#include "key_mapper.h"
     
    5252{
    5353  this->setPlayer(NULL);
     54
     55  //if (this->hoverBuffer != NULL)
     56  //  ResourceManager::getInstance()->unload(this->hoverBuffer);
    5457}
    5558
     
    7174  this->loadParams(doc.RootElement());
    7275
    73  //load sound
    74   if (this->hoverBuffer != NULL)
    75     ResourceManager::getInstance()->unload(this->hoverBuffer);
    76   this->hoverBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load("sound/engine/hover.wav", WAV);
     76  //load sound
     77  //if (this->hoverBuffer != NULL)
     78  //  ResourceManager::getInstance()->unload(this->hoverBuffer);
     79  //this->hoverBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load("sound/engine/hover.wav", WAV);
    7780
    7881}
     
    116119{
    117120
    118   this->hitEntity = NULL;
    119   this->hoverBuffer = NULL;
     121  //this->hitEntity = NULL;
     122  //this->hoverBuffer = NULL;
    120123
    121124  //  this->setRelDir(Quaternion(M_PI, Vector(1,0,0)));
     
    229232  State::getCameraTargetNode()->setParentSoft(&this->cameraNode);
    230233
    231   this->soundSource.play(this->hoverBuffer, 0.3f, true);
     234  //this->soundSource.play(this->hoverBuffer, 0.3f, true);
    232235
    233236}
  • branches/presentation/src/world_entities/space_ships/hover.h

    r9230 r9234  
    88#define _HOVER_H
    99
    10 #include "sound_buffer.h"
    11 #include "sound_source.h"
     10//#include "sound_buffer.h"
     11//#include "sound_source.h"
    1212
    1313#include "playable.h"
     
    7373    WorldEntity*          hitEntity;
    7474
    75     OrxSound::SoundSource  soundSource;
    76     OrxSound::SoundBuffer* hoverBuffer;
     75    //OrxSound::SoundSource  soundSource;
     76    //OrxSound::SoundBuffer* hoverBuffer;
    7777};
    7878
Note: See TracChangeset for help on using the changeset viewer.