if (redraw_mask & REDRAW_FIELD)
{
if (game_status != PLAYING || redraw_mask & REDRAW_FROM_BACKBUFFER)
+ {
XCopyArea(display,backbuffer,window,gc,
REAL_SX,REAL_SY, FULL_SXSIZE,FULL_SYSIZE,
REAL_SX,REAL_SY);
+ }
else
{
int fx = FX, fy = FY;
text += tl + (tc == 32 ? 1 : 0);
}
-
-
#if 0
if (req_state & REQ_ASK)
{
#endif
-
-
OpenDoor(DOOR_OPEN_1);
ClearEventQueue();
case ButtonRelease:
case MotionNotify:
{
+
+#if 0
int choice;
+#endif
if (event.type == MotionNotify)
{
redraw_mask |= REDRAW_DOOR_2;
}
+
+
+#if 1
BackToFront();
+#else
+ XCopyArea(display, drawto, window, gc, DX, DY, DXSIZE, DYSIZE, DX, DY);
+#endif
+
+
if (game_status == MAINMENU)
DoAnimation();