Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
51
CryptoSource/ScriptEngine-MCF File/IntermediateCode.h
Normal file
51
CryptoSource/ScriptEngine-MCF File/IntermediateCode.h
Normal file
@@ -0,0 +1,51 @@
|
||||
|
||||
#ifndef _IntermediateCode_H_
|
||||
#define _IntermediateCode_H_
|
||||
|
||||
#include "STL.h"
|
||||
#include "BaseDef.h"
|
||||
#include "Message.h"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
class IOPCode;
|
||||
class CSyntaxTree;
|
||||
class CSymbolTable;
|
||||
class CRelocTable;
|
||||
|
||||
class CIntermediateCode
|
||||
{
|
||||
public:
|
||||
typedef list<IOPCode*> IMCODES;
|
||||
typedef map<int, IMCODES*> FUNCTIONS;
|
||||
typedef map<int, long> FUNCTABLE;
|
||||
|
||||
|
||||
protected:
|
||||
IMCODES * m_pCodes;
|
||||
FUNCTIONS * m_pFunctions;
|
||||
FUNCTABLE * m_pFuncTable;
|
||||
|
||||
|
||||
protected:
|
||||
void DestroyIMCodes( IMCODES * );
|
||||
|
||||
public:
|
||||
CIntermediateCode();
|
||||
~CIntermediateCode();
|
||||
|
||||
void Create( CSyntaxTree & );
|
||||
void Destroy();
|
||||
|
||||
void Show( MESSAGE_FUNCTION2, CSymbolTable * pSymbolTable );
|
||||
long Addressing( long addr ); //past end<6E><64> addr<64><72> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
int ToMachineCode( void *, CRelocTable * );
|
||||
|
||||
FUNCTABLE & GetFuncTable() { return *m_pFuncTable; }
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user