Changeset 3210 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Dec 18, 2004, 12:46:28 AM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/player.cc
r3209 r3210 27 27 28 28 this->obj = new Object ("reaplow.obj"); 29 29 /* 30 30 objectList = glGenLists(1); 31 31 glNewList (objectList, GL_COMPILE); … … 51 51 52 52 glEndList (); 53 53 */ 54 54 } 55 55 56 56 Player::~Player () 57 57 { 58 59 58 delete this->obj; 60 59 } … … 120 119 void Player::get_lookat (Location* locbuf) 121 120 { 122 123 121 *locbuf = *get_location(); 122 //locbuf->dist += 5.0; 124 123 } 125 124 … … 144 143 if( bRight ) { accel = accel - (orthDirection*acceleration); } 145 144 if( bAscend ) { /* not yet implemented but just: (0,0,1)*acceleration */} 146 if( bDescend) {/* FIXME */} 145 if( bDescend) {/* FIXME */} /* \todo up and down player movement */ 147 146 148 147 Location* l = get_location(); -
orxonox/trunk/src/world.cc
r3209 r3210 580 580 display(); 581 581 582 for(int i = 0; i < 1000000 ; i++){}582 for(int i = 0; i < 10000000; i++) {} 583 583 584 584 }
Note: See TracChangeset
for help on using the changeset viewer.