- Timestamp:
- 05/11/06 10:06:49 (19 years ago)
- Location:
- OGRE/trunk/ogre_changes/Ogre1.2/OgreMain
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
OGRE/trunk/ogre_changes/Ogre1.2/OgreMain/include/OgreRenderTarget.h
r921 r948 358 358 /// internal method for firing events 359 359 virtual void fireViewportRemoved(Viewport* vp); 360 361 #ifdef GAMETOOLS_ILLUMINATION_MODULE 362 public: 363 unsigned long getLastFrameNumber(){return lastFrame;} 364 protected: 365 unsigned long lastFrame; 366 #endif 367 360 368 }; 361 369 -
OGRE/trunk/ogre_changes/Ogre1.2/OgreMain/include/OgreRenderable.h
r921 r948 57 57 , mId(-1) 58 58 #endif // GTP_VISIBILITY_MODIFIED_OGRE 59 {} 59 60 61 { 62 #ifdef GAMETOOLS_ILLUMINATION_MODULE 63 this->mRenderTechniqueGroup = 0; 64 #endif 65 } 60 66 61 67 /** Virtual destructor needed as class has virtual methods. */ … … 263 269 int mId; 264 270 #endif // GTP_VISIBILITY_MODIFIED_OGRE 271 272 273 #ifdef GAMETOOLS_ILLUMINATION_MODULE 274 public: 275 276 virtual void setRenderTechniqueGroup(UserDefinedObject* renderTechniqueGroup) 277 { 278 this->mRenderTechniqueGroup = renderTechniqueGroup; 279 } 280 281 virtual UserDefinedObject* getRenderTechniqueGroup(void) const 282 { 283 return this->mRenderTechniqueGroup; 284 } 285 286 virtual void setMaterialName(const String &name){} 287 288 protected: 289 290 UserDefinedObject* mRenderTechniqueGroup; 291 #endif 292 265 293 }; 266 294 -
OGRE/trunk/ogre_changes/Ogre1.2/OgreMain/include/OgreSceneManager.h
r921 r948 2379 2379 */ 2380 2380 RenderSystem *getDestinationRenderSystem(); 2381 2382 2383 #ifdef GAMETOOLS_ILLUMINATION_MODULE 2384 public: 2385 void prepareRenderQueue_Wrap(){this->prepareRenderQueue();} 2386 #endif 2387 2388 2381 2389 }; 2382 2390 -
OGRE/trunk/ogre_changes/Ogre1.2/OgreMain/src/OgreSceneManager.cpp
r921 r948 1046 1046 1047 1047 // Prepare render queue for receiving new objects 1048 prepareRenderQueue(); 1048 #ifdef GAMETOOLS_ILLUMINATION_MODULE 1049 if (mFindVisibleObjects) 1050 prepareRenderQueue(); 1051 #else 1052 prepareRenderQueue(); 1053 #endif 1054 1055 1049 1056 1050 1057 if (mFindVisibleObjects) … … 2205 2212 return false; 2206 2213 } 2214 2215 #ifdef GAMETOOLS_ILLUMINATION_MODULE 2216 if(!pass->isActive()) 2217 return false; 2218 #endif 2219 2220 2207 2221 2208 2222 return true; -
OGRE/trunk/ogre_changes/Ogre1.2/OgreMain/src/OgreTextureUnitState.cpp
r768 r948 87 87 mParent = parent; 88 88 mAnimController = 0; 89 *this = oth; 90 #ifdef GAMETOOLS_ILLUMINATION_MODULE 91 isVT = false; 92 #endif 89 *this = oth; 93 90 } 94 91 … … 174 171 mParent->_dirtyHash(); 175 172 } 173 174 #ifdef GAMETOOLS_ILLUMINATION_MODULE 175 isVT = oth.isVT; 176 #endif 176 177 177 178 return *this;
Note: See TracChangeset
for help on using the changeset viewer.