mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-22 14:26:01 +00:00
def pbDrawTextPositions now uses symbols for text alignment and outline, and added a quicker way to draw text with no shadow/outline
This commit is contained in:
@@ -39,9 +39,9 @@ class MapBottomSprite < Sprite
|
||||
def refresh
|
||||
bitmap.clear
|
||||
textpos = [
|
||||
[@mapname, 18, 4, 0, TEXT_MAIN_COLOR, TEXT_SHADOW_COLOR],
|
||||
[@maplocation, 18, 360, 0, TEXT_MAIN_COLOR, TEXT_SHADOW_COLOR],
|
||||
[@mapdetails, Graphics.width - 16, 360, 1, TEXT_MAIN_COLOR, TEXT_SHADOW_COLOR]
|
||||
[@mapname, 18, 4, :left, TEXT_MAIN_COLOR, TEXT_SHADOW_COLOR],
|
||||
[@maplocation, 18, 360, :left, TEXT_MAIN_COLOR, TEXT_SHADOW_COLOR],
|
||||
[@mapdetails, Graphics.width - 16, 360, :right, TEXT_MAIN_COLOR, TEXT_SHADOW_COLOR]
|
||||
]
|
||||
pbDrawTextPositions(bitmap, textpos)
|
||||
end
|
||||
@@ -236,7 +236,7 @@ class PokemonRegionMap_Scene
|
||||
text = (@mode == 0) ? _INTL("ACTION: Fly") : _INTL("ACTION: Cancel Fly")
|
||||
pbDrawTextPositions(
|
||||
@sprites["help"].bitmap,
|
||||
[[text, Graphics.width - 16, 4, 1, Color.new(248, 248, 248), Color.black]]
|
||||
[[text, Graphics.width - 16, 4, :right, Color.new(248, 248, 248), Color.black]]
|
||||
)
|
||||
@sprites.each do |key, sprite|
|
||||
next if !key.include?("point")
|
||||
|
||||
Reference in New Issue
Block a user