Changeset 2418 for GTP/trunk/App/Demos/Illum/Ogre/src/Common
- Timestamp:
- 06/06/07 19:19:42 (18 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
r2411 r2418 62 62 bool mDebug; 63 63 64 virtual String getAnimStateName(PlayerAnimState as, int option = 0){return " walk";}64 virtual String getAnimStateName(PlayerAnimState as, int option = 0){return "stand";} 65 65 virtual void setAnimState(PlayerAnimState as) 66 66 { -
GTP/trunk/App/Demos/Illum/Ogre/src/Common/src/FPSPlayer.cpp
r2415 r2418 95 95 { 96 96 mCharacterMeshEntity = mSceneManager->createEntity(mName, meshname); 97 mCharacterMeshEntity->setCastShadows( true);97 mCharacterMeshEntity->setCastShadows(false); 98 98 mMeshScale = meshscale; 99 99 mCurrentAnimState = PLAYERANIMSTATE_STAND; … … 242 242 if(mCharacterController ) 243 243 ((MyCharMoveController*)mCharacterController)->movespeed = 1.5; 244 mPlayerCharacter->addMovement(Character::DR_StepRight);244 //mPlayerCharacter->addMovement(Character::DR_StepRight); 245 245 //} 246 246 247 247 } 248 if(mCharacterMeshEntity)249 setAnimState(PLAYERANIMSTATE_WALK);248 //if(mCharacterMeshEntity) 249 //setAnimState(PLAYERANIMSTATE_WALK); 250 250 } 251 251
Note: See TracChangeset
for help on using the changeset viewer.