dungeon_crawler
diff prototype/src/renderer.cc @ 74:5981917093ff
color grading palette output done, all is left is the input
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 21 Oct 2012 15:56:47 +0300 |
parents | 67d330038629 |
children | 12a1dcfe91fa |
line diff
1.1 --- a/prototype/src/renderer.cc Sun Oct 21 02:11:23 2012 +0300 1.2 +++ b/prototype/src/renderer.cc Sun Oct 21 15:56:47 2012 +0300 1.3 @@ -199,6 +199,16 @@ 1.4 return true; 1.5 } 1.6 1.7 +GradePalette *Renderer::get_grade_palette() 1.8 +{ 1.9 + return &gradepal; 1.10 +} 1.11 + 1.12 +const GradePalette *Renderer::get_grade_palette() const 1.13 +{ 1.14 + return &gradepal; 1.15 +} 1.16 + 1.17 1.18 // ---- fallback forward renderer ---- 1.19 FwdRenderer::FwdRenderer()