Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
May 10, 2004, 12:36:58 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: added envoronment eg. little mountain - its time to talk about further development…

File:
1 edited

Legend:

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

    r1872 r1883  
    55#define WORLD_H
    66
     7#include <stdlib.h>
     8
    79#include "npc.h"
    810#include "player.h"
     11#include "environment.h"
    912#include "stdincl.h"
    1013
     
    3639  npcList* lastNPC;
    3740
     41  /* a list of all environmental objects */
     42  struct envList {
     43    envList* next;
     44    Environment* env;
     45    int number;
     46  };
     47  envList* lastEnv;
     48
    3849  bool addPlayer(Player* player);
    3950  bool removePlayer(Player* player);
     
    4354  bool removeNPC(NPC* npc);
    4455
     56  bool addEnv(Environment* env);
    4557
    4658  void drawWorld(void);
     59  void initEnvironement(void);
    4760  void updateWorld(void);
    4861  void testThaTest(void);
     62
     63 private:
     64  float surface[120][120];
    4965
    5066
Note: See TracChangeset for help on using the changeset viewer.