Changeset 2462 for GTP/trunk/App/Demos/Illum/Ogre/src
- Timestamp:
- 06/25/07 13:19:03 (17 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/src/Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/Common/include/FPSPlayer.h
r2459 r2462 78 78 79 79 static unsigned int frameListenerPriority; 80 81 Entity* getMeshEntity(){return mCharacterMeshEntity;} 80 82 81 83 protected: … … 185 187 } 186 188 187 void levelUp(){mMaxHealth += 30; mHealth = mMaxHealth;} 189 void levelUp(){mMaxHealth += 30; mHealth = mMaxHealth; 190 mMaxStrength += 20; mStrength = mMaxStrength; 191 mMaxManna += 30; mManna = mMaxManna;} 188 192 189 193 static FPSPlayer* thePlayer; -
GTP/trunk/App/Demos/Illum/Ogre/src/Common/src/FPSPlayer.cpp
r2459 r2462 28 28 troll->addPlayerMesh("troll.mesh", 0.05, false); 29 29 troll->addWeaponModel("trollMace.mesh", "RightHand"); 30 OgreIlluminationManager::getSingleton().initTechniques(troll->getMeshEntity()); 30 31 trollID++; 31 32 } … … 862 863 { 863 864 mHealth = mMaxHealth; 865 mStrength = mMaxStrength; 866 mManna = mMaxManna; 867 864 868 CompositorManager::getSingleton().setCompositorEnabled(OgreIlluminationManager::getSingleton().getMainViewport(), 865 869 "GTP/PostProc/MotionBlur", false);
Note: See TracChangeset
for help on using the changeset viewer.