Changeset 7460 in orxonox.OLD for trunk/src/world_entities/power_ups
- Timestamp:
- May 1, 2006, 12:30:34 AM (19 years ago)
- Location:
- trunk/src/world_entities/power_ups
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/power_ups/power_up.cc
r7221 r7460 82 82 else if (!pickupSound.empty()) 83 83 { 84 this->pickupBuffer = ( SoundBuffer*)ResourceManager::getInstance()->load(pickupSound, WAV);84 this->pickupBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load(pickupSound, WAV); 85 85 if (this->pickupBuffer != NULL) 86 86 { … … 103 103 else if (!respawnSound.empty()) 104 104 { 105 this->respawnBuffer = ( SoundBuffer*)ResourceManager::getInstance()->load(respawnSound, WAV);105 this->respawnBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load(respawnSound, WAV); 106 106 if (this->respawnBuffer != NULL) 107 107 { -
trunk/src/world_entities/power_ups/power_up.h
r7221 r7460 45 45 46 46 private: 47 SoundSourcesoundSource;48 SoundBuffer*pickupBuffer;49 SoundBuffer*respawnBuffer;50 Material* sphereMaterial;51 PowerUpRespawn respawnType;52 float respawnTime;53 float respawnStart;54 static const char* respawnTypes[];47 OrxSound::SoundSource soundSource; 48 OrxSound::SoundBuffer* pickupBuffer; 49 OrxSound::SoundBuffer* respawnBuffer; 50 Material* sphereMaterial; 51 PowerUpRespawn respawnType; 52 float respawnTime; 53 float respawnStart; 54 static const char* respawnTypes[]; 55 55 56 WorldEntity* collider;56 WorldEntity* collider; 57 57 }; 58 58
Note: See TracChangeset
for help on using the changeset viewer.