#endif /* SERGEEV */
#ifdef SERGEEV
-wnd wnds[6]={{1,1,80,25}, /* FULLSCREEN_WINDOW */
- {1,1,25,12}, /* LEFTUPPER_WINDOW */
- {26,2,80,12}, /* SRSCAN_WINDOW */
- {65,1,80,10}, /* LRSCAN_WINDOW */
- {1,13,80,23}, /* LOWER_WINDOW */
- {1,24,80,25}, /* BOTTOM_WINDOW */
+typedef struct {
+ int wndleft,wndtop,wndright,wndbottom;
+} wnd;
+static wnd wnds[6]={{1,1,80,25}, /* FULLSCREEN_WINDOW */
+ {1,1,25,12}, /* LEFTUPPER_WINDOW */
+ {26,2,80,12}, /* SRSCAN_WINDOW */
+ {65,1,80,10}, /* LRSCAN_WINDOW */
+ {1,13,80,23}, /* LOWER_WINDOW */
+ {1,24,80,25}, /* BOTTOM_WINDOW */
};
short curwnd;
#endif /* SERGEEV */
proutn("%d - %d ", (int)x, (int)y);
#else
if (game.damage[DSRSENS]==0 || condit==IHDOCKED) {
+ int crx, cry;
+ crx = wherex();
+ cry = wherey();
drawmaps(2);
delay((wait!=1)*400);
gotoxy(iy*2+3,ix+2);
lowvideo();
_setcursortype(_NORMALCURSOR);
}
+ gotoxy(crx, cry);
} else {
proutn("%d - %d ", (int)x, (int)y);
}