Document all FOREACH loops.
This commit is contained in:
@@ -58,6 +58,7 @@ RString GameButtonToString( const InputScheme* pInputs, GameButton i );
|
||||
RString GameButtonToLocalizedString( const InputScheme* pInputs, GameButton i );
|
||||
GameButton StringToGameButton( const InputScheme* pInputs, const RString& s );
|
||||
|
||||
/** @brief A special way to loop through each game button. */
|
||||
#define FOREACH_GameButton_Custom( gb ) for( GameButton gb=GAME_BUTTON_CUSTOM_01; gb<NUM_GameButton; enum_add(gb, +1) )
|
||||
|
||||
#define GAME_BUTTON_NEXT GAME_BUTTON_CUSTOM_01
|
||||
|
||||
Reference in New Issue
Block a user