Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1899 in orxonox.OLD for orxonox/trunk/core/world.h


Ignore:
Timestamp:
May 20, 2004, 1:03:53 PM (21 years ago)
Author:
patrick
Message:

trunk/orxonox: collision detection implemented: simple spheres. all debug informations still print out to console. one enemy added, no AI, no move, waits to be killed. No kill signal implemented yet: look debug infos on console.

File:
1 edited

Legend:

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

    r1896 r1899  
    66
    77#include <stdlib.h>
     8#include <cmath>
    89
    910#include "npc.h"
     
    4849  envList* lastEnv;
    4950
    50   /* a list of all shoot-amental objects */
    51   struct shootList {
    52     shootList* next;
    53     ShootLaser* shoot;
    54     int number;
    55   };
    56   shootList* lastShoot;
     51
    5752
    5853
     
    6358  bool removeNPC(NPC* npc);
    6459  bool addEnv(Environment* env);
    65   bool addShoot(ShootLaser* shoot);
    6660
    6761  void drawWorld(void);
    6862  void initEnvironement(void);
    6963  void updateWorld(void);
     64  void detectCollision(void);
    7065  void testThaTest(void);
    7166
Note: See TracChangeset for help on using the changeset viewer.