class with virtual members must always have a virtual dtor
(actually, any class that will be derived from should)
This commit is contained in:
@@ -19,8 +19,7 @@ class Actor
|
||||
{
|
||||
public:
|
||||
Actor();
|
||||
|
||||
|
||||
virtual ~Actor() { }
|
||||
|
||||
enum TweenType {
|
||||
TWEEN_LINEAR,
|
||||
|
||||
@@ -22,9 +22,9 @@ class ActorFrame : public Actor
|
||||
protected:
|
||||
CArray<Actor*,Actor*> m_SubActors;
|
||||
|
||||
|
||||
public:
|
||||
void AddSubActor( Actor* pActor);
|
||||
virtual ~ActorFrame() { }
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
@@ -24,7 +24,7 @@ protected:
|
||||
|
||||
public:
|
||||
BitmapText();
|
||||
~BitmapText();
|
||||
virtual ~BitmapText();
|
||||
|
||||
|
||||
bool LoadFromFont( CString sFontName );
|
||||
|
||||
@@ -19,6 +19,7 @@ class CroppedSprite : public Sprite
|
||||
{
|
||||
public:
|
||||
CroppedSprite();
|
||||
virtual ~CroppedSprite() { }
|
||||
|
||||
bool Load( CString sFilePath, bool bForceReload = false, int iMipMaps = 4, int iAlphaBits = 4, bool bDither = false, bool bStretch = false );
|
||||
void SetCroppedSize( float fWidth, float fHeight );
|
||||
|
||||
@@ -32,7 +32,7 @@ public:
|
||||
bool bDither = false,
|
||||
bool bStretch = false
|
||||
);
|
||||
~RageBitmapTexture();
|
||||
virtual ~RageBitmapTexture();
|
||||
|
||||
virtual void Reload(
|
||||
DWORD dwMaxSize,
|
||||
|
||||
Reference in New Issue
Block a user