Merge branch 'development' into cmake/warn_virtual
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> # Conflicts: # Code/Legacy/CryCommon/IConsole.h # Code/Legacy/CrySystem/LocalizedStringManager.h # Code/Legacy/CrySystem/XConsole.h # Code/Legacy/CrySystem/XConsoleVariable.h # Code/Legacy/CrySystem/XML/XmlUtils.cpp # cmake/Platform/Common/Clang/Configurations_clang.cmake
This commit is contained in:
@@ -534,20 +534,6 @@ void CView::SetFrameAdditiveCameraAngles(const Ang3& addFrameAngles)
|
||||
m_frameAdditiveAngles = addFrameAngles;
|
||||
}
|
||||
|
||||
void CView::GetMemoryUsage(ICrySizer* s) const
|
||||
{
|
||||
s->AddObject(this, sizeof(*this));
|
||||
s->AddObject(m_shakes);
|
||||
}
|
||||
|
||||
//void CView::Serialize(TSerialize ser)
|
||||
//{
|
||||
// if (ser.IsReading())
|
||||
// {
|
||||
// ResetShaking();
|
||||
// }
|
||||
//}
|
||||
|
||||
void CView::PostSerialize()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -81,8 +81,6 @@ public:
|
||||
|
||||
ID = shakeID;
|
||||
}
|
||||
|
||||
void GetMemoryUsage([[maybe_unused]] ICrySizer* pSizer) const { /*nothing*/}
|
||||
};
|
||||
|
||||
|
||||
@@ -111,8 +109,6 @@ public:
|
||||
CCamera& GetCamera() override { return m_camera; }
|
||||
const CCamera& GetCamera() const override { return m_camera; }
|
||||
|
||||
void GetMemoryUsage(ICrySizer* s) const;
|
||||
|
||||
protected:
|
||||
|
||||
void ProcessShakeNormal(SShake* pShake, float frameTime);
|
||||
|
||||
@@ -610,24 +610,6 @@ void CViewSystem::DebugDraw()
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
void CViewSystem::GetMemoryUsage(ICrySizer* s) const
|
||||
{
|
||||
SIZER_SUBCOMPONENT_NAME(s, "ViewSystem");
|
||||
s->Add(*this);
|
||||
s->AddContainer(m_views);
|
||||
}
|
||||
|
||||
//void CViewSystem::Serialize(TSerialize ser)
|
||||
//{
|
||||
// TViewMap::iterator iter = m_views.begin();
|
||||
// TViewMap::iterator iterEnd = m_views.end();
|
||||
// while (iter != iterEnd)
|
||||
// {
|
||||
// iter->second->Serialize(ser);
|
||||
// ++iter;
|
||||
// }
|
||||
//}
|
||||
|
||||
void CViewSystem::PostSerialize()
|
||||
{
|
||||
TViewMap::iterator iter = m_views.begin();
|
||||
|
||||
@@ -105,8 +105,6 @@ public:
|
||||
return stl::find_and_erase(m_listeners, pListener);
|
||||
}
|
||||
|
||||
void GetMemoryUsage(ICrySizer* s) const;
|
||||
|
||||
void ClearAllViews();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user