Started to add NoCopy as a base class to all objects to help detecting if an
object is actually copied. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
91e86e83b8
commit
141b80b112
@ -30,6 +30,7 @@
|
||||
using namespace irr;
|
||||
|
||||
#include "tracks/track_object.hpp"
|
||||
#include "utils/no_copy.hpp"
|
||||
|
||||
class XMLNode;
|
||||
class Ipo;
|
||||
@ -38,7 +39,7 @@ class Ipo;
|
||||
* \brief A base class for all animations.
|
||||
* \ingroup animations
|
||||
*/
|
||||
class AnimationBase : public TrackObject
|
||||
class AnimationBase : public TrackObject, public NoCopy
|
||||
{
|
||||
private:
|
||||
/** Two types of animations: cyclic ones that play all the time, and
|
||||
|
@ -23,6 +23,8 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "utils/no_copy.hpp"
|
||||
|
||||
class AnimationBase;
|
||||
class Track;
|
||||
class XMLNode;
|
||||
@ -31,7 +33,7 @@ class XMLNode;
|
||||
* \brief Controls all animations of a track.
|
||||
* \ingroup animations
|
||||
*/
|
||||
class AnimationManager
|
||||
class AnimationManager : public NoCopy
|
||||
{
|
||||
private:
|
||||
std::vector<AnimationBase*> m_all_animations;
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "irrlicht.h"
|
||||
using namespace irr;
|
||||
|
||||
#include "utils/no_copy.hpp"
|
||||
#include "utils/vec3.hpp"
|
||||
|
||||
class XMLNode;
|
||||
@ -33,7 +34,7 @@ class XMLNode;
|
||||
/** \brief A class to manage a single blender IPO curve.
|
||||
* \ingroup animations
|
||||
*/
|
||||
class Ipo
|
||||
class Ipo : public NoCopy
|
||||
{
|
||||
public:
|
||||
/** All supported ipo types. */
|
||||
|
Loading…
Reference in New Issue
Block a user