Move CinemaPath class to the simulation helper directory, because it contains predominantly simulation data that is already serialized.
The remaining graphics code should be moved or removed. Differential Revision: https://code.wildfiregames.com/D324 Patch By: Vladislav This was SVN commit r19414.
This commit is contained in:
parent
78121ff82c
commit
5462f26aba
@ -24,7 +24,7 @@
|
||||
|
||||
#include "lib/input.h" // InReaction - can't forward-declare enum
|
||||
|
||||
#include "graphics/CinemaPath.h"
|
||||
#include "simulation2/helpers/CinemaPath.h"
|
||||
#include "ps/CStr.h"
|
||||
#include "ps/Shapes.h"
|
||||
|
||||
|
@ -36,7 +36,6 @@
|
||||
#endif
|
||||
|
||||
#include "graphics/CinemaManager.h"
|
||||
#include "graphics/CinemaPath.h"
|
||||
#include "graphics/FontMetrics.h"
|
||||
#include "graphics/GameView.h"
|
||||
#include "graphics/LightEnv.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
#ifndef INCLUDED_ICMPCINEMAMANAGER
|
||||
#define INCLUDED_ICMPCINEMAMANAGER
|
||||
|
||||
#include "graphics/CinemaPath.h"
|
||||
#include "simulation2/helpers/CinemaPath.h"
|
||||
#include "simulation2/system/Interface.h"
|
||||
|
||||
#include "ps/CStr.h"
|
||||
|
@ -22,22 +22,12 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
#include "Camera.h"
|
||||
#include "CinemaManager.h"
|
||||
#include "GameView.h"
|
||||
#include "gui/CGUI.h"
|
||||
#include "gui/GUIManager.h"
|
||||
#include "gui/IGUIObject.h"
|
||||
#include "lib/ogl.h"
|
||||
#include "graphics/Camera.h"
|
||||
#include "maths/MathUtil.h"
|
||||
#include "maths/Quaternion.h"
|
||||
#include "maths/Vector3D.h"
|
||||
#include "maths/Vector4D.h"
|
||||
#include "ps/CLogger.h"
|
||||
#include "ps/CStr.h"
|
||||
#include "ps/Game.h"
|
||||
#include "renderer/Renderer.h"
|
||||
|
||||
|
||||
CCinemaPath::CCinemaPath(const CCinemaData& data, const TNSpline& spline, const TNSpline& targetSpline)
|
||||
: CCinemaData(data), TNSpline(spline), m_TargetSpline(targetSpline), m_TimeElapsed(0.f)
|
@ -22,10 +22,8 @@
|
||||
#include "ps/CStr.h"
|
||||
|
||||
class CVector3D;
|
||||
class CVector4D;
|
||||
class CCamera;
|
||||
|
||||
// For loading data
|
||||
class CCinemaData
|
||||
{
|
||||
public:
|
Loading…
Reference in New Issue
Block a user