// maybe blit a bitmap of a help overlay to the screen void help_overlay_maybe_blit(int overlay_id) { Assert(overlay_id >= 0 && overlay_id < MAX_HELP_OVERLAYS); if ( Help_overlay_flags & (1<<overlay_id) ) { context_help_grey_screen(); help_overlay_blit(overlay_id); } }
// maybe blit a bitmap of a help overlay to the screen void help_overlay_maybe_blit(int overlay_id, int resolution_index) { Assert(overlay_id < MAX_HELP_OVERLAYS); if ( (overlay_id >= 0) && (Help_overlay_flags & (1<<overlay_id)) && (resolution_index >= 0) && (resolution_index < help_overlaylist[overlay_id].num_resolutions) ) { context_help_grey_screen(); help_overlay_blit(overlay_id, resolution_index); } }