The Battle for Wesnoth  1.19.7+dev
Enumerations
drawing_layer.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  drawing_layer {
  terrain_bg , grid_top , mouseover_overlay , footsteps ,
  mouseover_top , unit_first , unit_bg = unit_first + 10 , unit_default = unit_first + 40 ,
  terrain_fg = unit_first + 50 , grid_bottom , unit_move_default = unit_first + 60 , unit_fg = unit_first + 80 ,
  unit_missile_default = unit_first + 90 , unit_last = unit_first + 100 , reachmap , mouseover_bottom ,
  fog_shroud , arrows , actions_numbering , selected_hex ,
  attack_indicator , unit_bar , move_info , linger_overlay ,
  border
}
 

Enumeration Type Documentation

◆ drawing_layer

enum drawing_layer
strong
Enumerator
terrain_bg 

Terrain drawn behind the unit.

grid_top 

Top half part of grid image.

mouseover_overlay 

Mouseover overlay used by editor.

footsteps 

Footsteps showing path from unit to mouse.

mouseover_top 

Top half of image following the mouse.

unit_first 

Reserve layers to be selected for wml.

unit_bg 

Ellipse behind the unit.

unit_default 

Default layer for drawing units.

terrain_fg 

Terrain drawn in front of the unit.

grid_bottom 

Bottom half part of grid image.

Should be under moving units, to avoid masking south move

unit_move_default 

Default layer for drawing moving units.

unit_fg 

Ellipse in front of the unit.

unit_missile_default 

Default layer for missile frames.

unit_last 
reachmap 

Overlay on unreachable hexes.

mouseover_bottom 

Bottom half of image following the mouse.

fog_shroud 

Fog and shroud.

arrows 

Arrows from the arrows framework.

Used for planned moves display

actions_numbering 

Move numbering for the whiteboard.

selected_hex 

Image on the selected unit.

attack_indicator 

Layer which holds the attack indicator.

unit_bar 

Unit bars and overlays are drawn on this layer (for testing here)

move_info 

Movement info (defense%, etc...)

linger_overlay 

The overlay used for the linger mode.

border 

The border of the map.

Definition at line 19 of file drawing_layer.hpp.