Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 12211


Ignore:
Timestamp:
Mar 14, 2019, 4:03:00 PM (5 years ago)
Author:
cwaupoti
Message:

removed walls, added ice gun

Location:
code/branches/Boxhead_FS19
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Boxhead_FS19/data/levels/includes/weaponSettingsHover.oxi

    r12194 r12211  
    77  <WeaponSet firemode=1 />
    88</weaponsets>
    9 <!--<weaponpacks>
     9<weaponpacks>
    1010  <WeaponPack>
    1111    <links>
     
    2525    </links>
    2626  </WeaponPack>
    27 </weaponpacks> -->
     27</weaponpacks>
    2828<munition>
    2929  <IceMunition initialmagazines=1 maxmagazines=1 munitionpermagazine=10/>
  • code/branches/Boxhead_FS19/src/modules/hover/Hover.cc

    r11495 r12211  
    8282
    8383            //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            // }
    9595
    9696            //Generate 5 flags randomly
Note: See TracChangeset for help on using the changeset viewer.