Changeset 7168 for code/trunk/src
- Timestamp:
- Aug 16, 2010, 11:26:05 PM (14 years ago)
- Location:
- code/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/util/OgreForwardRefs.h
r5781 r7168 75 75 class GpuProgramPtr; 76 76 class GpuProgramManager; 77 77 class GpuProgramUsage; 78 78 class HardwareIndexBuffer; 79 79 class HardwareOcclusionQuery; 80 80 class HardwareVertexBuffer; 81 81 class HardwarePixelBuffer; 82 82 class HardwarePixelBufferSharedPtr; 83 83 class HighLevelGpuProgram; 84 84 class HighLevelGpuProgramPtr; 85 86 85 class HighLevelGpuProgramManager; 86 class HighLevelGpuProgramFactory; 87 87 class IndexData; 88 88 class IntersectionSceneQuery; … … 93 93 class Log; 94 94 class LogManager; 95 96 95 class ManualResourceLoader; 96 class ManualObject; 97 97 class Material; 98 98 class MaterialPtr; … … 111 111 class MovablePlane; 112 112 class Node; 113 114 115 116 113 class NodeAnimationTrack; 114 class NodeKeyFrame; 115 class NumericAnimationTrack; 116 class NumericKeyFrame; 117 117 class Overlay; 118 118 class OverlayContainer; … … 135 135 class Plane; 136 136 class PlaneBoundedVolume; 137 137 class Plugin; 138 138 class Pose; 139 139 class ProgressiveMesh; 140 140 class Profile; 141 141 class Profiler; 142 142 class Quaternion; 143 143 class Radian; 144 144 class Ray; 145 145 class RaySceneQuery; … … 149 149 class RenderQueue; 150 150 class RenderQueueGroup; 151 152 151 class RenderQueueInvocation; 152 class RenderQueueInvocationSequence; 153 153 class RenderQueueListener; 154 154 class RenderSystem; … … 157 157 class RenderTargetListener; 158 158 class RenderTexture; 159 159 class MultiRenderTarget; 160 160 class RenderWindow; 161 161 class RenderOperation; 162 162 class Resource; 163 164 163 class ResourceBackgroundQueue; 164 class ResourceGroupManager; 165 165 class ResourceManager; 166 166 class RibbonTrail; 167 167 class Root; 168 168 class SceneManager; 169 169 class SceneManagerEnumerator; … … 171 171 class SceneQuery; 172 172 class SceneQueryListener; 173 173 class ScriptLoader; 174 174 class Serializer; 175 175 class ShadowCaster; 176 176 class ShadowRenderable; 177 177 class ShadowTextureManager; 178 178 class SimpleRenderable; 179 179 class SimpleSpline; … … 184 184 class Sphere; 185 185 class SphereSceneQuery; 186 186 class StaticGeometry; 187 187 class StringConverter; 188 188 class StringInterface; 189 189 class SubEntity; 190 190 class SubMesh; 191 191 class TagPoint; 192 192 class Technique; 193 194 193 class TempBlendedBufferInfo; 194 class ExternalTextureSource; 195 195 class TextureUnitState; 196 196 class Texture; 197 197 class TexturePtr; 198 198 class TextureFont; 199 199 class TextureManager; 200 200 class TransformKeyFrame; 201 201 class Timer; 202 202 class UserDefinedObject; 203 203 class Vector2; … … 205 205 class Vector4; 206 206 class Viewport; 207 207 class VertexAnimationTrack; 208 208 class VertexBufferBinding; 209 209 class VertexData; 210 210 class VertexDeclaration; 211 211 class VertexMorphKeyFrame; 212 212 class WireBoundingBox; 213 213 class Compositor; -
code/trunk/src/orxonox/controllers/AIController.cc
r7163 r7168 212 212 if (this->target_) 213 213 { 214 215 216 else this->aimAtTarget();217 }214 if (!this->target_->getRadarVisibility()) /* So AI won't shoot invisible Spaceships */ 215 this->forgetTarget(); 216 else this->aimAtTarget(); 217 } 218 218 219 219 if (this->bHasTargetPosition_) … … 245 245 if (this->target_) 246 246 { 247 248 247 if (!this->target_->getRadarVisibility()) /* So AI won't shoot invisible Spaceships */ 248 this->forgetTarget(); 249 249 else this->aimAtTarget(); 250 250 }
Note: See TracChangeset
for help on using the changeset viewer.