Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3782 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Apr 12, 2005, 9:36:12 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/textEngine: added Anim a superclass of Animation, for handling animation-ticking in a List…

Location:
orxonox/branches/textEngine/src
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/textEngine/src/Makefile.am

    r3781 r3782  
    3333                 track_manager.cc \
    3434                 track_node.cc \
     35                 animation.cc \
    3536                 simple_animation.cc \
    3637                 garbage_collector.cc \
  • orxonox/branches/textEngine/src/Makefile.in

    r3781 r3782  
    5656        command_node.$(OBJEXT) keynames.$(OBJEXT) camera.$(OBJEXT) \
    5757        track_manager.$(OBJEXT) track_node.$(OBJEXT) \
    58         simple_animation.$(OBJEXT) garbage_collector.$(OBJEXT) \
    59         story_entity.$(OBJEXT) campaign.$(OBJEXT) world.$(OBJEXT) \
    60         world_entity.$(OBJEXT) player.$(OBJEXT) environment.$(OBJEXT) \
    61         skysphere.$(OBJEXT) terrain.$(OBJEXT) weapon.$(OBJEXT) \
    62         projectile.$(OBJEXT) character_attributes.$(OBJEXT) \
    63         test_gun.$(OBJEXT) ai.$(OBJEXT) p_node.$(OBJEXT) \
    64         null_parent.$(OBJEXT) helper_parent.$(OBJEXT) \
     58        animation.$(OBJEXT) simple_animation.$(OBJEXT) \
     59        garbage_collector.$(OBJEXT) story_entity.$(OBJEXT) \
     60        campaign.$(OBJEXT) world.$(OBJEXT) world_entity.$(OBJEXT) \
     61        player.$(OBJEXT) environment.$(OBJEXT) skysphere.$(OBJEXT) \
     62        terrain.$(OBJEXT) weapon.$(OBJEXT) projectile.$(OBJEXT) \
     63        character_attributes.$(OBJEXT) test_gun.$(OBJEXT) ai.$(OBJEXT) \
     64        p_node.$(OBJEXT) null_parent.$(OBJEXT) helper_parent.$(OBJEXT) \
    6565        data_tank.$(OBJEXT) graphics_engine.$(OBJEXT) light.$(OBJEXT) \
    6666        text_engine.$(OBJEXT) array.$(OBJEXT) objModel.$(OBJEXT) \
     
    7474depcomp = $(SHELL) $(top_srcdir)/depcomp
    7575am__depfiles_maybe = depfiles
    76 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/ai.Po ./$(DEPDIR)/array.Po \
    77 @AMDEP_TRUE@    ./$(DEPDIR)/base_entity.Po \
     76@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/ai.Po ./$(DEPDIR)/animation.Po \
     77@AMDEP_TRUE@    ./$(DEPDIR)/array.Po ./$(DEPDIR)/base_entity.Po \
    7878@AMDEP_TRUE@    ./$(DEPDIR)/base_object.Po ./$(DEPDIR)/camera.Po \
    7979@AMDEP_TRUE@    ./$(DEPDIR)/campaign.Po \
     
    241241                 track_manager.cc \
    242242                 track_node.cc \
     243                 animation.cc \
    243244                 simple_animation.cc \
    244245                 garbage_collector.cc \
     
    408409
    409410@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ai.Po@am__quote@
     411@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/animation.Po@am__quote@
    410412@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array.Po@am__quote@
    411413@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base_entity.Po@am__quote@
  • orxonox/branches/textEngine/src/animation.h

    r3781 r3782  
    2323#define _ANIMATION_H
    2424
    25 #include "base_object.h"
     25
     26// FORWARD DEFINITION
     27template<class T> class tList;
    2628
    2729enum ANIM_FUNCTION {ANIM_LINEAR };
    2830
     31class Anim
     32{
     33 protected:
     34  Anim();
     35
     36  static tList<Anim>* animatorList;
     37};
     38
     39
    2940//! A Class to handle some animation for single floated values.
    30 template<class T> class Animation : public BaseObject
     41template<class T> class Animation : public Anim
    3142{
    3243 public:
     
    5667Animation<T>::Animation ()
    5768{
    58    this->setClassName ("Animation");
    5969   this->value = 0.0;
    6070}
Note: See TracChangeset for help on using the changeset viewer.