You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
770 B

6 years ago
char* getStyle(int i,int j)//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EABDBB>λ<EFBFBD>õ<EFBFBD><C3B5>ַ<EFBFBD><D6B7><EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD>Ʊ<EFBFBD><C6B1><EFBFBD>ƴ<EFBFBD><C6B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
{
if(p[i][j]==1)//1Ϊ<31><CEAA><EFBFBD><EFBFBD>
return "<EFBFBD><EFBFBD>";
else if(p[i][j]==2)//2Ϊ<32><CEAA><EFBFBD><EFBFBD>
return "<EFBFBD><EFBFBD>";
else if(i==0&&j==0)//<2F><><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>Ե<EFBFBD><D4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ
return "<EFBFBD><EFBFBD>";
else if(i==0&&j==MAXIMUS-1)
return "<EFBFBD><EFBFBD>";
else if(i==MAXIMUS-1&&j==0)
return "<EFBFBD><EFBFBD>";
else if(i==MAXIMUS-1&&j==MAXIMUS-1)
return "<EFBFBD><EFBFBD>";
else if(i==0)
return "<EFBFBD><EFBFBD>";
else if(i==MAXIMUS-1)
return "<EFBFBD><EFBFBD>";
else if(j==0)
return "<EFBFBD><EFBFBD>";
else if(j==MAXIMUS-1)
return "<EFBFBD><EFBFBD>";
return "<EFBFBD><EFBFBD>";//<2F>м<EFBFBD><D0BC>Ŀ<EFBFBD>λ
}
char* getCurse(int i,int j){//<2F><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EABDBB>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD><CFB8><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD>ͨ<EFBFBD><CDA8><EFBFBD>Ʊ<EFBFBD><C6B1><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ
if(i==Cx){
if(j==Cy)
return "<EFBFBD><EFBFBD>";
else if (j==Cy+1)
return "<EFBFBD><EFBFBD>";
}
else if(i==Cx+1)
{
if(j==Cy)
return "<EFBFBD><EFBFBD>";
else if (j==Cy+1)
return "<EFBFBD><EFBFBD>";
}
return "<EFBFBD><EFBFBD>";//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڹ<EFBFBD><DAB9><EFBFBD><EAB8BD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>
}