From 8aaf3f5ae5dc6a9cacf9c72efabc540d3ffd8980 Mon Sep 17 00:00:00 2001 From: Issac332 <119879937+Issac8658@users.noreply.github.com> Date: Sun, 5 Jul 2026 10:10:46 +0300 Subject: [PATCH] ikispukis --- binding-mri/module_rpg1.rb | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/binding-mri/module_rpg1.rb b/binding-mri/module_rpg1.rb index f32c899..f46d0ac 100644 --- a/binding-mri/module_rpg1.rb +++ b/binding-mri/module_rpg1.rb @@ -1,11 +1,23 @@ +# aspects, resolutions and filenames +# 4:3 - 640x480 - "_4_3" +# 16:9 - 960x540 - "_16_9" +# 16:10 - 960x600 - "_16_10" +# +# extra (not recomendated) +# 16:9 HD - 1280x720 - "_16_9_hd" +# 16:9 FHD - 1920x1080 - "_16_9_fhd" module Graphics RESOLUTION_ASPECT = - if Graphics.width == 1280 && Graphics.height == 720 + if Graphics.width == 1920 && Graphics.height == 1080 + "_16_9_fhd" + elsif Graphics.width == 1280 && Graphics.height == 720 "_16_9_hd" elsif Graphics.width == 1920 / 2 && Graphics.height == 1080 / 2 "_16_9" elsif Graphics.width == 640 && Graphics.height == 480 "_4_3" + else + "" end end