Rewrote load game screen inc. supporting multiple save files, allowed \PN and \v[42] in map names and Town Map point names

This commit is contained in:
Maruno17
2024-10-20 23:46:56 +01:00
parent 89c344dc00
commit 6152b75cb1
21 changed files with 781 additions and 60 deletions

View File

@@ -65,7 +65,7 @@ module UI
end
def gendered_filename(base_filename)
return filename_with_appendix(base_filename, "_f") if $player.female?
return filename_with_appendix(base_filename, "_f") if $player&.female?
return base_filename
end
@@ -306,6 +306,8 @@ module UI
# The visuals class.
#=============================================================================
class BaseVisuals
attr_reader :sprites
BACKGROUND_FILENAME = "bg"
include SpriteContainerMixin
@@ -800,6 +802,7 @@ module UI
end
def main
return if @disposed
start_screen
loop do
on_start_main_loop