Draw the grid under the black stripes.
I think it make more sense. Before, when the grid was on top, it broke the continuity of the stripes
This commit is contained in:
parent
27f86d2e06
commit
d78681df95
1 changed files with 6 additions and 7 deletions
|
@ -306,7 +306,6 @@ void game_display::draw(bool update,bool force)
|
|||
}
|
||||
*/
|
||||
|
||||
|
||||
tile_stack_clear();
|
||||
|
||||
if(!is_shrouded /*|| !on_map*/) {
|
||||
|
@ -340,6 +339,11 @@ void game_display::draw(bool update,bool force)
|
|||
tile_stack_append(image::get_image(tod_hex_mask,image::UNMASKED,image::NO_ADJUST_COLOUR));
|
||||
}
|
||||
|
||||
// draw the grid, if that's been enabled
|
||||
if(grid_ && !is_shrouded && on_map) {
|
||||
tile_stack_append(image::get_image(game_config::grid_image));
|
||||
}
|
||||
|
||||
//FIXME: this is a temporary hack to render/flush
|
||||
//the stack, so we can draw text
|
||||
tile_stack_render(xpos, ypos);
|
||||
|
@ -355,12 +359,7 @@ void game_display::draw(bool update,bool force)
|
|||
}
|
||||
}
|
||||
|
||||
// draw the grid, if that's been enabled
|
||||
if(grid_ && !is_shrouded && on_map) {
|
||||
tile_stack_append(image::get_image(game_config::grid_image));
|
||||
}
|
||||
|
||||
// draw cross images for debug highlights
|
||||
// draw cross images for debug highlights
|
||||
if(game_config::debug && debugHighlights_.count(*it)) {
|
||||
tile_stack_append(image::get_image(game_config::cross_image));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue