Merge pull request #229 from powerlord/menuactions_all_warning_fix

Stop MENU_ACTIONS_ALL from tossing warnings with #pragma newdecls required
This commit is contained in:
Kyle Sanderson 2015-04-01 19:39:52 -07:00
commit 7a8bf78f39

View File

@ -72,7 +72,7 @@ enum MenuAction
/** Default menu actions */
#define MENU_ACTIONS_DEFAULT MenuAction_Select|MenuAction_Cancel|MenuAction_End
/** All menu actions */
#define MENU_ACTIONS_ALL MenuAction:0xFFFFFFFF
#define MENU_ACTIONS_ALL view_as<MenuAction>(0xFFFFFFFF)
#define MENU_NO_PAGINATION 0 /**< Menu should not be paginated (10 items max) */
#define MENU_TIME_FOREVER 0 /**< Menu should be displayed as long as possible */