Changeset 8927 in orxonox.OLD for branches/single_player_map
- Timestamp:
- Jun 29, 2006, 11:39:12 PM (19 years ago)
- Location:
- branches/single_player_map/src
- Files:
-
- 2 added
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/defs/class_id.h
r8894 r8927 188 188 CL_SKYDOME = 0x00000313, 189 189 CL_DOOR = 0x00000314, 190 CL_REPAIR_STATION = 0x00000315, 191 CL_CRANE = 0x00000316, 192 CL_BRAKING_WALL = 0X00000317, 190 193 191 194 // Playables -
branches/single_player_map/src/lib/collision_reaction/cr_physics_ground_walk.cc
r8925 r8927 87 87 Vector normal = ce->getGroundNormal(); 88 88 89 // c ollision position maths89 // calculate the collision position 90 90 Vector collPos = collision->getEntityB()->getAbsCoor() + box->center - ce->getCollisionPosition(); 91 91 … … 98 98 front = collPos.x - box->halfLength[0]; 99 99 100 PRINTF(0)("front: %f\n", front);101 PRINTF(0)("in wall %i\n", ce->isInWall());100 // PRINTF(0)("front: %f\n", front); 101 // PRINTF(0)("in wall %i\n", ce->isInWall()); 102 102 103 103 // object is beneath the plane (ground) … … 119 119 height = collPos.y - box->halfLength[1]; 120 120 121 PRINTF(0)("height: %f\n", height);122 PRINTF(0)("in wall %i\n", ce->isInWall());121 // PRINTF(0)("height: %f\n", height); 122 // PRINTF(0)("in wall %i\n", ce->isInWall()); 123 123 124 124 // object is beneath the plane (ground) … … 140 140 side = collPos.z - box->halfLength[2]; 141 141 142 PRINTF(0)("side: %f\n", side);143 PRINTF(0)("in wall %i\n", ce->isInWall());142 // PRINTF(0)("side: %f\n", side); 143 // PRINTF(0)("in wall %i\n", ce->isInWall()); 144 144 145 145 // object is beneath the plane (ground) … … 155 155 break; 156 156 } 157 PRINTF(0)("collision distanzes: x: %f, y: %f, z: %f\n", front, height, side); 157 158 } 158 159 -
branches/single_player_map/src/world_entities/WorldEntities.am
r8894 r8927 5 5 world_entities/npcs/ground_turret.cc \ 6 6 world_entities/npcs/generic_npc.cc \ 7 world_entities/npcs/door.cc \ 7 8 \ 8 9 world_entities/environment.cc \ … … 16 17 world_entities/character_attributes.cc \ 17 18 world_entities/test_entity.cc \ 18 world_entities/door.cc \19 19 world_entities/planet.cc \ 20 20 world_entities/bsp_entity.cc \ … … 66 66 npcs/npc_test1.h \ 67 67 npcs/ground_turret.h \ 68 npcs/door.cc \ 69 \ 68 70 environment.h \ 69 71 skysphere.h \ … … 76 78 character_attributes.h \ 77 79 test_entity.h \ 78 door.h \79 80 planet.h \ 80 81 bsp_entity.h \
Note: See TracChangeset
for help on using the changeset viewer.