Add basic tooltip
This commit is contained in:
@@ -34,6 +34,11 @@ typedef struct InputMapping {
|
||||
MouseButton moveDown;
|
||||
} InputMapping;
|
||||
|
||||
typedef struct ToolTipCost {
|
||||
bool active;
|
||||
i32 costs[RES_COUNT];
|
||||
} ToolTipCost;
|
||||
|
||||
typedef struct InputState {
|
||||
InputType state;
|
||||
InputMapping mapping;
|
||||
@@ -66,6 +71,7 @@ typedef struct InputState {
|
||||
// SELECTED_BUILDING
|
||||
|
||||
// Other
|
||||
ToolTipCost toolTipCost;
|
||||
struct {
|
||||
/* Selected units
|
||||
* 1: Position
|
||||
|
||||
Reference in New Issue
Block a user