summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-06-27 17:14:34 +0200
committererorcun <erorcunerorcun@hotmail.com.tr>2021-06-27 17:14:34 +0200
commitcc235be3aa1ad97ac7067af0d619ee714d9d05eb (patch)
treec99fe3c2c3e8daf61142f33ec55efa33d5cd1d70 /src/core
parentRevert "Use PS2-y global names on SampMan" (diff)
downloadre3-cc235be3aa1ad97ac7067af0d619ee714d9d05eb.tar
re3-cc235be3aa1ad97ac7067af0d619ee714d9d05eb.tar.gz
re3-cc235be3aa1ad97ac7067af0d619ee714d9d05eb.tar.bz2
re3-cc235be3aa1ad97ac7067af0d619ee714d9d05eb.tar.lz
re3-cc235be3aa1ad97ac7067af0d619ee714d9d05eb.tar.xz
re3-cc235be3aa1ad97ac7067af0d619ee714d9d05eb.tar.zst
re3-cc235be3aa1ad97ac7067af0d619ee714d9d05eb.zip
Diffstat (limited to '')
-rw-r--r--src/core/Frontend.cpp39
1 files changed, 5 insertions, 34 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp
index 84a1e771..f7916f44 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -2972,40 +2972,11 @@ CMenuManager::DrawFrontEndNormal()
#ifdef RED_DELETE_BACKGROUND
if (m_nCurrScreen == MENUPAGE_CHOOSE_DELETE_SLOT || m_nCurrScreen == MENUPAGE_DELETE_SLOT_CONFIRM) {
- CSprite2d::Draw2DPolygon(SCREEN_STRETCH_X(18.0f), MENU_Y(8.0f),
- SCREEN_WIDTH - SCREEN_STRETCH_X(20.0f), MENU_Y(8.0f),
- SCREEN_STRETCH_X(12.0f), MENU_Y(11.0f),
- SCREEN_WIDTH - SCREEN_STRETCH_X(14.0f), MENU_Y(11.0f),
- CRGBA(150, 0, 0, 140));
-
- CSprite2d::Draw2DPolygon(SCREEN_STRETCH_X(12.0f), MENU_Y(11.0f),
- SCREEN_WIDTH - SCREEN_STRETCH_X(14.0f), MENU_Y(11.0f),
- SCREEN_STRETCH_X(10.0f), MENU_Y(16.0f),
- SCREEN_WIDTH - SCREEN_STRETCH_X(12.0f), MENU_Y(16.0f),
- CRGBA(150, 0, 0, 140));
-
- CSprite2d::Draw2DPolygon(SCREEN_STRETCH_X(10.0f), MENU_Y(16.0f),
- SCREEN_WIDTH - SCREEN_STRETCH_X(12.0f), MENU_Y(16.0f),
- SCREEN_STRETCH_X(10.0f), SCREEN_SCALE_Y(431.0f),
- SCREEN_WIDTH - SCREEN_STRETCH_X(12.0f), SCREEN_SCALE_Y(431.0f),
- CRGBA(150, 0, 0, 140));
-
- CSprite2d::Draw2DPolygon(SCREEN_STRETCH_X(10.0f), SCREEN_SCALE_Y(431.0f),
- SCREEN_WIDTH - SCREEN_STRETCH_X(12.0f), SCREEN_SCALE_Y(431.0f),
- SCREEN_STRETCH_X(12.0f), SCREEN_SCALE_Y(435.0f),
- SCREEN_WIDTH - SCREEN_STRETCH_X(14.0f), SCREEN_SCALE_Y(435.0f),
- CRGBA(150, 0, 0, 140));
-
- CSprite2d::Draw2DPolygon(SCREEN_STRETCH_X(12.0f), SCREEN_SCALE_Y(435.0f),
- SCREEN_WIDTH - SCREEN_STRETCH_X(14.0f), SCREEN_SCALE_Y(435.0f),
- SCREEN_STRETCH_X(18.0f), SCREEN_SCALE_Y(438.0f),
- SCREEN_WIDTH - SCREEN_STRETCH_X(20.0f), SCREEN_SCALE_Y(438.0f),
- CRGBA(150, 0, 0, 140));
-
- // yellow bar
- CSprite2d::DrawRect(CRect(MENU_X(13.0f), SCREEN_STRETCH_FROM_BOTTOM(96.0f),
- SCREEN_STRETCH_FROM_RIGHT(11.0f), SCREEN_STRETCH_FROM_BOTTOM(59.0f)),
- CRGBA(235, 170, 50, 255));
+ CSprite2d::Draw2DPolygon(0.0f, 0.0f,
+ SCREEN_WIDTH, 0.0f,
+ 0.0f, SCREEN_HEIGHT,
+ SCREEN_WIDTH, SCREEN_HEIGHT,
+ CRGBA(150, 0, 0, 80));
}
#endif