Changeset 1883 in orxonox.OLD for orxonox/trunk/core/world.h
- Timestamp:
- May 10, 2004, 12:36:58 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/core/world.h
r1872 r1883 5 5 #define WORLD_H 6 6 7 #include <stdlib.h> 8 7 9 #include "npc.h" 8 10 #include "player.h" 11 #include "environment.h" 9 12 #include "stdincl.h" 10 13 … … 36 39 npcList* lastNPC; 37 40 41 /* a list of all environmental objects */ 42 struct envList { 43 envList* next; 44 Environment* env; 45 int number; 46 }; 47 envList* lastEnv; 48 38 49 bool addPlayer(Player* player); 39 50 bool removePlayer(Player* player); … … 43 54 bool removeNPC(NPC* npc); 44 55 56 bool addEnv(Environment* env); 45 57 46 58 void drawWorld(void); 59 void initEnvironement(void); 47 60 void updateWorld(void); 48 61 void testThaTest(void); 62 63 private: 64 float surface[120][120]; 49 65 50 66
Note: See TracChangeset
for help on using the changeset viewer.