Changeset 10386 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Jan 26, 2007, 6:07:39 PM (18 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.h
r10379 r10386 7 7 #define _CAMERA_H 8 8 9 #include " p_node.h"9 #include "world_entity.h" 10 10 #include "event_listener.h" 11 11 #include "plane.h" … … 20 20 * This class controls the viewpoint from which the World is rendered. 21 21 */ 22 class Camera : public PNode, public EventListener22 class Camera : public WorldEntity, public EventListener 23 23 { 24 24 friend class CameraTarget; … … 51 51 52 52 /** @param fovy new field of view factor (in degrees) */ 53 inline void setFovy(float fovy) 54 { 55 this->fovy = fovy; 53 inline void setFovy(float fovy) 54 { 55 this->fovy = fovy; 56 56 this->toFovy = fovy; 57 57 }; … … 132 132 float viewFrontDistance; 133 133 float viewNormalDistance; 134 134 135 135 }; 136 136 -
trunk/src/world_entities/npcs/generic_npc.cc
r10114 r10386 89 89 this->toList(OM_GROUP_00); 90 90 91 this->soundBuffer = OrxSound::ResourceSoundBuffer("sound/rain.wav");91 // this->soundBuffer = OrxSound::ResourceSoundBuffer("sound/rain.wav"); 92 92 93 93 time = 30.0f;
Note: See TracChangeset
for help on using the changeset viewer.