Diff for games/mines/mines.c between version 1.9 and 1.10
| version 1.9, 2003/07/16 17:30:26 |
version 1.10, 2003/07/16 19:56:36 |
|
|
| /* $Platon: games/mines/mines.c,v 1.8 2003/07/16 17:02:17 nepto Exp $ */ |
/* $Platon: games/mines/mines.c,v 1.9 2003/07/16 17:30:26 nepto Exp $ */ |
| |
|
| #define PSQUARE_DYNAMIC_ALLOCATION (0) |
#define PSQUARE_DYNAMIC_ALLOCATION (0) |
| |
|
| Line 813 BYTE DoAll(void) /* {{{ */ |
|
| Line 813 BYTE DoAll(void) /* {{{ */ |
|
| if (isininfo(x,y)) |
if (isininfo(x,y)) |
| hidemouse(); |
hidemouse(); |
| setcolor(I_BCKCOLOR); |
setcolor(I_BCKCOLOR); |
| outtextxy(infox+INFOXSIZE/2,textheight(infostr3[0])/2+infoy+(6*textheight(infostr3[0])),txt); |
moveto(infox + INFOXSIZE / 2, textheight(infostr3[0]) / 2 |
| |
+ infoy + (6 * textheight(infostr3[0]))); |
| |
outtext(txt); |
| sprintf(txt,"%u %02u %02u", |
sprintf(txt,"%u %02u %02u", |
| (unsigned)(((clock()-start)/CLOCKS_PER_SEC)/60)/60, |
(unsigned)(((clock()-start)/CLOCKS_PER_SEC)/60)/60, |
| (unsigned)(((clock()-start)/CLOCKS_PER_SEC)/60)%60, |
(unsigned)(((clock()-start)/CLOCKS_PER_SEC)/60)%60, |
| (unsigned)((clock()-start)/CLOCKS_PER_SEC)%60); |
(unsigned)((clock()-start)/CLOCKS_PER_SEC)%60); |
| setcolor(I_NUMCOLOR); |
setcolor(I_NUMCOLOR); |
| outtextxy(infox+INFOXSIZE/2,textheight(infostr3[0])/2+infoy+(6*textheight(infostr3[0])),txt); |
outtext(txt); |
| if (isininfo(x,y)) |
if (isininfo(x,y)) |
| showmouse(); |
showmouse(); |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|