Skip to content

Commit

Permalink
Merge pull request #2315 from fmatthew5876/wcolor
Browse files Browse the repository at this point in the history
Minor accuracy adjustments for weather colors
  • Loading branch information
Ghabry authored Sep 4, 2020
2 parents 5b62d7f + 7697003 commit 3544a6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/weather.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,9 @@ void Weather::CreateSandParticle() {

const std::array<uint32_t,num_sand_colors> pixels = {{
Bitmap::pixel_format.rgba_to_uint32_t(255,255,32,255), // Yellow
Bitmap::pixel_format.rgba_to_uint32_t(255,184,32,255), // Orange
Bitmap::pixel_format.rgba_to_uint32_t(255,180,32,255), // Orange
Bitmap::pixel_format.rgba_to_uint32_t(255,32,32,255), // Red
Bitmap::pixel_format.rgba_to_uint32_t(255,255,248,255), // White
Bitmap::pixel_format.rgba_to_uint32_t(255,255,240,255), // White
}};

auto* img = reinterpret_cast<uint32_t*>(sand_particle_bitmap->pixels());
Expand Down

0 comments on commit 3544a6c

Please sign in to comment.