Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3238 in orxonox.OLD for orxonox/branches/sound/src/player.h


Ignore:
Timestamp:
Dec 20, 2004, 2:42:54 AM (21 years ago)
Author:
bensch
Message:

orxonox/branches: updated branches: buerli, nico, sound. And moved bezierTrack to old.bezierTrack. Conflicts resolved in a usefull order.
Conflics mostly resolved in favor of trunk
merge.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/sound/src/player.h

    r2551 r3238  
    44*/
    55
    6 #ifndef PLAYER_H
    7 #define PLAYER_H
     6#ifndef _PLAYER_H
     7#define _PLAYER_H
    88
    99#include "world_entity.h"
     10#include "importer/object.h"
    1011
    1112//! Basic controllable WorldEntity
     
    1516 
    1617 public:
    17   Player (bool isFree = false);
    18   ~Player ();
     18  Player(bool isFree = false);
     19  ~Player();
    1920 
    20   virtual void post_spawn ();
    21   virtual void tick (float time);
    22   virtual void hit (WorldEntity* weapon, Vector loc);
    23   virtual void destroy ();
    24   virtual void collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags);
    25   virtual void command (Command* cmd);
     21  virtual void postSpawn();
     22  virtual void tick(float time);
     23  virtual void hit(WorldEntity* weapon, Vector loc);
     24  virtual void destroy();
     25  virtual void collide(WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags);
     26  virtual void command(Command* cmd);
    2627 
    27   virtual void draw ();
    28   virtual void get_lookat (Location* locbuf);
     28  virtual void draw();
     29  virtual void getLookat(Location* locbuf);
    2930 
    30   virtual void left_world ();
     31  virtual void leftWorld();
    3132 
    3233 private:
     
    3435  bool bFire;
    3536  Vector velocity;
    36   float travel_speed;
     37  float travelSpeed;
    3738  float acceleration;
     39  GLuint objectList;
     40  Object* obj;
    3841 
    39   void move (float time);
     42  void move(float time);
    4043 
    4144};
    4245
    43 #endif
     46#endif /* _PLAYER_H */
Note: See TracChangeset for help on using the changeset viewer.