Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10664


Ignore:
Timestamp:
Oct 19, 2015, 3:15:11 PM (9 years ago)
Author:
meierman
Message:

First (emptz) functioning version

Location:
code/branches/hoverHS15
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hoverHS15/data/levels/Hover.oxw

    r10660 r10664  
    1717
    1818<Level
     19plugins = hover
    1920gametype = Hover
    2021>
  • code/branches/hoverHS15/src/modules/hover/Hover.cc

    r10660 r10664  
    4141    RegisterUnloadableClass(Hover);
    4242
    43     Hover::Hover(Context* context) : GameType(context)
     43    Hover::Hover(Context* context) : Gametype(context)
    4444    {
    4545        RegisterObject(Hover);
     
    6363
    6464        // Call start for the parent class.
    65         GameType::start();
     65        Gametype::start();
    6666    }
    6767
  • code/branches/hoverHS15/src/modules/hover/Hover.h

    r10660 r10664  
    3636#define _Hover_H__
    3737
    38 #include "Hover/HoverPrereqs.h"
    39 
    40 #include "HoverCenterPoint.h" // Necessary for WeakPointer??
     38#include "HoverPrereqs.h"
     39//#include "HoverCenterPoint.h" // Necessary for WeakPointer??
    4140//#include "HoverShip.h"        DO NOT include in Header. Will cause forward declaration issues
    4241
    4342//#include "HoverHUDinfo.h"
    4443
    45 
     44#include "gametypes/Gametype.h"
    4645#include "core/EventIncludes.h"
    4746#include "core/command/Executor.h"
     
    5655
    5756#include "core/command/ConsoleCommand.h"
    58 #include "worldentities/BigExplosion.h"
    5957
    60 #include "gametypes/Deathmatch.h"
    6158#include "tools/Timer.h"
    6259
     
    6461{
    6562
    66     class _HoverExport Hover : public GameType
     63    class _HoverExport Hover : public Gametype
    6764    {
    6865       public:
     
    7471            virtual void tick(float dt);
    7572
    76             void setCenterpoint(HoverCenterPoint* center)
    77                        { this->center_ = center; }
     73 //           void setCenterpoint(HoverCenterPoint* center)
     74  //                     { this->center_ = center; }
    7875
    7976
  • code/branches/hoverHS15/src/modules/hover/HoverPrereqs.h

    r10659 r10664  
    6868namespace orxonox
    6969{
    70     class Hover:
     70    class Hover;
    7171    class HoverShip;
    7272}
  • code/branches/hoverHS15/src/modules/hover/HoverShip.cc

    r10661 r10664  
    4949    }
    5050
    51     Hover* HoverShip::getGame()
     51   /* Hover* HoverShip::getGame()
    5252    {
    53         /*if (game == NULL)
     53        if (game == NULL)
    5454        {
    5555            for (ObjectList<Hover>::iterator it = ObjectList<Hover>::begin(); it != ObjectList<Hover>::end(); ++it)
     
    5858            }
    5959        }
    60         return game;*/
    61     }
     60        return game;
     61    }*/
    6262}
Note: See TracChangeset for help on using the changeset viewer.