26 lines
345 B
C++
26 lines
345 B
C++
|
|
#ifndef TILE_H
|
|
#define TILE_H
|
|
|
|
enum{ EAX=1,ECX,EDX,EDI,ESI,EBX };
|
|
|
|
struct Tile{
|
|
|
|
int want_l,want_r,hits,argFrame;
|
|
|
|
Tile( const string &a,Tile *l=0,Tile *r=0 );
|
|
Tile( const string &a,const string &a2,Tile *l=0,Tile *r=0 );
|
|
~Tile();
|
|
|
|
void label();
|
|
int eval( int want );
|
|
|
|
private:
|
|
int need;
|
|
Tile *l,*r;
|
|
string assem,assem2;
|
|
|
|
};
|
|
|
|
#endif
|