summaryrefslogtreecommitdiff
path: root/public/sfmobjects/sfmanimationsetutils.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /public/sfmobjects/sfmanimationsetutils.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'public/sfmobjects/sfmanimationsetutils.h')
-rw-r--r--public/sfmobjects/sfmanimationsetutils.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/public/sfmobjects/sfmanimationsetutils.h b/public/sfmobjects/sfmanimationsetutils.h
new file mode 100644
index 0000000..a93438d
--- /dev/null
+++ b/public/sfmobjects/sfmanimationsetutils.h
@@ -0,0 +1,32 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// NOTE: This is a cut-and-paste hack job to get animation set construction
+// working from a commandline tool. It came from tools/ifm/createsfmanimation.cpp
+// This file needs to die almost immediately + be replaced with a better solution
+// that can be used both by the sfm + sfmgen.
+//
+//=============================================================================
+
+#ifndef SFMANIMATIONSETUTILS_H
+#define SFMANIMATIONSETUTILS_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+//-----------------------------------------------------------------------------
+// movieobjects
+//-----------------------------------------------------------------------------
+class CDmeFilmClip;
+class CDmeGameModel;
+class CDmeAnimationSet;
+
+
+//-----------------------------------------------------------------------------
+// Creates an animation set
+//-----------------------------------------------------------------------------
+CDmeAnimationSet *CreateAnimationSet( CDmeFilmClip *pMovie, CDmeFilmClip *pShot,
+ CDmeGameModel *pGameModel, const char *pAnimationSetName, int nSequenceToUse, bool bAttachToGameRecording );
+
+
+#endif // SFMANIMATIONSETUTILS_H