Changeset 8915 in orxonox.OLD for branches/single_player_map
- Timestamp:
- Jun 29, 2006, 5:30:10 PM (19 years ago)
- Location:
- branches/single_player_map/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/collision_reaction/cr_physics_ground_walk.cc
r8910 r8915 64 64 65 65 // put it back 66 PRINTF(0)("putting it back to lastPos: \n");66 // PRINTF(0)("putting it back to lastPos: \n"); 67 67 //this->lastPositions[0].debug(); 68 PRINTF(0)("current pos:\n");68 // PRINTF(0)("current pos:\n"); 69 69 collision->getEntityB()->getAbsCoor().debug(); 70 70 … … 97 97 98 98 case COLLISION_TYPE_AXIS_X: 99 PRINTF(0)("height: %f , model height: %f\n", height, box->halfLength[1]);100 PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z);101 PRINTF(0)("COLLISION_TYPE_AXIS_X \n");99 // PRINTF(0)("height: %f , model height: %f\n", height, box->halfLength[1]); 100 // PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z); 101 // PRINTF(0)("COLLISION_TYPE_AXIS_X \n"); 102 102 break; 103 103 case COLLISION_TYPE_AXIS_Y: 104 104 105 105 height = collPos.y - box->halfLength[1]; 106 PRINTF(0)("height: %f , model height: %f\n", height, box->halfLength[1]);107 PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z);108 PRINTF(0)("COLLISION_TYPE_AXIS_Y \n");106 // PRINTF(0)("height: %f , model height: %f\n", height, box->halfLength[1]); 107 // PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z); 108 // PRINTF(0)("COLLISION_TYPE_AXIS_Y \n"); 109 109 // // object is beneath the plane (ground) 110 110 // if( height <= 0.0f ) … … 122 122 123 123 case COLLISION_TYPE_AXIS_Z: 124 PRINTF(0)("height: %f , model height: %f\n", height, box->halfLength[1]);125 PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z);126 PRINTF(0)("COLLISION_TYPE_AXIS_Z \n");124 // PRINTF(0)("height: %f , model height: %f\n", height, box->halfLength[1]); 125 // PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z); 126 // PRINTF(0)("COLLISION_TYPE_AXIS_Z \n"); 127 127 break; 128 128 -
branches/single_player_map/src/lib/event/event_handler.cc
r8894 r8915 357 357 else 358 358 { 359 //SDL_WM_GrabInput(SDL_GRAB_ON);360 //SDL_ShowCursor(SDL_DISABLE);359 SDL_WM_GrabInput(SDL_GRAB_ON); 360 SDL_ShowCursor(SDL_DISABLE); 361 361 } 362 362 } -
branches/single_player_map/src/lib/script_engine/script_manager.cc
r8711 r8915 74 74 while(!scripts->empty()) 75 75 delete scripts->front(); 76 //Delete all triggers 77 if(this->getTriggers()) 78 while(!triggers->empty()) 79 delete triggers->front(); 80 76 81 } 77 82 -
branches/single_player_map/src/world_entities/npcs/generic_npc.cc
r8914 r8915 184 184 void GenericNPC::walkTo(const Vector& coordinate) 185 185 { 186 186 187 GenericNPC::Anim anim; 187 188 anim.v = coordinate; … … 193 194 void GenericNPC::walkTo(float x, float y, float z) 194 195 { 196 printf("Walking to %f, %f, %f \n",x,y,z); 195 197 this->walkTo(Vector(x,y,z)); 196 198
Note: See TracChangeset
for help on using the changeset viewer.