Bug fixes

* Fixed side images defaulting to the left side
* Fixed overlay screens being displayed below the doll
* Removed volume suggestion during quidditch matches (obsolete)
This commit is contained in:
LoafyLemon 2024-11-21 17:10:04 +00:00
parent c7df99e4b0
commit cd096eaf15
3 changed files with 6 additions and 3 deletions

View File

@ -74,7 +74,7 @@ screen say(who, what, side_doll=None, side_image=None, icon=None):
if side_doll: if side_doll:
add side_doll add side_doll
elif side_image: # Compat elif side_image: # Compat
add side_image zoom 0.5 align (0.0, 1.0) xoffset 16 add side_image zoom 0.5 align (1.0, 1.0) xoffset 16
else: else:
add SideImage() # Proxy for _side_image add SideImage() # Proxy for _side_image

View File

@ -14,8 +14,6 @@ init python early:
from operator import itemgetter from operator import itemgetter
from collections import OrderedDict from collections import OrderedDict
get_volume_preference = renpy.game.preferences.get_volume
def hashstring(input_string): def hashstring(input_string):
return int(hashlib.md5(input_string.encode("utf-8")).hexdigest(), 16) return int(hashlib.md5(input_string.encode("utf-8")).hexdigest(), 16)

View File

@ -1,23 +1,28 @@
screen blkfade(): screen blkfade():
layer "overlay"
tag blkfade tag blkfade
zorder 25 zorder 25
add Color("#000") add Color("#000")
screen whitefade(): screen whitefade():
layer "overlay"
tag whitefade tag whitefade
zorder 25 zorder 25
add Color("#fff") add Color("#fff")
screen blktone(alpha=0.5): screen blktone(alpha=0.5):
layer "overlay"
tag blktone tag blktone
zorder 14 zorder 14
add Color("#000", alpha=alpha) add Color("#000", alpha=alpha)
screen white(): screen white():
layer "overlay"
zorder 20 zorder 20
add Color("#fff") add Color("#fff")
screen bld1(): screen bld1():
layer "overlay"
zorder 10 zorder 10
tag bld1 tag bld1