summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-12 11:27:14 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-12 11:27:14 -0500
commitc1a88a064a0cddbc1df2e716ef2102d22bbf681b (patch)
treeca4fa1a039cbe51f5c2dcfef406f749e62723b86
parent3996ccb4e2a0d81500d1b1370b2b97256d1ee465 (diff)
downloadether-c1a88a064a0cddbc1df2e716ef2102d22bbf681b.tar.gz
ether-c1a88a064a0cddbc1df2e716ef2102d22bbf681b.tar.bz2
ether-c1a88a064a0cddbc1df2e716ef2102d22bbf681b.zip
dust is more of a glow than a solid colour now
-rw-r--r--src/renderer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/renderer.cpp b/src/renderer.cpp index 9d3af97..2dac07e 100644 --- a/src/renderer.cpp +++ b/src/renderer.cpp
@@ -107,6 +107,9 @@ Renderer::Renderer()
107 SDL_SetRenderDrawBlendMode(ren_.get(), SDL_BLENDMODE_MOD); 107 SDL_SetRenderDrawBlendMode(ren_.get(), SDL_BLENDMODE_MOD);
108 SDL_SetRenderDrawColor(ren_.get(), 255, 150, 255, 255); 108 SDL_SetRenderDrawColor(ren_.get(), 255, 150, 255, 255);
109 SDL_RenderFillRect(ren_.get(), nullptr); 109 SDL_RenderFillRect(ren_.get(), nullptr);
110
111 SDL_SetRenderDrawColor(ren_.get(), 100, 100, 100, 255);
112 SDL_RenderFillRect(ren_.get(), nullptr);
110} 113}
111 114
112void Renderer::render( 115void Renderer::render(
@@ -167,7 +170,7 @@ void Renderer::render(
167 170
168 case Tile::Dust: 171 case Tile::Dust:
169 { 172 {
170 SDL_SetRenderDrawColor(ren_.get(), 128, 40, 255, alpha); 173 SDL_SetRenderDrawColor(ren_.get(), 210, 210, 210, alpha);
171 break; 174 break;
172 } 175 }
173 176