ResetGlobalAnim_Clicked();
}
+ DrawEnvelopeRequestToScreen(drawing_target, drawing_stage);
+
if (gfx.cursor_mode_override != last_cursor_mode_override)
SetMouseCursor(gfx.cursor_mode);
}
request.ysize = ysize;
}
+void DrawEnvelopeRequestToScreen(int drawing_target, int drawing_stage)
+{
+ if (global.use_envelope_request &&
+ game.request_active_or_moving &&
+ request.sort_priority > 0 &&
+ drawing_target == DRAW_TO_SCREEN &&
+ drawing_stage == DRAW_GLOBAL_ANIM_STAGE_2)
+ {
+ BlitToScreen(request.bitmap, 0, 0, request.xsize, request.ysize,
+ request.sx, request.sy);
+ }
+}
+
static void setRequestBasePosition(int *x, int *y)
{
int sx_base, sy_base;
void DrawMiniElementOrWall(int, int, int, int);
void ShowEnvelope(int);
-void ShowEnvelopeDoor(char *text, int);
+void ShowEnvelopeDoor(char *, int);
+void DrawEnvelopeRequestToScreen(int, int);
void DrawLevel(int);
void DrawSizedLevel(int, int, int, int, int);