Skip to content

Commit f271bd5

Browse files
committed
Added include guard and removed prototypes with CAnimBlock in them
1 parent 44b516e commit f271bd5

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

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

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#ifndef IFP_WRAPPER_H
2+
#define IFP_WRAPPER_H
13
#include <Windows.h>
24
#include "GTASA_classes.h"
35
#include <vector>
@@ -145,16 +147,7 @@ typedef const char *(__cdecl * hGetAnimBlockName)
145147
DWORD groupID
146148
);
147149

148-
typedef CAnimBlock *(__cdecl * hGetAnimationBlock)
149-
(
150-
const char * szName
151-
);
152150

153-
typedef _CAnimBlendHierarchy *(__cdecl * hGetAnimation)
154-
(
155-
const char * szName,
156-
CAnimBlock * pBlock
157-
);
158151

159152
typedef CAnimBlendAssoc *(__cdecl * hAddAnimation_hier)
160153
(
@@ -358,3 +351,5 @@ void printAnimBlocks(void);
358351
bool isAnimationHierarchyLoaded(const char * AnimationName);
359352
_CAnimBlendHierarchy * GetAnimHierachyBy_GroupId_AnimId (DWORD GroupID, DWORD AnimID);
360353
CAnimBlendStaticAssoc * GetAnimStaticAssocBy_GroupId_AnimId(DWORD GroupID, DWORD AnimID);
354+
355+
#endif

0 commit comments

Comments
 (0)