Skip to content

Commit f90ff66

Browse files
committed
added CClientIFP class, but the functions in there are pretty much empty
1 parent 1483f61 commit f90ff66

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#include <StdInc.h>
2+
3+
CClientIFP::CClientIFP ( class CClientManager* pManager, ElementID ID ) : CClientEntity ( ID )
4+
{
5+
// Init
6+
m_pManager = pManager;
7+
SetTypeName ( "IFP" );
8+
}
9+
10+
CClientIFP::~CClientIFP ( void )
11+
{
12+
UnloadIFP ( );
13+
}
14+
15+
bool CClientIFP::LoadIFP ( const char* szFilePath, const char* szBlockName )
16+
{
17+
printf ("\nCClientIFP::LoadIFP: szFilePath %s\n szBlockName: %s\n\n", szFilePath, szBlockName);
18+
19+
// Failed
20+
return false;
21+
}
22+
23+
24+
void CClientIFP::UnloadIFP ( void )
25+
{
26+
printf ("CClientIFP::UnloadIFP ( ) called!\n");
27+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#pragma once
2+
3+
#ifndef __CCLIENTIFP_H
4+
#define __CCLIENTIFP_H
5+
6+
#include "CClientEntity.h"
7+
8+
class CClientIFP: public CClientEntity
9+
{
10+
public:
11+
CClientIFP ( class CClientManager* pManager, ElementID ID );
12+
~CClientIFP ( void );
13+
14+
virtual eClientEntityType GetType ( void ) const { return CCLIENTIFP; }
15+
16+
bool LoadIFP ( const char* szFilePath, const char* szBlockName );
17+
void UnloadIFP ( void );
18+
19+
// Sorta a hack that these are required by CClientEntity...
20+
void Unlink ( void ) {};
21+
void GetPosition ( CVector& vecPosition ) const {};
22+
void SetPosition ( const CVector& vecPosition ) {};
23+
24+
};
25+
26+
#endif

0 commit comments

Comments
 (0)