[Orxonox-commit 4985] r9654 - in code/branches/core6/src/orxonox: controllers infos items overlays worldentities
landauf at orxonox.net
landauf at orxonox.net
Fri Aug 16 23:08:30 CEST 2013
Author: landauf
Date: 2013-08-16 23:08:30 +0200 (Fri, 16 Aug 2013)
New Revision: 9654
Modified:
code/branches/core6/src/orxonox/controllers/ArtificialController.cc
code/branches/core6/src/orxonox/controllers/FormationController.cc
code/branches/core6/src/orxonox/infos/Info.cc
code/branches/core6/src/orxonox/items/Item.cc
code/branches/core6/src/orxonox/overlays/OrxonoxOverlay.cc
code/branches/core6/src/orxonox/worldentities/MobileEntity.cc
Log:
added RegisterClass() where it was missing
Modified: code/branches/core6/src/orxonox/controllers/ArtificialController.cc
===================================================================
--- code/branches/core6/src/orxonox/controllers/ArtificialController.cc 2013-08-16 19:39:29 UTC (rev 9653)
+++ code/branches/core6/src/orxonox/controllers/ArtificialController.cc 2013-08-16 21:08:30 UTC (rev 9654)
@@ -44,6 +44,8 @@
{
SetConsoleCommand("ArtificialController", "setbotlevel", &ArtificialController::setAllBotLevel);
+ RegisterClass(ArtificialController);
+
ArtificialController::ArtificialController(Context* context) : FormationController(context)
{
RegisterObject(ArtificialController);
Modified: code/branches/core6/src/orxonox/controllers/FormationController.cc
===================================================================
--- code/branches/core6/src/orxonox/controllers/FormationController.cc 2013-08-16 19:39:29 UTC (rev 9653)
+++ code/branches/core6/src/orxonox/controllers/FormationController.cc 2013-08-16 21:08:30 UTC (rev 9654)
@@ -55,9 +55,8 @@
SetConsoleCommand("FormationController", "passivebehaviour", &FormationController::passivebehaviour);
SetConsoleCommand("FormationController", "formationsize", &FormationController::formationsize);
+ RegisterClass(FormationController);
-
-
static const unsigned int STANDARD_MAX_FORMATION_SIZE = 9;
static const int RADIUS_TO_SEARCH_FOR_MASTERS = 5000;
static const float FORMATION_LENGTH = 110;
Modified: code/branches/core6/src/orxonox/infos/Info.cc
===================================================================
--- code/branches/core6/src/orxonox/infos/Info.cc 2013-08-16 19:39:29 UTC (rev 9653)
+++ code/branches/core6/src/orxonox/infos/Info.cc 2013-08-16 21:08:30 UTC (rev 9654)
@@ -31,6 +31,8 @@
namespace orxonox
{
+ RegisterClass(Info);
+
Info::Info(Context* context) : BaseObject(context), Synchronisable(context)
{
RegisterObject(Info);
Modified: code/branches/core6/src/orxonox/items/Item.cc
===================================================================
--- code/branches/core6/src/orxonox/items/Item.cc 2013-08-16 19:39:29 UTC (rev 9653)
+++ code/branches/core6/src/orxonox/items/Item.cc 2013-08-16 21:08:30 UTC (rev 9654)
@@ -31,6 +31,8 @@
namespace orxonox
{
+ RegisterClass(Item);
+
Item::Item(Context* context) : BaseObject(context), Synchronisable(context)
{
RegisterObject(Item);
Modified: code/branches/core6/src/orxonox/overlays/OrxonoxOverlay.cc
===================================================================
--- code/branches/core6/src/orxonox/overlays/OrxonoxOverlay.cc 2013-08-16 19:39:29 UTC (rev 9653)
+++ code/branches/core6/src/orxonox/overlays/OrxonoxOverlay.cc 2013-08-16 21:08:30 UTC (rev 9654)
@@ -62,6 +62,8 @@
SetConsoleCommand("OrxonoxOverlay", "show", &OrxonoxOverlay::showOverlay);
SetConsoleCommand("OrxonoxOverlay", "rotateOverlay", &OrxonoxOverlay::rotateOverlay);
+ RegisterClass(OrxonoxOverlay);
+
OrxonoxOverlay::OrxonoxOverlay(Context* context)
: BaseObject(context)
{
Modified: code/branches/core6/src/orxonox/worldentities/MobileEntity.cc
===================================================================
--- code/branches/core6/src/orxonox/worldentities/MobileEntity.cc 2013-08-16 19:39:29 UTC (rev 9653)
+++ code/branches/core6/src/orxonox/worldentities/MobileEntity.cc 2013-08-16 21:08:30 UTC (rev 9654)
@@ -38,6 +38,8 @@
namespace orxonox
{
+ RegisterClass(MobileEntity);
+
MobileEntity::MobileEntity(Context* context) : WorldEntity(context)
{
RegisterObject(MobileEntity);
More information about the Orxonox-commit
mailing list