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
|
|
@ -203,7 +203,7 @@ public:
|
|||
setStatus(false);
|
||||
}
|
||||
|
||||
virtual void run( void* arg )
|
||||
void run( void* arg ) override
|
||||
{
|
||||
_setName( "TheoraEncoderThread" );
|
||||
while (!checkForStop())
|
||||
|
|
@ -214,7 +214,7 @@ public:
|
|||
}
|
||||
|
||||
/// Begins accepting frames for encoding
|
||||
bool begin()
|
||||
bool begin() override
|
||||
{
|
||||
mPath += ".ogv";
|
||||
mCurrentFrame = 0;
|
||||
|
|
@ -340,7 +340,7 @@ public:
|
|||
}
|
||||
|
||||
/// Pushes a new frame into the video stream
|
||||
bool pushFrame( GBitmap * bitmap )
|
||||
bool pushFrame( GBitmap * bitmap ) override
|
||||
{
|
||||
|
||||
// Push the bitmap into the frame list
|
||||
|
|
@ -356,7 +356,7 @@ public:
|
|||
}
|
||||
|
||||
/// Finishes the encoding and closes the video
|
||||
bool end()
|
||||
bool end() override
|
||||
{
|
||||
//Let's wait the thread stop doing whatever it needs to do
|
||||
stop();
|
||||
|
|
@ -375,7 +375,7 @@ public:
|
|||
}
|
||||
|
||||
|
||||
void setResolution( Point2I* resolution )
|
||||
void setResolution( Point2I* resolution ) override
|
||||
{
|
||||
/* Theora has a divisible-by-sixteen restriction for the encoded frame size */
|
||||
/* scale the picture size up to the nearest /16 and calculate offsets */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue