Added list of panoramas clamped by default

This commit is contained in:
Mathew 2015-11-26 12:27:15 -05:00 committed by Mathew Velasquez
parent 25a6478553
commit 189556652c
1 changed files with 8 additions and 1 deletions

View File

@ -37,6 +37,13 @@ class Game_Map
attr_reader :fog_oy # fog y-coordinate starting point attr_reader :fog_oy # fog y-coordinate starting point
attr_reader :fog_tone # fog color tone attr_reader :fog_tone # fog color tone
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
# * List of clamped panorama images
#--------------------------------------------------------------------------
CLAMPED_PANORAMAS = [
'red',
'red_distort',
]
#--------------------------------------------------------------------------
# * Object Initialization # * Object Initialization
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
def initialize def initialize
@ -107,7 +114,7 @@ class Game_Map
# Clear particles # Clear particles
@particles_type = nil @particles_type = nil
# Unclamp panorama # Unclamp panorama
@clamped_panorama = false @clamped_panorama = CLAMPED_PANORAMAS.include? @panorama_name
# Unwrap map # Unwrap map
@wrapping = false @wrapping = false
# Full bright ambient light # Full bright ambient light