Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11886 for code


Ignore:
Timestamp:
Apr 19, 2018, 2:46:18 PM (7 years ago)
Author:
sehirsch
Message:

fixed plugin name in CMakeLists.txt

Location:
code/branches/OrxyRoad_FS18/src/modules/orxyroad
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxyRoad_FS18/src/modules/orxyroad/CMakeLists.txt

    r11881 r11886  
    77)
    88
    9 ORXONOX_ADD_LIBRARY(orxyRoad
     9ORXONOX_ADD_LIBRARY(orxyroad
    1010  PLUGIN
    1111  FIND_HEADER_FILES
  • code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoad.cc

    r11837 r11886  
    4343    RegisterUnloadableClass(OrxyRoad);
    4444
    45     OrxyRoad::OrxyRoad(Context* context) : Deathmatch(context)
     45    OrxyRoad::OrxyRoad(Context* context) : Gametype(context)
    4646    {
    4747        RegisterObject(OrxyRoad);
     
    126126
    127127                    cube->setPosition(player->getWorldPosition() + Vector3(5000.0f, 0.0f, -3600.0f + (i*1200)));
     128                   
     129                    /* experimental */
     130
     131                    cube->setVelocity(10,0,0);
     132
     133                    /* experimental */
     134
     135
    128136                    //stEntity->setScale3D(50,50,50);
    129137                }
     
    183191            return;
    184192        }
    185         // Call start for the parent class.
    186         Deathmatch::start();
    187193    }
    188194
  • code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoad.h

    r11885 r11886  
    5757#include "core/command/ConsoleCommand.h"
    5858
    59 #include "gametypes/Deathmatch.h"
     59#include "gametypes/Gametype.h"
    6060#include "tools/Timer.h"
    6161
     
    6363{
    6464
    65     class _OrxyRoadExport OrxyRoad : public Deathmatch
     65    class _OrxyRoadExport OrxyRoad : public Gametype
    6666    {
    6767       public:
Note: See TracChangeset for help on using the changeset viewer.