Re-implemented ambient light and bulb glow

This commit is contained in:
Mathew Velasquez 2015-11-22 18:44:06 -05:00
parent c0bf423bbf
commit 4c1dda76f6
5 changed files with 38 additions and 23 deletions

View file

@ -28,6 +28,7 @@ class Game_Map
attr_accessor :particles_type # particles name
attr_accessor :clamped_panorama # panorama is clamped?
attr_accessor :wrapping # map is wrapping?
attr_accessor :ambient # ambient light
attr_reader :passages # passage table
attr_reader :priorities # prioroty table
attr_reader :terrain_tags # terrain tag table
@ -109,6 +110,8 @@ class Game_Map
@clamped_panorama = false
# Unwrap map
@wrapping = false
# Full bright ambient light
@ambient = Tone.new(0, 0, 0, 0)
# Construct map name path
mapinfo = load_data("Data/MapInfos.rxdata")