Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7368 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
Apr 25, 2006, 11:37:59 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some renamings, and GameWorldData now has lists for what EntityLists should be drawed/ticked/collided(not yet implemented).

Location:
trunk/src/story_entities
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/game_world.cc

    r7339 r7368  
    2323#include "state.h"
    2424#include "class_list.h"
    25 #include "substring.h"
    2625
    2726#include "util/loading/game_loader.h"
    2827
    29 #include "p_node.h"
    30 #include "world_entity.h"
    3128#include "player.h"
    3229#include "camera.h"
     
    3532#include "test_entity.h"
    3633#include "terrain.h"
    37 #include "md2Model.h"
    38 #include "world_entities/projectiles/projectile.h"
    39 #include "npcs/npc_test1.h"
    4034#include "playable.h"
    4135
     
    4337
    4438#include "util/loading/factory.h"
     39#include "util/loading/load_param.h"
    4540#include "fast_factory.h"
    46 #include "util/loading/load_param.h"
    4741#include "shell_command.h"
    4842
  • trunk/src/story_entities/game_world.h

    r7339 r7368  
    2828class GameWorld : public StoryEntity
    2929{
    30 
    3130  public:
    3231    GameWorld ();
  • trunk/src/story_entities/game_world_data.h

    r7287 r7368  
    1010#include "data_tank.h"
    1111#include "error.h"
    12 
     12#include "object_manager.h"
    1313
    1414class Camera;
     
    1616class Terrain;
    1717class WorldEntity;
    18 class ObjectManager;
    1918
    2019class GLMenuImageScreen;
     
    3231class GameWorldData : public DataTank
    3332{
    34 
    3533  public:
    3634    GameWorldData();
     
    5553
    5654  public:
    57     GLMenuImageScreen*  glmis;                       //!< The Level-Loader Display
     55    GLMenuImageScreen*            glmis;          //!< The Level-Loader Display
    5856
    59     Camera*             localCamera;                 //!< The current camera
    60     Player*             localPlayer;                 //!< The player, you fly through the level.
    61     WorldEntity*        sky;                         //!< The environmental sky of orxonox
    62     Terrain*            terrain;                     //!< The terrain - ground
     57    Camera*                       localCamera;    //!< The current camera
     58    Player*                       localPlayer;    //!< The player, you fly through the level.
     59    WorldEntity*                  sky;            //!< The environmental sky of orxonox
     60    Terrain*                      terrain;        //!< The terrain - ground
    6361
    64     OggPlayer*          music;                       //!< Reference to the SoundEngine's music player (OggPlayer)
    65     ObjectManager*      objectManager;               //!< Reference to the objects manager
     62    OggPlayer*                    music;          //!< Reference to the SoundEngine's music player (OggPlayer)
     63    ObjectManager*                objectManager;  //!< Reference to the objects manager
    6664
    67     GameRules*          gameRule;                   //!< Reference to the game rules of this game
     65    GameRules*                    gameRule;       //!< Reference to the game rules of this game
     66
     67    std::list<OM_LIST>            tickLists;      //!< The Lists in the GameWorld that should be ticked.
     68    std::list<OM_LIST>            drawLists;      //!< The Lists in the GameWorld, that should be drawn.
    6869};
    6970
Note: See TracChangeset for help on using the changeset viewer.