Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8006 in orxonox.OLD


Ignore:
Timestamp:
May 31, 2006, 12:54:53 AM (18 years ago)
Author:
patrick
Message:

cr: working on the collision reactions itself

Location:
branches/cr/src
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/cr/src/defs/class_id.h

    r7927 r8006  
     1
    12/*
    23   orxonox - the future of 3D-vertical-scrollers
     
    250251  CL_COLLISION                  =    0x00000711,
    251252  CL_COLLISION_HANDLE           =    0x00000712,
     253  CL_COLLISION_REACTION         =    0X00000713,
     254  CL_CR_PHYSICS_MOMENTUM        =    0X00000714,
     255  CL_CR_PHYSICS_GROUND          =    0X00000715,
     256  CL_CR_PHYSICS_GROUND_WALK     =    0X00000716,
     257  CL_CR_OBJECT_DAMAGE          =    0X00000717,
     258  CL_CR_OBJECT_PICKUP           =    0X00000718,
     259  CL_CR_VERTEX_TRAFO            =    0X00000719,
     260  CL_CR_SPECIAL_CALLBACK        =    0X00000720,
     261
     262
    252263  CL_BV_TREE                    =    0x00701000,
    253264  CL_BV_TREE_NODE               =    0x00702000,
    254   CL_OBB_TREE                   =    0x00000714,
    255   CL_OBB_TREE_NODE              =    0x00000715,
     265  CL_OBB_TREE                   =    0x00000721,
     266  CL_OBB_TREE_NODE              =    0x00000722,
    256267  CL_BOUNDING_VOLUME            =    0x00710000,
    257268  CL_OBB                        =    0x00720000,
  • branches/cr/src/lib/collision_reaction/Makefile.am

    r7959 r8006  
    77                     collision.cc \
    88                     collision_event.cc \
    9                      collision_handle.cc
     9                     collision_handle.cc \
     10                     collision_reaction.cc \
     11                     cr_object_damage.cc
    1012
    1113
     
    1517                     collision_event.h \
    1618                     collision_handle.h \
    17                      cr_defs.h
     19                     cr_defs.h \
     20                     collision_reaction.h \
     21                     cr_object_damage.h
    1822
  • branches/cr/src/lib/collision_reaction/collision.h

    r7968 r8006  
    3333    /** registers a @param event CollisionEvent to take place */
    3434    inline void registerCollisionEvent(CollisionEvent* event) { this->collisionEvents.push_back(event); }
     35    /** @returns a vector of collision events */
     36    inline const std::vector<CollisionEvent*>& getCollisionEvents() const { return this->collisionEvents; }
    3537
    3638    void handleCollisionEvents();
Note: See TracChangeset for help on using the changeset viewer.