Changeset 3608 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 20, 2005, 11:37:26 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 1 added
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/Makefile.am
r3607 r3608 98 98 defs/stdincl.h \ 99 99 defs/glincl.h \ 100 defs/comincl.h \ 100 101 defs/error.h \ 101 102 defs/debug.h \ -
orxonox/trunk/src/Makefile.in
r3607 r3608 299 299 defs/stdincl.h \ 300 300 defs/glincl.h \ 301 defs/comincl.h \ 301 302 defs/error.h \ 302 303 defs/debug.h \ -
orxonox/trunk/src/camera.cc
r3607 r3608 17 17 18 18 #include "camera.h" 19 19 20 #include "world.h" 20 21 #include "world_entity.h" 22 #include "vector.h" 21 23 22 24 using namespace std; -
orxonox/trunk/src/camera.h
r3551 r3608 38 38 float deltaTime; 39 39 float t; 40 Vector r;40 Vector* r; 41 41 float rAbs; 42 42 float ka; -
orxonox/trunk/src/command_node.cc
r3591 r3608 22 22 #include "game_loader.h" 23 23 #include "world.h" 24 #include "list.h" 25 #include "orxonox.h" 24 26 25 27 #include <stdio.h> -
orxonox/trunk/src/command_node.h
r3236 r3608 9 9 #define _COMMAND_NODE_H 10 10 11 #include "stdincl.h"12 11 12 #include "comincl.h" 13 14 template<class T> class tList; 13 15 class WorldEntity; 14 16 class World; -
orxonox/trunk/src/defs/stdincl.h
r3607 r3608 8 8 #ifndef _STDINCL_H 9 9 #define _STDINCL_H 10 11 #define null 0 //!< null12 13 10 14 11 typedef unsigned char byte; … … 29 26 #include "glincl.h" 30 27 31 32 // MATH //33 #include "vector.h"34 35 #include "list.h"36 #include "list_template.h"37 #include "message_structures.h"38 #include "orxonox.h"39 #include "data_tank.h"40 #include "base_object.h"41 42 28 #include "error.h" 43 29 #include "debug.h" -
orxonox/trunk/src/game_loader.h
r3225 r3608 2 2 #define _GAME_LOADER_H 3 3 4 #include "stdincl.h"4 //#include "stdincl.h" 5 5 #include "story_def.h" 6 #include "comincl.h" 6 7 7 8 //----------------------------------------------------------------------------- … … 12 13 class Camera; 13 14 class CammandNode; 14 15 15 16 16 class GameLoader -
orxonox/trunk/src/lib/coord/null_parent.cc
r3607 r3608 20 20 #include "null_parent.h" 21 21 #include "stdincl.h" 22 #include "vector.h" 23 #include "list.h" 22 24 23 25 -
orxonox/trunk/src/lib/coord/p_node.cc
r3607 r3608 23 23 #include "stdincl.h" 24 24 25 #include "error.h" 26 #include "debug.h" 27 #include "list.h" 28 #include "vector.h" 25 29 #include "null_parent.h" 30 31 26 32 //#include "vector.h" 27 33 //#include "quaternion.h" … … 479 485 if( this->bRelDirChanged || this->bAbsDirChanged) 480 486 pn->parentDirChanged (); 487 481 488 pn->update(); 482 489 pn = this->children->nextElement(); -
orxonox/trunk/src/lib/coord/p_node.h
r3607 r3608 23 23 24 24 #include "base_object.h" 25 #include "vector.h"25 //#include "vector.h" 26 26 27 27 // FORWARD DEFINITION \\ -
orxonox/trunk/src/lib/graphics/light.cc
r3603 r3608 21 21 22 22 #include "glincl.h" 23 #include "vector.h" 23 24 24 25 using namespace std; -
orxonox/trunk/src/message_structures.h
r3224 r3608 6 6 #ifndef _MESSAGE_STRUCTURES_H 7 7 #define _MESSAGE_STRUCTURES_H 8 9 #include "stdincl.h" 8 10 9 11 #define CMD_LENGHT 16 -
orxonox/trunk/src/orxonox.h
r3544 r3608 7 7 #define _ORXONOX_H 8 8 9 #include "stdincl.h" 9 #include "comincl.h" 10 #include "glincl.h" 10 11 11 12 class CommandNode; -
orxonox/trunk/src/story_entities/campaign.cc
r3472 r3608 20 20 #include "world.h" 21 21 #include "camera.h" 22 #include "story_entity.h" 22 //#include "story_entity.h" 23 #include "list.h" 23 24 24 25 using namespace std; … … 27 28 Campaign::Campaign () 28 29 { 29 this->entities = new ListTemplate<StoryEntity>();30 this->entities = new tList<StoryEntity>(); 30 31 this->isInit = false; 31 32 } … … 184 185 if( storyID == WORLD_ID_GAMEEND) 185 186 return NULL; 186 ListTemplate<StoryEntity>* l; 187 188 /* 189 tList<StoryEntity>* l; 187 190 StoryEntity* entity = NULL; 188 191 l = this->entities->getNext(); … … 191 194 entity = l->getObject(); 192 195 l = l->getNext(); 196 193 197 int id = entity->getStoryID(); 194 198 //printf("Campaing::getStoryEntity() - now looping, found entity nr=%i\n", id); … … 198 202 return entity; 199 203 } 200 } 204 205 } 206 */ 207 208 209 210 StoryEntity* entity = this->entities->enumerate(); 211 while( entity != NULL) 212 { 213 int id = entity->getStoryID(); 214 //printf("Campaing::getStoryEntity() - now looping, found entity nr=%i\n", id); 215 if(id == storyID) 216 { 217 //printf("Campaing::getStoryEntity() - yea, this is what we where looking for: %id\n"); 218 return entity; 219 } 220 entity = this->entities->nextElement(); 221 } 222 223 224 201 225 return NULL; 202 226 } -
orxonox/trunk/src/story_entities/campaign.h
r3544 r3608 8 8 9 9 class World; 10 template<class T> class tList; 10 11 11 12 class Campaign : public StoryEntity { … … 34 35 35 36 private: 36 ListTemplate<StoryEntity>* entities; 37 //ListTemplate<StoryEntity>* entities; 38 tList<StoryEntity>* entities; 37 39 bool running; 38 40 -
orxonox/trunk/src/story_entities/story_entity.h
r3472 r3608 8 8 #define _STORY_ENTITY_H 9 9 10 #include " stdincl.h"10 #include "base_object.h" 11 11 #include "story_def.h" 12 #include "error.h" 13 12 14 13 15 //! A class that represents something to play in orxonox. it is a container for worlds, movies, mission briefings, etc... -
orxonox/trunk/src/story_entities/world.cc
r3603 r3608 18 18 19 19 #include "world.h" 20 21 #include "orxonox.h" 22 #include "p_node.h" 23 #include "null_parent.h" 24 #include "helper_parent.h" 25 #include "track_node.h" 20 26 #include "world_entity.h" 21 27 #include "track_manager.h" 22 28 #include "player.h" 23 #include "command_node.h"24 29 #include "camera.h" 25 30 #include "environment.h" 26 31 #include "primitive.h" 27 #include "p_node.h" 28 #include "null_parent.h" 29 #include "helper_parent.h" 32 #include "skysphere.h" 33 #include "terrain.h" 34 #include "light.h" 35 #include "command_node.h" 30 36 #include "glmenu_imagescreen.h" 31 #include "skysphere.h"32 #include "light.h"33 37 #include "fontset.h" 34 #include "track_node.h" 35 #include "terrain.h" 38 #include "list.h" 39 40 36 41 37 42 using namespace std; -
orxonox/trunk/src/story_entities/world.h
r3597 r3608 8 8 9 9 #include "stdincl.h" 10 #include "comincl.h" 10 11 #include "story_entity.h" 11 12 #include "p_node.h" -
orxonox/trunk/src/track_manager.cc
r3601 r3608 18 18 #include "track_manager.h" 19 19 20 #include "base_object.h" 20 21 #include "p_node.h" 21 22 22 #include "track_node.h" 23 #include "stdincl.h" 24 #include "list.h" 25 26 23 27 24 28 #include <stdarg.h> -
orxonox/trunk/src/track_manager.h
r3596 r3608 12 12 #define _TRACK_MANAGER_H 13 13 14 #include "stdincl.h"15 14 #include "curve.h" 15 #include "base_object.h" 16 16 17 17 class PNode; 18 template<class T> class tList; 18 19 19 20 // Static Definitions -
orxonox/trunk/src/world_entities/player.cc
r3596 r3608 40 40 41 41 travelSpeed = 15.0; 42 velocity = Vector();42 velocity = new Vector(); 43 43 bUp = bDown = bLeft = bRight = bAscend = bDescend = false; 44 44 bFire = false; -
orxonox/trunk/src/world_entities/player.h
r3585 r3608 12 12 class OBJModel; 13 13 class Weapon; 14 class Vector; 14 15 15 16 //! Basic controllable WorldEntity … … 48 49 Weapon* activeWeapon; //!< the weapon that is currenty activated 49 50 50 Vector velocity; //!< the velocity of the player.51 Vector* velocity; //!< the velocity of the player. 51 52 float travelSpeed; //!< the current speed of the player (to make soft movement) 52 53 float acceleration; //!< the acceleration of the player. -
orxonox/trunk/src/world_entities/primitive.cc
r3607 r3608 18 18 19 19 #include "primitive.h" 20 20 21 #include "stdincl.h" 21 22 #include "world_entity.h" 22 23 #include "objModel.h" 24 #include "vector.h" 23 25 24 26 using namespace std; -
orxonox/trunk/src/world_entities/primitive.h
r3586 r3608 3 3 4 4 #include "world_entity.h" 5 #include "glincl.h" 5 6 6 7 typedef enum PRIMITIVE_FORM {PSPHERE = 0, PCUBE, PSQUARE}; 8 9 class Material; 10 7 11 8 12 class Primitive : public WorldEntity -
orxonox/trunk/src/world_entities/skysphere.cc
r3607 r3608 26 26 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY 27 27 28 #include "material.h" 28 29 29 #include "skysphere.h" 30 30 #include "stdincl.h" 31 32 #include "material.h" 31 33 #include "vector.h" 32 #include "world_entity.h" 34 //#include "world_entity.h" 35 33 36 34 37 using namespace std; -
orxonox/trunk/src/world_entities/skysphere.h
r3531 r3608 14 14 15 15 /* INCLUDES */ 16 #include "p_node.h"17 16 #include "world_entity.h" 18 17 -
orxonox/trunk/src/world_entities/terrain.cc
r3566 r3608 16 16 17 17 #include "terrain.h" 18 18 #include "stdincl.h" 19 #include "objModel.h" 20 #include "vector.h" 19 21 #include "glincl.h" 20 22 -
orxonox/trunk/src/world_entities/world_entity.cc
r3583 r3608 19 19 20 20 #include "world_entity.h" 21 #include "stdincl.h" 21 #include "objModel.h" 22 #include "list.h" 23 24 //#include "stdincl.h" 22 25 //#include "collision.h" 23 26 -
orxonox/trunk/src/world_entities/world_entity.h
r3583 r3608 7 7 #define _WORLD_ENTITY_H 8 8 9 #include "stdincl.h"10 9 #include "p_node.h" 11 #include " objModel.h"10 #include "comincl.h" 12 11 13 12 //class CollisionCluster; 14 13 class CharacterAttributes; 14 class OBJModel; 15 15 16 16
Note: See TracChangeset
for help on using the changeset viewer.