Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2080 in orxonox.OLD for orxonox/branches/chris/src/track.h


Ignore:
Timestamp:
Jul 6, 2004, 10:29:05 PM (20 years ago)
Author:
chris
Message:

orxonox/branches/chris: Implemented basic track and spawning functionality. Added a function to convert a Rotation into a glmatrix. Implemented operator* in Rotation. Refined World, made World friend class of world_entity. Implemented camera functionality (can now be bound to the worldentity it should focus on).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/chris/src/track.h

    r2068 r2080  
    99        Vector* offset;
    1010        Vector* end;
     11        Uint32 nextID;
    1112       
    1213 public:
    13   Track ();
     14  Track (Uint32 number, Uint32 next, Vector* start, Vector* finish);
    1415  ~Track ();
    1516       
     17        virtual void post_enter (WorldEntity* entity);  // handle coordinate transition in here !!! (when dist < 0 or dist > lasttracklenght)
     18        virtual void post_leave (WorldEntity* entity);
     19        virtual void tick (float deltaT);
    1620        virtual void map_camera (Location* lookat, Placement* camplc);
    17         virtual void map_coords (Location* loc, Placement* plc);
     21        virtual bool map_coords (Location* loc, Placement* plc);        // this should return true if the entity left track boundaries
    1822};
    1923
Note: See TracChangeset for help on using the changeset viewer.