mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
rest of virtuals removed
virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
This commit is contained in:
parent
efbe5e90f5
commit
2b295fb7f0
454 changed files with 4162 additions and 4156 deletions
|
|
@ -33,7 +33,7 @@ class VideoEncoderPNG : public VideoEncoder
|
|||
|
||||
public:
|
||||
/// Begins accepting frames for encoding
|
||||
bool begin()
|
||||
bool begin() override
|
||||
{
|
||||
mPath += "\\";
|
||||
mCurrentFrame = 0;
|
||||
|
|
@ -42,7 +42,7 @@ public:
|
|||
}
|
||||
|
||||
/// Pushes a new frame into the video stream
|
||||
bool pushFrame( GBitmap * bitmap )
|
||||
bool pushFrame( GBitmap * bitmap ) override
|
||||
{
|
||||
String framePath = mPath + String::ToString("%.6u.png", mCurrentFrame);
|
||||
|
||||
|
|
@ -56,12 +56,12 @@ public:
|
|||
}
|
||||
|
||||
/// Finishes the encoding and closes the video
|
||||
bool end()
|
||||
bool end() override
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void setResolution( Point2I* resolution )
|
||||
void setResolution( Point2I* resolution ) override
|
||||
{
|
||||
mResolution = *resolution;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue