Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3225 in orxonox.OLD for orxonox/trunk/src/world.h


Ignore:
Timestamp:
Dec 20, 2004, 12:23:58 AM (19 years ago)
Author:
patrick
Message:

/orxonox/trunk: unstable - added many comments and now redefinit all function/variable names with underline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world.h

    r3224 r3225  
    2525
    2626  template<typename T>
    27     T* spawn(Location* loc, WorldEntity* owner);        // template to be able to spawn any derivation of WorldEntity
     27    T* spawn (Location* loc, WorldEntity* owner);       // template to be able to spawn any derivation of WorldEntity
    2828  template<typename T>
    29     T* spawn(Placement* plc, WorldEntity* owner);
     29    T* spawn (Placement* plc, WorldEntity* owner);
    3030 
    31   virtual ErrorMessage init();
    32   virtual ErrorMessage start();
    33   virtual ErrorMessage stop();
    34   virtual ErrorMessage pause();
    35   virtual ErrorMessage resume();
     31  virtual ErrorMessage init ();
     32  virtual ErrorMessage start ();
     33  virtual ErrorMessage stop ();
     34  virtual ErrorMessage pause ();
     35  virtual ErrorMessage resume ();
    3636
    37   virtual void load();
    38   virtual void destroy();
     37  virtual void load ();
     38  virtual void destroy ();
    3939
    40   void time_slice (Uint32 deltaT);
     40  void timeSlice (Uint32 deltaT);
    4141  void collide ();
    4242  void draw ();
    4343  void update ();       // maps Locations to Placements
    44   void calc_camera_pos (Location* loc, Placement* plc);
     44  void calcCameraPos (Location* loc, Placement* plc);
    4545       
    4646  void unload ();
    47   bool command(Command* cmd);
     47  bool command (Command* cmd);
    4848 
    49   void setTrackLen(Uint32 tracklen);
    50   int getTrackLen();
     49  void setTrackLen (Uint32 tracklen);
     50  int getTrackLen ();
    5151  //bool system_command (Command* cmd);
    52   Camera* getCamera();
     52  Camera* getCamera ();
    5353
    54   void spawn(WorldEntity* entity);
    55   void spawn(WorldEntity* entity, Location* loc);
    56   void spawn(WorldEntity* entity, Placement* plc);
     54  void spawn (WorldEntity* entity);
     55  void spawn (WorldEntity* entity, Location* loc);
     56  void spawn (WorldEntity* entity, Placement* plc);
    5757
    5858  tList<WorldEntity>* entities;
     
    7676  WorldEntity* localPlayer;
    7777 
    78   void mainLoop();
    79   void synchronize();
    80   void handle_input();
    81   void time_slice();
    82   void collision();
    83   void display();
    84   void debug();
     78  void mainLoop ();
     79  void synchronize ();
     80  void handle_input ();
     81  void timeSlice ();
     82  void collision ();
     83  void display ();
     84  void debug ();
    8585};
    8686
Note: See TracChangeset for help on using the changeset viewer.