Changeset 12211
- Timestamp:
- Mar 14, 2019, 4:03:00 PM (6 years ago)
- Location:
- code/branches/Boxhead_FS19
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Boxhead_FS19/data/levels/includes/weaponSettingsHover.oxi
r12194 r12211 7 7 <WeaponSet firemode=1 /> 8 8 </weaponsets> 9 < !--<weaponpacks>9 <weaponpacks> 10 10 <WeaponPack> 11 11 <links> … … 25 25 </links> 26 26 </WeaponPack> 27 </weaponpacks> -->27 </weaponpacks> 28 28 <munition> 29 29 <IceMunition initialmagazines=1 maxmagazines=1 munitionpermagazine=10/> -
code/branches/Boxhead_FS19/src/modules/hover/Hover.cc
r11495 r12211 82 82 83 83 //Generate inner Walls according to levelcode 84 for(int y=0; y<numCells; y++){85 for(int x=0; x<numCells; x++){86 switch(levelcode[ y * numCells + x ]){87 case 1: (new HoverWall(origin_->getContext()))->init(x+1, numCells-y, cellSize, cellHeight, 1);88 break;89 case 3: (new HoverWall(origin_->getContext()))->init(x+1, numCells-y, cellSize, cellHeight, 1);90 case 2: (new HoverWall(origin_->getContext()))->init(x+1, numCells-y, cellSize, cellHeight, 0);91 default: break;92 }93 }94 }84 // for(int y=0; y<numCells; y++){ 85 // for(int x=0; x<numCells; x++){ 86 // switch(levelcode[ y * numCells + x ]){ 87 // case 1: (new HoverWall(origin_->getContext()))->init(x+1, numCells-y, cellSize, cellHeight, 1); 88 // break; 89 // case 3: (new HoverWall(origin_->getContext()))->init(x+1, numCells-y, cellSize, cellHeight, 1); 90 // case 2: (new HoverWall(origin_->getContext()))->init(x+1, numCells-y, cellSize, cellHeight, 0); 91 // default: break; 92 // } 93 // } 94 // } 95 95 96 96 //Generate 5 flags randomly
Note: See TracChangeset
for help on using the changeset viewer.