Skip to content

Commit 412a42a

Browse files
committed
Added IFP_Animation struct and removed unused members.
1 parent 7b2394c commit 412a42a

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

Client/mods/deathmatch/logic/IFP/CIFPAnimations.h

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
#pragma
22
#ifndef __CIFPANIMATIONS_H
33
#define __CIFPANIMATIONS_H
4-
#include "../mods/deathmatch/logic/IFP/IFPLoader.h"
4+
#include "../Client/mods/deathmatch/logic/CClientIFP.h"
55

66
class CIFPAnimations
77
{
88
public:
9-
// This is set to true when unloadIFP function is called, it means that animations
10-
// can be unloaded when iReferences reaches zero, if this boolean is set to true
11-
bool bUnloadOnZeroReferences;
12-
// incremented when a new CAnimBlendAssociationSAInteface is created and decremented
13-
// when destructor of that animation is called
14-
DWORD iReferences;
9+
10+
struct IFP_Animation
11+
{
12+
SString Name;
13+
CAnimBlendHierarchySAInterface Hierarchy;
14+
char * pSequencesMemory;
15+
};
16+
1517
std::vector < IFP_Animation > vecAnimations;
1618

1719
public:

0 commit comments

Comments
 (0)