mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 10:54:15 +00:00
Whiteboard: minor cleanup in header.
This commit is contained in:
parent
58f8dbfabd
commit
65ed1dcfac
@ -58,6 +58,7 @@ public:
|
|||||||
|
|
||||||
void on_init_side();
|
void on_init_side();
|
||||||
void on_finish_side_turn();
|
void on_finish_side_turn();
|
||||||
|
void on_mouseover_change(const map_location& hex);
|
||||||
void on_select_hex(){}
|
void on_select_hex(){}
|
||||||
void on_deselect_hex(){}
|
void on_deselect_hex(){}
|
||||||
|
|
||||||
@ -82,7 +83,6 @@ public:
|
|||||||
///If there's a unit of the current viewing team capable of actions in the selected hex, returns it.
|
///If there's a unit of the current viewing team capable of actions in the selected hex, returns it.
|
||||||
unit* find_selected_actor_future();
|
unit* find_selected_actor_future();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Callback from the display when drawing hexes, to allow the whiteboard to
|
* Callback from the display when drawing hexes, to allow the whiteboard to
|
||||||
* add visual elements. Some visual elements such as arrows and fake units
|
* add visual elements. Some visual elements such as arrows and fake units
|
||||||
@ -90,8 +90,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
void draw_hex(const map_location& hex);
|
void draw_hex(const map_location& hex);
|
||||||
|
|
||||||
void on_mouseover_change(const map_location& hex);
|
|
||||||
|
|
||||||
/** Creates a temporary visual arrow, that follows the cursor, for move creation purposes */
|
/** Creates a temporary visual arrow, that follows the cursor, for move creation purposes */
|
||||||
void create_temp_move();
|
void create_temp_move();
|
||||||
/** Informs whether an arrow is being displayed for move creation purposes */
|
/** Informs whether an arrow is being displayed for move creation purposes */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user