| 1105 | } |
| 1106 | |
| 1107 | void RenderManager::rrDestroySeatVisionVisualDebug(int seatId, Tile* tile) |
| 1108 | { |
| 1109 | std::stringstream tempSS; |
| 1110 | tempSS << "Seat_Vision_indicator" << seatId << "_" |
| 1111 | << tile->getX() << "_" << tile->getY(); |
| 1112 | if (mSceneManager->hasEntity(tempSS.str())) |
| 1113 | { |
| 1114 | Ogre::Entity* visIndicatorEntity = mSceneManager->getEntity(tempSS.str()); |
| 1115 | Ogre::SceneNode* visIndicatorNode = mSceneManager->getSceneNode(tempSS.str() + "_node"); |
| 1116 | |
| 1117 | visIndicatorNode->detachAllObjects(); |
| 1118 | mSceneManager->destroyEntity(visIndicatorEntity); |
| 1119 | mSceneManager->destroySceneNode(visIndicatorNode); |
| 1120 | } |
| 1121 | } |
| 1122 | |
| 1123 | void RenderManager::rrSetObjectAnimationState(MovableGameEntity* curAnimatedObject, const std::string& animation, bool loop) |
| 1124 | { |
no test coverage detected