- Timestamp:
- May 9, 2019, 3:08:21 PM (6 years ago)
- Location:
- code/branches/Boxhead_FS19
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Boxhead_FS19/data/levels/templates/spaceshipzombie.oxt
r12300 r12358 36 36 linearDamping = 0.2 37 37 angularDamping = 0.9999999 38 collisiondamage = 100 39 enablecollisiondamage = true 38 40 39 41 -
code/branches/Boxhead_FS19/src/modules/hover/Hover.cc
r12354 r12358 36 36 #include "HoverOrigin.h" 37 37 #include "HoverWall.h" 38 39 #include "MazeGenerator.h"38 // #include "HoverFlag.h" 39 #include "MazeGenerator.h" 40 40 #include "core/CoreIncludes.h" 41 41 #include "core/input/KeyBinderManager.h" 42 42 43 43 … … 46 46 RegisterUnloadableClass(Hover); 47 47 48 49 50 51 48 52 Hover::Hover(Context* context) : Gametype(context) 49 53 { 54 55 56 // HoverKeyBinderManager::getInstance().setConfigValues(); 57 58 59 // KeyBinderManager::getInstance().unbind("YNeg"); 60 // KeyBinderManager::getInstance().unbind("YPos"); 61 50 62 RegisterObject(Hover); 51 63 … … 98 110 // for ( int i = 0; i < 5; i++ ) 99 111 // { 100 // HoverFlag* zombieship = new SpaceShip(origin_->getContext());112 // HoverFlag* flag = new HoverFlag(origin_->getContext()); 101 113 // flag->init(rand()%numCells, rand()%numCells, cellSize); 102 114 // flags_.push_back(flag); -
code/branches/Boxhead_FS19/src/modules/hover/HoverShip.cc
r11495 r12358 101 101 } 102 102 103 if(otherObject->isA(Class(SpaceShip))) 104 { 105 removeHealth(0.1); 106 } 107 103 108 return false; 104 109 }
Note: See TracChangeset
for help on using the changeset viewer.