Changeset 8968 in orxonox.OLD for branches/single_player_map/src
- Timestamp:
- Jun 30, 2006, 6:23:17 PM (19 years ago)
- Location:
- branches/single_player_map/src/world_entities
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/creatures/fps_player.cc
r8952 r8968 211 211 { 212 212 this->bPosBut = false; 213 printf(" guard:walkTo( %f, height, %f)\n",this->getAbsCoorX(),this->getAbsCoorZ());213 printf("prisoner:walkTo( %f, height, %f)\n",this->getAbsCoorX(),this->getAbsCoorZ()); 214 214 } 215 215 -
branches/single_player_map/src/world_entities/npcs/generic_npc.cc
r8967 r8968 528 528 this->fallVelocity += 300.0f * dt; 529 529 velocity -= Vector(0.0, 1.0, 0.0) * this->fallVelocity; 530 PRINTF(0)("%s is not on ground\n", this->getName());530 // PRINTF(0)("%s is not on ground\n", this->getName()); 531 531 } 532 532 else -
branches/single_player_map/src/world_entities/npcs/npc.cc
r8894 r8968 29 29 30 30 this->toList(OM_GROUP_00); 31 31 32 } 32 33 -
branches/single_player_map/src/world_entities/test_entity.cc
r8778 r8968 37 37 38 38 CREATE_FACTORY(TestEntity, CL_TEST_ENTITY); 39 40 #include "script_class.h" 41 CREATE_SCRIPTABLE_CLASS(TestEntity, CL_TEST_ENTITY, 42 addMethod("setAbsCoor", ExecutorLua3<PNode,float,float,float>(&PNode::setAbsCoor)) 43 ->addMethod("getAbsCoorX", ExecutorLua0ret<PNode, float>(&PNode::getAbsCoorX)) 44 ->addMethod("getAbsCoorY", ExecutorLua0ret<PNode, float>(&PNode::getAbsCoorY)) 45 ->addMethod("getAbsCoorZ", ExecutorLua0ret<PNode, float>(&PNode::getAbsCoorZ)) 46 47 ); 39 48 40 49
Note: See TracChangeset
for help on using the changeset viewer.