mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Rewrote party screen debug code, misc code changes
This commit is contained in:
@@ -361,11 +361,15 @@ module UI
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
def fade_in
|
||||
pbFadeInAndShow(@sprites)# { update_visuals }
|
||||
# TODO: pbFadeInAndShow changes the colour of all sprites. Make it instead
|
||||
# change the opacity of @viewport like def pbFadeOutIn.
|
||||
pbFadeInAndShow(@sprites)
|
||||
end
|
||||
|
||||
def fade_out
|
||||
pbFadeOutAndHide(@sprites)# { update_visuals }
|
||||
# TODO: pbFadeOutAndHide changes the colour of all sprites. Make it
|
||||
# instead change the opacity of @viewport like def pbFadeOutIn.
|
||||
pbFadeOutAndHide(@sprites)
|
||||
end
|
||||
|
||||
def dispose
|
||||
@@ -490,7 +494,9 @@ module UI
|
||||
end
|
||||
end
|
||||
@sprites[:speech_box].visible = false
|
||||
ret = options.keys[ret] if options.is_a?(Hash)
|
||||
if options.is_a?(Hash)
|
||||
ret = (ret < 0) ? nil : options.keys[ret]
|
||||
end
|
||||
return ret
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user