Changeset 10692 in orxonox.OLD for branches/vs-enhencements
- Timestamp:
- Jun 14, 2007, 12:50:56 PM (18 years ago)
- Location:
- branches/vs-enhencements/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vs-enhencements/src/world_entities/space_ships/space_ship.cc
r10691 r10692 179 179 180 180 // printf("done\nloading primary weapons..."); 181 this->weaponMan.addWeaponToSlot(0, 0, "RFCannon");182 this->weaponMan.addWeaponToSlot(0, 1, "RFCannon");181 // this->weaponMan.addWeaponToSlot(0, 0, "RFCannon"); 182 // this->weaponMan.addWeaponToSlot(0, 1, "RFCannon"); 183 183 this->weaponMan.addWeaponToSlot(0, 2, "RFCannon"); 184 184 this->weaponMan.addWeaponToSlot(0, 3, "RFCannon"); 185 this->weaponMan.addWeaponToSlot(1, 0, "RFCannon");186 this->weaponMan.addWeaponToSlot(1, 1, "RFCannon");185 // this->weaponMan.addWeaponToSlot(1, 0, "RFCannon"); 186 // this->weaponMan.addWeaponToSlot(1, 1, "RFCannon"); 187 187 this->weaponMan.addWeaponToSlot(1, 2, "RFCannon"); 188 188 this->weaponMan.addWeaponToSlot(1, 3, "RFCannon"); … … 475 475 { 476 476 477 printf( "loading WS..." );477 // printf( "loading WS..." ); 478 478 479 479 if( !this->bInit) 480 480 { 481 481 // now get slots from the mount points 482 // printf("initializing... "); 482 483 std::map<int, MountPoint*>::iterator it = this->mountPointMap.begin(); 483 484 for( ;it != this->mountPointMap.end(); it++) … … 492 493 // PRINTF(0)("setting slot %i\n", slot); 493 494 // (*it).second->getCenter().debug(); 495 // printf("*"); 494 496 } 495 497 } 496 498 this->bInit = true; 497 499 } 498 printf (" done\n");500 // printf (" done\n"); 499 501 500 502 // Playable::tick(time); … … 853 855 State::getCamera()->setEventHandling(false); 854 856 855 PRINTF(0)(" \n\n\n\n\n\n\n\nSETCAMERA %x\n\n\n\n\n\n\n", State::getCamera());857 PRINTF(0)("SETCAMERA %x", State::getCamera()); 856 858 State::getCamera()->setViewMode(Camera::ViewNormal); 857 859 State::getCameraTargetNode()->setParent(this); -
branches/vs-enhencements/src/world_entities/weapons/weapon_manager.cc
r10678 r10692 319 319 this->slotConfigs[slotID]->setWeapon(weapon, configID); 320 320 weapon->setAmmoContainer(this->getAmmoContainer(weapon->getProjectileType())); 321 //if(configID == this->currentConfigID)322 // this->slotConfigs[slotID]->setNextWeapon(weapon);321 if(configID == this->currentConfigID) 322 this->slotConfigs[slotID]->setNextWeapon(configID); 323 323 //if (this->parent != NULL) 324 324 { -
branches/vs-enhencements/src/world_entities/weapons/weapon_slot.cc
r10676 r10692 68 68 69 69 LoadParam(root, "addWeapon", this, WeaponSlot, addWeapon) 70 .describe("create a new Weapon, and add it to config"); 70 .describe("create a new Weapon, and add it to config") 71 .defaultValues("", 0); 71 72 } 72 73
Note: See TracChangeset
for help on using the changeset viewer.