#pragma once #include #include class CFunctionMap : public CGameSettings { protected: typedef CCompiledFunc * PCCompiledFunc; typedef PCCompiledFunc * PCCompiledFunc_TABLE; CFunctionMap(); ~CFunctionMap(); bool AllocateMemory(); void Reset(bool bAllocate); public: PCCompiledFunc_TABLE * FunctionTable() const { return m_FunctionTable; } PCCompiledFunc * JumpTable() const { return m_JumpTable; } private: void CleanBuffers(); PCCompiledFunc * m_JumpTable; PCCompiledFunc_TABLE * m_FunctionTable; };