improved lots of stuff
This commit is contained in:
@@ -7,20 +7,31 @@
|
||||
|
||||
struct FunnyFormatParameter_t
|
||||
{
|
||||
const char *szName;
|
||||
uint32_t nDataSize;
|
||||
void *pData;
|
||||
const char *m_szName;
|
||||
uint32_t m_nDataSize;
|
||||
void *m_pData;
|
||||
};
|
||||
|
||||
struct FunnyFormatObject_t
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
struct FunnyFormatData_t
|
||||
{
|
||||
bool m_bIsBinary;
|
||||
CUtlVector<FunnyFormatParameter_t> m_parameters;
|
||||
CUtlVector<FunnyFormatObject_t> m_parameters;
|
||||
};
|
||||
|
||||
abstract_class IFunnyFormatManager
|
||||
{
|
||||
public:
|
||||
virtual FunnyFormatData_t ReadFile( IFileHandle *pHandle ) = 0;
|
||||
virtual FunnyFormatData_t ReadBinaryFile( IFileHandle *pHandle ) = 0;
|
||||
virtual void WriteFile( IFileHandle *pHandle, FunnyFormatData_t data ) = 0;
|
||||
};
|
||||
|
||||
IFunnyFormatManager *FunnyFormatManager();
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user