mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Fix member vars left uninitialized in constructors
This commit is contained in:
parent
3fe0fe1b92
commit
0ffd7f5620
23 changed files with 68 additions and 19 deletions
|
|
@ -87,6 +87,7 @@ ConsoleDocClass( GuiClockHud,
|
|||
GuiClockHud::GuiClockHud()
|
||||
{
|
||||
mShowFrame = mShowFill = true;
|
||||
mTimeReversed = false;
|
||||
mFillColor.set(0, 0, 0, 0.5);
|
||||
mFrameColor.set(0, 1, 0, 1);
|
||||
mTextColor.set( 0, 1, 0, 1 );
|
||||
|
|
|
|||
|
|
@ -117,8 +117,11 @@ GuiShapeNameHud::GuiShapeNameHud()
|
|||
{
|
||||
mFillColor.set( 0.25f, 0.25f, 0.25f, 0.25f );
|
||||
mFrameColor.set( 0, 1, 0, 1 );
|
||||
mLabelFillColor.set( 0.25f, 0.25f, 0.25f, 0.25f );
|
||||
mLabelFrameColor.set( 0, 1, 0, 1 );
|
||||
mTextColor.set( 0, 1, 0, 1 );
|
||||
mShowFrame = mShowFill = true;
|
||||
mShowLabelFrame = mShowLabelFill = false;
|
||||
mVerticalOffset = 0.5f;
|
||||
mDistanceFade = 0.1f;
|
||||
mLabelPadding.set(0, 0);
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ protected:
|
|||
|
||||
public:
|
||||
|
||||
GroundCoverCell() {}
|
||||
GroundCoverCell() : mDirty(false) {}
|
||||
|
||||
~GroundCoverCell()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@ LightningStrikeEvent::LightningStrikeEvent()
|
|||
{
|
||||
mLightning = NULL;
|
||||
mTarget = NULL;
|
||||
mClientId = 0;
|
||||
}
|
||||
|
||||
LightningStrikeEvent::~LightningStrikeEvent()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue