Changeset 9879 for code/branches/invaders/src/modules/invader
- Timestamp:
- Dec 9, 2013, 2:08:26 PM (11 years ago)
- Location:
- code/branches/invaders/src/modules/invader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/invaders/src/modules/invader/Invader.cc
r9874 r9879 69 69 bEndGame = false; 70 70 lives = 3; 71 // TODO:72 71 level = 1; 73 72 point = 0; … … 114 113 return; 115 114 srand(player->getPosition().x + player->getPosition().y); 116 for (int i = 0; i < (3*log (level) + 1); i++)115 for (int i = 0; i < (3*log10(level) + 1); i++) 117 116 { 118 117 WeakPtr<InvaderEnemy> newPawn; -
code/branches/invaders/src/modules/invader/InvaderWeaponEnemy.cc
r9874 r9879 48 48 // SUPER(InvaderWeaponEnemy, shot); 49 49 // only shoot in foreward direction 50 projectile->setVelocity(Vector3(1, 0, 0) * -500);50 projectile->setVelocity(Vector3(1, 0, 0) * 300); 51 51 // projectile->setOrientation(Quaternion(sqrt(0.5),0,sqrt(0.5),0)); 52 52 }
Note: See TracChangeset
for help on using the changeset viewer.