dungeon_crawler
diff prototype/src/level.h @ 23:fa8f89d06f6f
progress with light rendering
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 23 Aug 2012 00:10:10 +0300 |
parents | 252a00508411 |
children | 862461b686f4 |
line diff
1.1 --- a/prototype/src/level.h Tue Aug 21 06:34:14 2012 +0300 1.2 +++ b/prototype/src/level.h Thu Aug 23 00:10:10 2012 +0300 1.3 @@ -26,8 +26,10 @@ 1.4 1.5 const GridCell *get_cell(int x, int y) const; 1.6 Vector3 get_cell_pos(int x, int y) const; 1.7 + unsigned int get_cell_dirmask(int x, int y) const; 1.8 1.9 void draw() const; 1.10 + void draw_lights() const; 1.11 }; 1.12 1.13 class GridCell { 1.14 @@ -41,6 +43,7 @@ 1.15 void add_tile(const Tile *tile); 1.16 1.17 void draw(unsigned int draw_mask) const; 1.18 + void draw_lights(unsigned int draw_mask) const; 1.19 }; 1.20 1.21 #endif // LEVEL_H_