Changeset 1902 in orxonox.OLD for orxonox/trunk
- Timestamp:
- May 24, 2004, 12:13:56 AM (21 years ago)
- Location:
- orxonox/trunk/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/core/orxonox.cc
r1900 r1902 107 107 localPlayer = new Player; 108 108 localPlayer->setPosition(0.0, -10.0, 3.0); 109 localPlayer->setCollisionRadius(2.0); 109 110 io = new InputOutput(world, localPlayer); 110 111 (*world).addPlayer(localPlayer); … … 136 137 /* this is very very unsafe: io could be uninit */ 137 138 io->setPlayerStep(19.2 / fps); /* set player to propper speed */ 138 //localPlayer->shootLaser->setShootStep(fps/48.0); /* set shoot speed */139 localPlayer->shootLaser->setShootStep(fps/48.0); /* set shoot speed */ 139 140 fps = 0; 140 141 inputEnabled = true; -
orxonox/trunk/core/world.cc
r1900 r1902 263 263 /* second: check if any player hits an enemy */ 264 264 265 /*265 266 266 tmpPlayer = lastPlayer; 267 267 while( tmpPlayer != null ) … … 283 283 } 284 284 285 */285 286 286 287 287 /* third: check if any enemy shoots a player */
Note: See TracChangeset
for help on using the changeset viewer.