Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 3, 2006, 12:19:30 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/aiming_system.cc

    r9406 r9869  
    2121
    2222#include "state.h"
     23#include "debug.h"
    2324
    2425#include "aabb.h"
    2526#include "obb_tree.h"
    2627
    27 #include <vector>
    2828
    2929
    30 
    31 
     30ObjectListDefinition(AimingSystem);
    3231
    3332/**
     
    5554void AimingSystem::init()
    5655{
    57   this->setClassID(CL_AIMING_SYSTEM, "AimingSystem");
     56  this->registerObject(this, AimingSystem::_objectList);
    5857  this->setName("AimingSystem");
    5958
     
    6362  // registering default reactions:
    6463  this->unsubscribeReaction(CREngine::CR_OBJECT_DAMAGE);
    65   this->subscribeReaction(CREngine::CR_OBJECT_DAMAGE, CL_WORLD_ENTITY);
     64  this->subscribeReaction(CREngine::CR_OBJECT_DAMAGE, WorldEntity::staticClassID());
    6665
    6766  this->range = 1000.0f;
Note: See TracChangeset for help on using the changeset viewer.