Changeset 10664
- Timestamp:
- Oct 19, 2015, 3:15:11 PM (9 years ago)
- Location:
- code/branches/hoverHS15
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hoverHS15/data/levels/Hover.oxw
r10660 r10664 17 17 18 18 <Level 19 plugins = hover 19 20 gametype = Hover 20 21 > -
code/branches/hoverHS15/src/modules/hover/Hover.cc
r10660 r10664 41 41 RegisterUnloadableClass(Hover); 42 42 43 Hover::Hover(Context* context) : Game Type(context)43 Hover::Hover(Context* context) : Gametype(context) 44 44 { 45 45 RegisterObject(Hover); … … 63 63 64 64 // Call start for the parent class. 65 Game Type::start();65 Gametype::start(); 66 66 } 67 67 -
code/branches/hoverHS15/src/modules/hover/Hover.h
r10660 r10664 36 36 #define _Hover_H__ 37 37 38 #include "Hover/HoverPrereqs.h" 39 40 #include "HoverCenterPoint.h" // Necessary for WeakPointer?? 38 #include "HoverPrereqs.h" 39 //#include "HoverCenterPoint.h" // Necessary for WeakPointer?? 41 40 //#include "HoverShip.h" DO NOT include in Header. Will cause forward declaration issues 42 41 43 42 //#include "HoverHUDinfo.h" 44 43 45 44 #include "gametypes/Gametype.h" 46 45 #include "core/EventIncludes.h" 47 46 #include "core/command/Executor.h" … … 56 55 57 56 #include "core/command/ConsoleCommand.h" 58 #include "worldentities/BigExplosion.h"59 57 60 #include "gametypes/Deathmatch.h"61 58 #include "tools/Timer.h" 62 59 … … 64 61 { 65 62 66 class _HoverExport Hover : public Game Type63 class _HoverExport Hover : public Gametype 67 64 { 68 65 public: … … 74 71 virtual void tick(float dt); 75 72 76 void setCenterpoint(HoverCenterPoint* center)77 { this->center_ = center; }73 // void setCenterpoint(HoverCenterPoint* center) 74 // { this->center_ = center; } 78 75 79 76 -
code/branches/hoverHS15/src/modules/hover/HoverPrereqs.h
r10659 r10664 68 68 namespace orxonox 69 69 { 70 class Hover :70 class Hover; 71 71 class HoverShip; 72 72 } -
code/branches/hoverHS15/src/modules/hover/HoverShip.cc
r10661 r10664 49 49 } 50 50 51 Hover* HoverShip::getGame()51 /* Hover* HoverShip::getGame() 52 52 { 53 /*if (game == NULL)53 if (game == NULL) 54 54 { 55 55 for (ObjectList<Hover>::iterator it = ObjectList<Hover>::begin(); it != ObjectList<Hover>::end(); ++it) … … 58 58 } 59 59 } 60 return game; */61 } 60 return game; 61 }*/ 62 62 }
Note: See TracChangeset
for help on using the changeset viewer.