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:
elexis 2017-04-14 23:20:49 +00:00
parent 78121ff82c
commit 5462f26aba
5 changed files with 3 additions and 16 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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)

View File

@ -22,10 +22,8 @@
#include "ps/CStr.h"
class CVector3D;
class CVector4D;
class CCamera;
// For loading data
class CCinemaData
{
public: