summaryrefslogtreecommitdiffstats
path: root/src/animation/CutsceneMgr.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-09 13:00:39 +0200
committeraap <aap@papnet.eu>2020-05-09 13:00:39 +0200
commit989ded6052f6bd1c5d518e65768cce85a92fc20b (patch)
treea6560865ae82445f61b9e48082c0e82aeddf51c4 /src/animation/CutsceneMgr.cpp
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-989ded6052f6bd1c5d518e65768cce85a92fc20b.tar
re3-989ded6052f6bd1c5d518e65768cce85a92fc20b.tar.gz
re3-989ded6052f6bd1c5d518e65768cce85a92fc20b.tar.bz2
re3-989ded6052f6bd1c5d518e65768cce85a92fc20b.tar.lz
re3-989ded6052f6bd1c5d518e65768cce85a92fc20b.tar.xz
re3-989ded6052f6bd1c5d518e65768cce85a92fc20b.tar.zst
re3-989ded6052f6bd1c5d518e65768cce85a92fc20b.zip
Diffstat (limited to '')
-rw-r--r--src/animation/CutsceneMgr.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/animation/CutsceneMgr.cpp b/src/animation/CutsceneMgr.cpp
index 3cd66697..035c2b49 100644
--- a/src/animation/CutsceneMgr.cpp
+++ b/src/animation/CutsceneMgr.cpp
@@ -16,7 +16,6 @@
#include "World.h"
#include "PlayerPed.h"
#include "Wanted.h"
-#include "CutsceneHead.h"
#include "RpAnimBlend.h"
#include "ModelIndices.h"
#include "TempColModels.h"
@@ -240,16 +239,6 @@ CCutsceneMgr::LoadCutsceneData(const char *szCutsceneName)
}
void
-CCutsceneMgr::SetHeadAnim(const char *animName, CObject *pObject)
-{
- CCutsceneHead *pCutsceneHead = (CCutsceneHead*)pObject;
- char szAnim[CUTSCENENAMESIZE * 2];
-
- sprintf(szAnim, "%s_%s", ms_cutsceneName, animName);
- pCutsceneHead->PlayAnimation(szAnim);
-}
-
-void
CCutsceneMgr::FinishCutscene()
{
CCutsceneMgr::ms_cutsceneTimer = TheCamera.GetCutSceneFinishTime() * 0.001f;
@@ -307,11 +296,7 @@ CCutsceneMgr::SetCutsceneAnim(const char *animName, CObject *pObject)
CCutsceneHead *
CCutsceneMgr::AddCutsceneHead(CObject *pObject, int modelId)
{
- CCutsceneHead *pHead = new CCutsceneHead(pObject);
- pHead->SetModelIndex(modelId);
- CWorld::Add(pHead);
- ms_pCutsceneObjects[ms_numCutsceneObjs++] = pHead;
- return pHead;
+ return nil;
}
CCutsceneObject *