Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

Player.cpp File Reference

#include "global.h"
#include "Player.h"
#include "GameConstantsAndTypes.h"
#include "RageUtil.h"
#include "RageTimer.h"
#include "PrefsManager.h"
#include "GameManager.h"
#include "InputMapper.h"
#include "SongManager.h"
#include "GameState.h"
#include "ScoreKeeperMAX2.h"
#include "RageLog.h"
#include "RageMath.h"
#include "RageDisplay.h"
#include "ThemeManager.h"
#include "Combo.h"
#include "ScoreDisplay.h"
#include "LifeMeter.h"
#include "CombinedLifeMeter.h"
#include "PlayerAI.h"
#include "NoteField.h"
#include "NoteFieldPositioning.h"
#include "NoteDataUtil.h"
#include "ScreenGameplay.h"
#include "ScreenManager.h"
#include "StageStats.h"
#include "ArrowEffects.h"
#include "Game.h"
#include "NetworkSyncManager.h"
#include "DancingCharacters.h"
#include "ScreenDimensions.h"
#include "RageSoundManager.h"
#include "ThemeMetric.h"
#include "PlayerState.h"
#include "GameplayMessages.h"
#include "GameSoundManager.h"
#include "Style.h"

Defines

#define JUDGMENT_X(p, both_sides)   THEME->GetMetricF("Player",both_sides ? CString("JudgmentXOffsetBothSides") : ssprintf("JudgmentXOffsetOneSideP%d",p+1))
#define JUDGMENT_Y   THEME->GetMetricF("Player","JudgmentY")
#define JUDGMENT_Y_REVERSE   THEME->GetMetricF("Player","JudgmentYReverse")
#define COMBO_X(p, both_sides)   THEME->GetMetricF("Player",both_sides ? CString("ComboXOffsetBothSides") : ssprintf("ComboXOffsetOneSideP%d",p+1))
#define COMBO_Y   THEME->GetMetricF("Player","ComboY")
#define COMBO_Y_REVERSE   THEME->GetMetricF("Player","ComboYReverse")
#define ATTACK_DISPLAY_X(p, both_sides)   THEME->GetMetricF("Player",both_sides ? CString("AttackDisplayXOffsetBothSides") : ssprintf("AttackDisplayXOffsetOneSideP%d",p+1))
#define ATTACK_DISPLAY_Y   THEME->GetMetricF("Player","AttackDisplayY")
#define ATTACK_DISPLAY_Y_REVERSE   THEME->GetMetricF("Player","AttackDisplayYReverse")
#define START_DRAWING_AT_PIXELS   THEME->GetMetricI("Player","StartDrawingAtPixels")
#define STOP_DRAWING_AT_PIXELS   THEME->GetMetricI("Player","StopDrawingAtPixels")
#define MAX_PRO_TIMING_ERROR   THEME->GetMetricI("Player","MaxProTimingError")
#define ADJUSTED_WINDOW(judge)   ((PREFSMAN->m_fJudgeWindowSeconds##judge * PREFSMAN->m_fJudgeWindowScale) + PREFSMAN->m_fJudgeWindowAdd)
#define CROSSED(x)   (iOldCombo<x && iCurCombo>=x)

Functions

ThemeMetric< float > GRAY_ARROWS_Y_STANDARD ("Player","ReceptorArrowsYStandard")
ThemeMetric< float > GRAY_ARROWS_Y_REVERSE ("Player","ReceptorArrowsYReverse")
ThemeMetric< float > HOLD_JUDGMENT_Y_STANDARD ("Player","HoldJudgmentYStandard")
ThemeMetric< float > HOLD_JUDGMENT_Y_REVERSE ("Player","HoldJudgmentYReverse")
ThemeMetric< intBRIGHT_GHOST_COMBO_THRESHOLD ("Player","BrightGhostComboThreshold")
ThemeMetric< bool > TAP_JUDGMENTS_UNDER_FIELD ("Player","TapJudgmentsUnderField")
ThemeMetric< bool > HOLD_JUDGMENTS_UNDER_FIELD ("Player","HoldJudgmentsUnderField")

Variables

const float StepSearchDistance = 1.0f

Define Documentation

#define ADJUSTED_WINDOW judge   )     ((PREFSMAN->m_fJudgeWindowSeconds##judge * PREFSMAN->m_fJudgeWindowScale) + PREFSMAN->m_fJudgeWindowAdd)
 

#define ATTACK_DISPLAY_X p,
both_sides   )     THEME->GetMetricF("Player",both_sides ? CString("AttackDisplayXOffsetBothSides") : ssprintf("AttackDisplayXOffsetOneSideP%d",p+1))
 

#define ATTACK_DISPLAY_Y   THEME->GetMetricF("Player","AttackDisplayY")
 

#define ATTACK_DISPLAY_Y_REVERSE   THEME->GetMetricF("Player","AttackDisplayYReverse")
 

#define COMBO_X p,
both_sides   )     THEME->GetMetricF("Player",both_sides ? CString("ComboXOffsetBothSides") : ssprintf("ComboXOffsetOneSideP%d",p+1))
 

#define COMBO_Y   THEME->GetMetricF("Player","ComboY")
 

#define COMBO_Y_REVERSE   THEME->GetMetricF("Player","ComboYReverse")
 

#define CROSSED  )     (iOldCombo<x && iCurCombo>=x)
 

#define JUDGMENT_X p,
both_sides   )     THEME->GetMetricF("Player",both_sides ? CString("JudgmentXOffsetBothSides") : ssprintf("JudgmentXOffsetOneSideP%d",p+1))
 

#define JUDGMENT_Y   THEME->GetMetricF("Player","JudgmentY")
 

#define JUDGMENT_Y_REVERSE   THEME->GetMetricF("Player","JudgmentYReverse")
 

#define MAX_PRO_TIMING_ERROR   THEME->GetMetricI("Player","MaxProTimingError")
 

#define START_DRAWING_AT_PIXELS   THEME->GetMetricI("Player","StartDrawingAtPixels")
 

#define STOP_DRAWING_AT_PIXELS   THEME->GetMetricI("Player","StopDrawingAtPixels")
 


Function Documentation

ThemeMetric<int> BRIGHT_GHOST_COMBO_THRESHOLD "Player"  ,
"BrightGhostComboThreshold" 
 

ThemeMetric<float> GRAY_ARROWS_Y_REVERSE "Player"  ,
"ReceptorArrowsYReverse" 
 

ThemeMetric<float> GRAY_ARROWS_Y_STANDARD "Player"  ,
"ReceptorArrowsYStandard" 
 

ThemeMetric<float> HOLD_JUDGMENT_Y_REVERSE "Player"  ,
"HoldJudgmentYReverse" 
 

ThemeMetric<float> HOLD_JUDGMENT_Y_STANDARD "Player"  ,
"HoldJudgmentYStandard" 
 

ThemeMetric<bool> HOLD_JUDGMENTS_UNDER_FIELD "Player"  ,
"HoldJudgmentsUnderField" 
 

ThemeMetric<bool> TAP_JUDGMENTS_UNDER_FIELD "Player"  ,
"TapJudgmentsUnderField" 
 


Variable Documentation

const float StepSearchDistance = 1.0f [static]
 


Generated on Thu Jan 27 20:57:47 2005 for StepMania by doxygen 1.3.7