File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed
Client/mods/deathmatch/logic Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 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 (" \n CClientIFP::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+ }
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments