From 17b17297ece364bd9cabaf9cbe13bcc6af5d61fa Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sun, 20 Feb 2011 23:07:38 -0500 Subject: [PATCH] Minor docs. --- src/Player.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/Player.cpp b/src/Player.cpp index 9a9515742f..b1fe98c48d 100644 --- a/src/Player.cpp +++ b/src/Player.cpp @@ -159,6 +159,11 @@ ThemeMetric IMMEDIATE_HOLD_LET_GO ( "Player", "ImmediateHoldLetGo" ); * If set to true, the Player must step on a hold head in order for the hold to activate. * If set to false, merely holding your foot down as the hold head approaches will suffice. */ ThemeMetric REQUIRE_STEP_ON_HOLD_HEADS ( "Player", "RequireStepOnHoldHeads" ); +/** + * @brief Must a Player step on a mine for it to activate? + * + * If set to true, the Player must step on a mine for it to blow up. + * If set to false, merely holding your foot down as the mine approaches will suffice. */ ThemeMetric REQUIRE_STEP_ON_MINES ( "Player", "RequireStepOnMines" ); //ThemeMetric HOLD_TRIGGERS_TAP_NOTES ( "Player", "HoldTriggersTapNotes" ); // parastar stuff; leave in though /** @@ -434,7 +439,10 @@ void Player::Init( m_fActiveRandomAttackStart = -1.0f; } - +/** + * @brief Determine if a TapNote needs a tap note style judgment. + * @param tn the TapNote in question. + * @return true if it does, false otherwise. */ static bool NeedsTapJudging( const TapNote &tn ) { switch( tn.type ) @@ -453,6 +461,10 @@ static bool NeedsTapJudging( const TapNote &tn ) } } +/** + * @brief Determine if a TapNote needs a hold note style judgment. + * @param tn the TapNote in question. + * @return true if it does, false otherwise. */ static bool NeedsHoldJudging( const TapNote &tn ) { switch( tn.type )