mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 22:09:55 +00:00
Added list of panoramas clamped by default
This commit is contained in:
parent
dd8bbcad97
commit
26be2f2aea
1 changed files with 8 additions and 1 deletions
|
|
@ -37,6 +37,13 @@ class Game_Map
|
|||
attr_reader :fog_oy # fog y-coordinate starting point
|
||||
attr_reader :fog_tone # fog color tone
|
||||
#--------------------------------------------------------------------------
|
||||
# * List of clamped panorama images
|
||||
#--------------------------------------------------------------------------
|
||||
CLAMPED_PANORAMAS = [
|
||||
'red',
|
||||
'red_distort',
|
||||
]
|
||||
#--------------------------------------------------------------------------
|
||||
# * Object Initialization
|
||||
#--------------------------------------------------------------------------
|
||||
def initialize
|
||||
|
|
@ -107,7 +114,7 @@ class Game_Map
|
|||
# Clear particles
|
||||
@particles_type = nil
|
||||
# Unclamp panorama
|
||||
@clamped_panorama = false
|
||||
@clamped_panorama = CLAMPED_PANORAMAS.include? @panorama_name
|
||||
# Unwrap map
|
||||
@wrapping = false
|
||||
# Full bright ambient light
|
||||
|
|
|
|||
Loading…
Reference in a new issue