Added menu buttons for building types of units
This commit is contained in:
@ -13,9 +13,9 @@ using std::string;
|
||||
|
||||
// fixme: there's probably a better way to do this, but SDL's event model
|
||||
// has me hard-pressed to figure out what it is.
|
||||
enum ButtonAction {BUTTON_BUILD, BUTTON_ATTACK, BUTTON_MOVE,
|
||||
BUTTON_BUILD_ATTACKER, BUTTON_BUILD_DEFENDER,
|
||||
BUTTON_BUILD_PRODUCER};
|
||||
enum ButtonAction {BUTTON_BUILD=0x1, BUTTON_ATTACK=0x2, BUTTON_MOVE=0x4,
|
||||
BUTTON_BUILD_ATTACKER=0x8, BUTTON_BUILD_DEFENDER=0x10,
|
||||
BUTTON_BUILD_PRODUCER=0x20};
|
||||
|
||||
class MenuButton
|
||||
{
|
||||
|
Reference in New Issue
Block a user