Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6532 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Jan 18, 2006, 1:20:02 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged branches/movie_play to the trunk. no conflicts, but a minor virtual function BUG

Location:
trunk/src/world_entities
Files:
2 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/Makefile.am

    r6455 r6532  
    2020                  world_entities/terrain.cc \
    2121                  world_entities/satellite.cc \
     22                  world_entities/movie_entity.cc \
    2223                  world_entities/character_attributes.cc \
    2324                  world_entities/test_entity.cc \
     
    6869                 world_entities/terrain.h \
    6970                 world_entities/satellite.h \
     71                 world_entities/movie_entity.h \
    7072                 world_entities/character_attributes.h \
    7173                 world_entities/test_entity.h \
  • trunk/src/world_entities/movie_entity.cc

    r6526 r6532  
    6565void MovieEntity::loadParams(const TiXmlElement* root)
    6666{
    67   static_cast<WorldEntity*>(this)->loadParams(root);
     67  WorldEntity::loadParams(root);
    6868
    6969  LoadParam(root, "name", this, MovieEntity, loadMovie);
     
    107107  if(counter != fps * timer)
    108108  {
    109     counter = fps * timer;
     109    counter = (int)(fps * timer);
    110110
    111111    if (counter >= media_container->getFrameCount())
  • trunk/src/world_entities/movie_entity.h

    r6526 r6532  
    3535    virtual void tick (float time);
    3636
    37     void loadParams(const TiXmlElement* root);
     37    virtual void loadParams(const TiXmlElement* root);
    3838
    3939    void loadMovie(const char* filename);
  • trunk/src/world_entities/space_ships/space_ship.cc

    r6518 r6532  
    123123  PRINTF(4)("SPACESHIP INIT\n");
    124124
    125   EventHandler::getInstance()->grabEvents(true);
     125  //EventHandler::getInstance()->grabEvents(true);
    126126
    127127  bUp = bDown = bLeft = bRight = bAscend = bDescend = bRollL = bRollR = false;
Note: See TracChangeset for help on using the changeset viewer.