Get rid of all other #pragma once's, except the one in StdAfx.h.

(three cheers for perl)
This commit is contained in:
Glenn Maynard
2002-11-16 08:07:38 +00:00
parent 0c9e7240c3
commit 24cc7a3c04
91 changed files with 364 additions and 93 deletions
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef BGANIMATION_H
#define BGANIMATION_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: BGAnimation Class: BGAnimation
@@ -45,3 +46,5 @@ protected:
float m_fFadeSeconds; float m_fFadeSeconds;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef BGANIMATIONLAYER_H
#define BGANIMATIONLAYER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: BGAnimation Class: BGAnimation
@@ -80,3 +81,5 @@ protected:
RageVector2 m_vTexCoordVelocity; RageVector2 m_vTexCoordVelocity;
float m_fRotationalVelocity; float m_fRotationalVelocity;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef BACKGROUND_H
#define BACKGROUND_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: Background Class: Background
@@ -72,3 +73,5 @@ protected:
bool m_bInDanger; bool m_bInDanger;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef BANNER_H
#define BANNER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: Banner.h File: Banner.h
@@ -37,3 +38,5 @@ protected:
bool m_bScrolling; bool m_bScrolling;
float m_fPercentScrolling; float m_fPercentScrolling;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef BANNERWITHFRAME_H
#define BANNERWITHFRAME_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: BannerWithFrame Class: BannerWithFrame
@@ -31,3 +32,5 @@ protected:
Sprite m_sprBannerFrame; Sprite m_sprBannerFrame;
Banner m_Banner; Banner m_Banner;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef BITMAPTEXT_H
#define BITMAPTEXT_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: BitmapText File: BitmapText
@@ -57,3 +58,5 @@ protected:
bool m_bRainbow; bool m_bRainbow;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef CODEDETECTOR_H
#define CODEDETECTOR_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: CodeDetector Class: CodeDetector
@@ -24,3 +25,5 @@ public:
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef COMBO_H
#define COMBO_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: Combo Class: Combo
@@ -37,3 +38,5 @@ protected:
Sprite m_sprCombo; Sprite m_sprCombo;
BitmapText m_textComboNumber; BitmapText m_textComboNumber;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef COURSE_H
#define COURSE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: Course Class: Course
@@ -75,3 +76,5 @@ private:
void SortCoursePointerArrayByDifficulty( CArray<Course*,Course*> &apCourses ); void SortCoursePointerArrayByDifficulty( CArray<Course*,Course*> &apCourses );
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef COURSECONTENTSFRAME_H
#define COURSECONTENTSFRAME_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: CourseContentsFrame Class: CourseContentsFrame
@@ -60,3 +61,5 @@ protected:
float m_fTimeUntilScroll; float m_fTimeUntilScroll;
float m_fItemAtTopOfList; // between 0 and m_iNumContents float m_fItemAtTopOfList; // between 0 and m_iNumContents
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef CROPPEDSPRITE_H
#define CROPPEDSPRITE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: CroppedSprite Class: CroppedSprite
@@ -29,3 +30,5 @@ protected:
float m_fCropWidth, m_fCropHeight; float m_fCropWidth, m_fCropHeight;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef DIFFICULTYICON_H
#define DIFFICULTYICON_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: DifficultyIcon Class: DifficultyIcon
@@ -21,3 +22,5 @@ public:
void SetFromNotes( PlayerNumber pn, Notes* pNotes ); void SetFromNotes( PlayerNumber pn, Notes* pNotes );
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef FADINGBANNER_H
#define FADINGBANNER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: FadingBanner Class: FadingBanner
@@ -34,3 +35,5 @@ protected:
Banner m_Banner[2]; // front and back Banner m_Banner[2]; // front and back
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef FONT_H
#define FONT_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: Font File: Font
@@ -41,3 +42,5 @@ public:
protected: protected:
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef FONTMANAGER_H
#define FONTMANAGER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: FontManager Class: FontManager
@@ -34,3 +35,5 @@ protected:
extern FontManager* FONT; // global and accessable from anywhere in our program extern FontManager* FONT; // global and accessable from anywhere in our program
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef FOOTMETER_H
#define FOOTMETER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: FootMeter Class: FootMeter
@@ -26,3 +27,5 @@ public:
private: private:
void SetNumFeet( int iNumFeet ); void SetNumFeet( int iNumFeet );
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef GAME_H
#define GAME_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: Game File: Game
@@ -19,3 +20,5 @@ enum Game
NUM_GAMES, // leave this at the end NUM_GAMES, // leave this at the end
GAME_INVALID, GAME_INVALID,
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef GAMEDEF_H
#define GAMEDEF_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: GameDef Class: GameDef
@@ -66,3 +67,5 @@ public:
MenuInput GameInputToMenuInput( GameInput GameI ) const; MenuInput GameInputToMenuInput( GameInput GameI ) const;
void MenuInputToGameInput( MenuInput MenuI, GameInput GameIout[4] ) const; void MenuInputToGameInput( MenuInput MenuI, GameInput GameIout[4] ) const;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef GAMEINPUT_H
#define GAMEINPUT_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: GameInput Class: GameInput
@@ -111,3 +112,5 @@ struct GameInput
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef GAMEMANAGER_H
#define GAMEMANAGER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: GameManager Class: GameManager
@@ -64,3 +65,5 @@ protected:
}; };
extern GameManager* GAMEMAN; // global and accessable from anywhere in our program extern GameManager* GAMEMAN; // global and accessable from anywhere in our program
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef GAMESTATE_H
#define GAMESTATE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: GameState Class: GameState
@@ -151,3 +152,5 @@ public:
extern GameState* GAMESTATE; // global and accessable from anywhere in our program extern GameState* GAMESTATE; // global and accessable from anywhere in our program
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef GHOSTARROW_H
#define GHOSTARROW_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: GhostArrow Class: GhostArrow
@@ -27,3 +28,5 @@ public:
protected: protected:
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef GHOSTARROWBRIGHT_H
#define GHOSTARROWBRIGHT_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: GhostArrowBright Class: GhostArrowBright
@@ -25,3 +26,5 @@ public:
protected: protected:
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef GHOSTARROWROW_H
#define GHOSTARROWROW_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: GhostArrowRow.h File: GhostArrowRow.h
@@ -40,3 +41,5 @@ protected:
HoldGhostArrow m_HoldGhostArrowRow[MAX_NOTE_TRACKS]; HoldGhostArrow m_HoldGhostArrowRow[MAX_NOTE_TRACKS];
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef GRADEDISPLAY_H
#define GRADEDISPLAY_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: GradeDisplay Class: GradeDisplay
@@ -38,3 +39,5 @@ protected:
RectF m_frectDestTexCoords; RectF m_frectDestTexCoords;
float m_fTimeLeftInScroll; float m_fTimeLeftInScroll;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef GRAYARROWROW_H
#define GRAYARROWROW_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: GrayArrowRow Class: GrayArrowRow
@@ -34,3 +35,5 @@ protected:
GrayArrow m_GrayArrow[MAX_NOTE_TRACKS]; GrayArrow m_GrayArrow[MAX_NOTE_TRACKS];
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef GROOVERADAR_H
#define GROOVERADAR_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: GrooveRadar Class: GrooveRadar
@@ -57,3 +58,5 @@ protected:
GrooveRadarValueMap m_GrooveRadarValueMap; GrooveRadarValueMap m_GrooveRadarValueMap;
Sprite m_sprRadarLabels[NUM_RADAR_CATEGORIES]; Sprite m_sprRadarLabels[NUM_RADAR_CATEGORIES];
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef HOLDGHOSTARROW_H
#define HOLDGHOSTARROW_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: HoldGhostArrow Class: HoldGhostArrow
@@ -27,3 +28,5 @@ public:
float m_fHeatLevel; // brightness - between 0 and 1 float m_fHeatLevel; // brightness - between 0 and 1
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef HOLDJUDGEMENT_H
#define HOLDJUDGEMENT_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: HoldJudgement Class: HoldJudgement
@@ -30,3 +31,5 @@ protected:
float m_fDisplayTime; float m_fDisplayTime;
float m_fDisplayCountdown; float m_fDisplayCountdown;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef INIFILE_H
#define INIFILE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: IniFile Class: IniFile
@@ -91,3 +92,5 @@ public:
const_iterator GetKey(const CString &keyname) const; const_iterator GetKey(const CString &keyname) const;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef INPUTFILTER_H
#define INPUTFILTER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: InputFilter Class: InputFilter
@@ -54,3 +55,5 @@ public:
extern InputFilter* INPUTFILTER; // global and accessable from anywhere in our program extern InputFilter* INPUTFILTER; // global and accessable from anywhere in our program
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef INPUTMAPPER_H
#define INPUTMAPPER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: InputMapper Class: InputMapper
@@ -73,3 +74,5 @@ protected:
extern InputMapper* INPUTMAPPER; // global and accessable from anywhere in our program extern InputMapper* INPUTMAPPER; // global and accessable from anywhere in our program
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef INPUTQUEUE_H
#define INPUTQUEUE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: InputQueue Class: InputQueue
@@ -38,3 +39,5 @@ protected:
extern InputQueue* INPUTQUEUE; // global and accessable from anywhere in our program extern InputQueue* INPUTQUEUE; // global and accessable from anywhere in our program
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef LIFEMETER_H
#define LIFEMETER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: LifeMeterBar Class: LifeMeterBar
@@ -43,3 +44,5 @@ public:
protected: protected:
PlayerNumber m_PlayerNumber; PlayerNumber m_PlayerNumber;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef LIFEMETERBAR_H
#define LIFEMETERBAR_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: LifeMeterBar Class: LifeMeterBar
@@ -49,3 +50,5 @@ private:
float m_fHotAlpha; float m_fHotAlpha;
bool m_bFailedEarlier; // set this to true when life dips below 0 bool m_bFailedEarlier; // set this to true when life dips below 0
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef LIFEMETERBATTERY_H
#define LIFEMETERBATTERY_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: LifeMeterBattery Class: LifeMeterBattery
@@ -53,3 +54,5 @@ private:
RageSoundSample m_soundGainLife; RageSoundSample m_soundGainLife;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef MENUELEMENTS_H
#define MENUELEMENTS_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: MenuElements.h File: MenuElements.h
@@ -77,3 +78,5 @@ public:
RageSoundSample m_soundSwoosh; RageSoundSample m_soundSwoosh;
RageSoundSample m_soundBack; RageSoundSample m_soundBack;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef MENUINPUT_H
#define MENUINPUT_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: MenuInput Class: MenuInput
@@ -42,3 +43,5 @@ struct MenuInput
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef MENUTIMER_H
#define MENUTIMER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: MenuTimer Class: MenuTimer
@@ -42,3 +43,5 @@ protected:
RageSoundSample m_soundBeep; RageSoundSample m_soundBeep;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef MODECHOICE_H
#define MODECHOICE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: ModeChoice Class: ModeChoice
@@ -22,3 +23,5 @@ struct ModeChoice // used in SelectMode
char name[64]; char name[64];
int numSidesJoinedToPlay; int numSidesJoinedToPlay;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef MOTIONBLURSPRITE_H
#define MOTIONBLURSPRITE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: MotionBlurSprite Class: MotionBlurSprite
@@ -107,3 +108,5 @@ protected:
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef MSDFILE_H
#define MSDFILE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: MsdFile Class: MsdFile
@@ -31,3 +32,5 @@ public:
unsigned m_iNumValues; // tells how many values are valid unsigned m_iNumValues; // tells how many values are valid
unsigned m_iNumParams[MAX_VALUES]; // tells how many params this value has unsigned m_iNumParams[MAX_VALUES]; // tells how many params this value has
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef MUSICSORTDISPLAY_H
#define MUSICSORTDISPLAY_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: MusicSortDisplay Class: MusicSortDisplay
@@ -27,3 +28,5 @@ public:
protected: protected:
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef MUSICSTATUSDISPLAY_H
#define MUSICSTATUSDISPLAY_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: MusicStatusDisplay Class: MusicStatusDisplay
@@ -29,3 +30,5 @@ public:
protected: protected:
IconType m_type; IconType m_type;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef MUSICWHEEL_H
#define MUSICWHEEL_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: MusicWheel Class: MusicWheel
@@ -200,3 +201,5 @@ protected:
}; };
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef NETWORKINPUT_H
#define NETWORKINPUT_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: NetworkInput Class: NetworkInput
@@ -28,3 +29,5 @@ struct NetworkInput
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef NOTEDATA_H
#define NOTEDATA_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: NoteData.h File: NoteData.h
@@ -127,3 +128,5 @@ public:
void Convert4sToHoldNotes(); void Convert4sToHoldNotes();
void ConvertHoldNotesTo4s(); void ConvertHoldNotesTo4s();
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef NOTEDATAWITHSCORING_H
#define NOTEDATAWITHSCORING_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: NoteDataWithScoring Class: NoteDataWithScoring
@@ -59,3 +60,5 @@ struct NoteDataWithScoring : public NoteData
float GetActualChaosRadarValue( float fSongSeconds ); float GetActualChaosRadarValue( float fSongSeconds );
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef NOTEDISPLAY_H
#define NOTEDISPLAY_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: NoteDisplay Class: NoteDisplay
@@ -38,3 +39,5 @@ protected:
CArray<RageColor,RageColor> m_colorTapTweens; CArray<RageColor,RageColor> m_colorTapTweens;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef NOTEFIELD_H
#define NOTEFIELD_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: NoteField Class: NoteField
@@ -61,3 +62,5 @@ protected:
BitmapText m_textMeasureNumber; BitmapText m_textMeasureNumber;
Quad m_rectMarkerBar; Quad m_rectMarkerBar;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef NOTETYPES_H
#define NOTETYPES_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: NoteTypes.h File: NoteTypes.h
@@ -93,3 +94,5 @@ inline float NoteRowToBeat( int iNoteIndex ) { return NoteRowToBeat( (float)iN
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef NOTES_H
#define NOTES_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: Notes Class: Notes
@@ -66,3 +67,5 @@ protected:
bool CompareNotesPointersByDifficulty(const Notes *pNotes1, const Notes *pNotes2); bool CompareNotesPointersByDifficulty(const Notes *pNotes1, const Notes *pNotes2);
void SortNotesArrayByDifficulty( CArray<Notes*,Notes*> &arrayNotess ); void SortNotesArrayByDifficulty( CArray<Notes*,Notes*> &arrayNotess );
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef OPTIONSCURSOR_H
#define OPTIONSCURSOR_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: OptionsCursor Class: OptionsCursor
@@ -31,3 +32,5 @@ protected:
Sprite m_sprMiddle; Sprite m_sprMiddle;
Sprite m_sprRight; Sprite m_sprRight;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef PLAYER_H
#define PLAYER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: Player Class: Player
@@ -80,3 +81,5 @@ protected:
ScoreDisplay* m_pScore; ScoreDisplay* m_pScore;
ScoreKeeper* m_ScoreKeeper; ScoreKeeper* m_ScoreKeeper;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef PLAYEROPTIONS_H
#define PLAYEROPTIONS_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: PlayerOptions Class: PlayerOptions
@@ -42,3 +43,5 @@ struct PlayerOptions
CString GetString(); CString GetString();
void FromString( CString sOptions ); void FromString( CString sOptions );
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef PREFSMANAGER_H
#define PREFSMANAGER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: PrefsManager Class: PrefsManager
@@ -65,3 +66,5 @@ public:
extern PrefsManager* PREFSMAN; // global and accessable from anywhere in our program extern PrefsManager* PREFSMAN; // global and accessable from anywhere in our program
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef QUAD_H
#define QUAD_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: Quad Class: Quad
@@ -21,3 +22,5 @@ public:
m_bDrawIfTextureNull = true; m_bDrawIfTextureNull = true;
} }
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef RAGEINPUT_H
#define RAGEINPUT_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: RageInput.h File: RageInput.h
@@ -160,3 +161,5 @@ namespace USB {
extern RageInput* INPUTMAN; // global and accessable from anywhere in our program extern RageInput* INPUTMAN; // global and accessable from anywhere in our program
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef RAGEMOVIETEXTURE_H
#define RAGEMOVIETEXTURE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: RageMovieTexture Class: RageMovieTexture
@@ -75,3 +76,5 @@ protected:
bool m_bLoop; bool m_bLoop;
bool m_bPlaying; bool m_bPlaying;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef RAGESOUND_H
#define RAGESOUND_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: RageSound.h File: RageSound.h
@@ -35,3 +36,5 @@ private:
extern RageSound* SOUND; // global and accessable from anywhere in our program extern RageSound* SOUND; // global and accessable from anywhere in our program
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef RANDOMSAMPLE_H
#define RANDOMSAMPLE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: RandomSample Class: RandomSample
@@ -44,3 +45,5 @@ private:
int m_iIndexLastPlayed; int m_iIndexLastPlayed;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SCOREDISPLAY_H
#define SCOREDISPLAY_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: ScoreDisplay Class: ScoreDisplay
@@ -31,3 +32,5 @@ public:
protected: protected:
PlayerNumber m_PlayerNumber; // needed to look up statistics in GAMESTATE PlayerNumber m_PlayerNumber; // needed to look up statistics in GAMESTATE
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SCOREDISPLAYNORMAL_H
#define SCOREDISPLAYNORMAL_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: ScoreDisplayNormal Class: ScoreDisplayNormal
@@ -33,3 +34,5 @@ protected:
float m_fTrailingScore; // what is displayed temporarily float m_fTrailingScore; // what is displayed temporarily
float m_fScoreVelocity; // how fast trailing approaches real score float m_fScoreVelocity; // how fast trailing approaches real score
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SCOREDISPLAYONI_H
#define SCOREDISPLAYONI_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: ScoreDisplayOni Class: ScoreDisplayOni
@@ -29,3 +30,5 @@ public:
protected: protected:
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SCOREDISPLAYROLLING_H
#define SCOREDISPLAYROLLING_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: ScoreDisplayRolling Class: ScoreDisplayRolling
@@ -44,3 +45,5 @@ protected:
float m_fTrailingScore; float m_fTrailingScore;
float m_fScoreVelocity; float m_fScoreVelocity;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SCREEN_H
#define SCREEN_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: Screen Class: Screen
@@ -72,3 +73,5 @@ public:
private: private:
bool m_FirstUpdate; bool m_FirstUpdate;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SCREENHOWTOPLAY_H
#define SCREENHOWTOPLAY_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: ScreenHowToPlay Class: ScreenHowToPlay
@@ -37,3 +38,5 @@ protected:
MenuElements m_Menu; MenuElements m_Menu;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SCREENLOADING_H
#define SCREENLOADING_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: ScreenLoading Class: ScreenLoading
@@ -27,3 +28,5 @@ protected:
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SCREENMANAGER_H
#define SCREENMANAGER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: ScreenManager Class: ScreenManager
@@ -60,3 +61,5 @@ private:
extern ScreenManager* SCREENMAN; // global and accessable from anywhere in our program extern ScreenManager* SCREENMAN; // global and accessable from anywhere in our program
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SCREENMESSAGE_H
#define SCREENMESSAGE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: ScreenMessage File: ScreenMessage
@@ -21,3 +22,5 @@ enum ScreenMessage {
SM_MenuTimer, SM_MenuTimer,
SM_User = 100 SM_User = 100
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SCREENOPTIONS_H
#define SCREENOPTIONS_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: ScreenOptions.h File: ScreenOptions.h
@@ -113,3 +114,5 @@ protected:
TransitionInvisible m_Wipe; TransitionInvisible m_Wipe;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SCREENSANDBOX_H
#define SCREENSANDBOX_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: ScreenSandbox Class: ScreenSandbox
@@ -33,3 +34,5 @@ public:
Sprite m_sprite; Sprite m_sprite;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SCROLLBAR_H
#define SCROLLBAR_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: ScrollBar Class: ScrollBar
@@ -32,3 +33,5 @@ protected:
Sprite m_sprScrollThumbPart1; Sprite m_sprScrollThumbPart1;
Sprite m_sprScrollThumbPart2; Sprite m_sprScrollThumbPart2;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SMALLGRADEDISPLAY_H
#define SMALLGRADEDISPLAY_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: SmallGradeDisplay Class: SmallGradeDisplay
@@ -32,3 +33,5 @@ protected:
Grade m_Grade; Grade m_Grade;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SNAPDISPLAY_H
#define SNAPDISPLAY_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: SnapDisplay Class: SnapDisplay
@@ -40,3 +41,5 @@ protected:
Sprite m_sprIndicators[2]; // left and right side Sprite m_sprIndicators[2]; // left and right side
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SONGMANAGER_H
#define SONGMANAGER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: SongManager Class: SongManager
@@ -78,3 +79,5 @@ protected:
extern SongManager* SONGMAN; // global and accessable from anywhere in our program extern SongManager* SONGMAN; // global and accessable from anywhere in our program
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SONGOPTIONS_H
#define SONGOPTIONS_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: SongOptions Class: SongOptions
@@ -41,3 +42,5 @@ struct SongOptions
CString GetString(); CString GetString();
void FromString( CString sOptions ); void FromString( CString sOptions );
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SPRITE_H
#define SPRITE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: Sprite.h File: Sprite.h
@@ -79,3 +80,5 @@ protected:
//FRECT m_CustomTexCoordRect; //FRECT m_CustomTexCoordRect;
float m_CustomTexCoords[8]; // (x,y) * 4 float m_CustomTexCoords[8]; // (x,y) * 4
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef STAGEBOX_H
#define STAGEBOX_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: StageBox Class: StageBox
@@ -31,3 +32,5 @@ protected:
BitmapText m_textNumber; BitmapText m_textNumber;
BitmapText m_textST; BitmapText m_textST;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef STEPMANIA_H
#define STEPMANIA_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: StepMania.h File: StepMania.h
@@ -15,3 +16,5 @@ void ApplyGraphicOptions();
#endif
+3 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef STYLE_H
#define STYLE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: Style File: Style
@@ -53,3 +54,4 @@ inline int GetStyleIndexRelativeToGame( int iGameIndex, Style style )
} }
return iStyleIndex; return iStyleIndex;
} }
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef STYLEDEF_H
#define STYLEDEF_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: StyleDef Class: StyleDef
@@ -75,3 +76,5 @@ public:
bool MatchesNotesType( NotesType type ) const; bool MatchesNotesType( NotesType type ) const;
}; };
#endif
+3 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef STYLEINPUT_H
#define STYLEINPUT_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: StyleInput Class: StyleInput
@@ -23,3 +24,4 @@ struct StyleInput
inline bool IsValid() const { return player != PLAYER_INVALID; }; inline bool IsValid() const { return player != PLAYER_INVALID; };
inline void MakeInvalid() { player = PLAYER_INVALID; col = -1; }; inline void MakeInvalid() { player = PLAYER_INVALID; col = -1; };
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef TEXTBANNER_H
#define TEXTBANNER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: TextBanner Class: TextBanner
@@ -23,3 +24,5 @@ public:
private: private:
BitmapText m_textTitle, m_textSubTitle, m_textArtist; BitmapText m_textTitle, m_textSubTitle, m_textArtist;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef THEMEMANAGER_H
#define THEMEMANAGER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: ThemeManager Class: ThemeManager
@@ -53,3 +54,5 @@ protected:
extern ThemeManager* THEME; // global and accessable from anywhere in our program extern ThemeManager* THEME; // global and accessable from anywhere in our program
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef TIPDISPLAY_H
#define TIPDISPLAY_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: TipDisplay Class: TipDisplay
@@ -32,3 +33,5 @@ protected:
float m_fSecsUntilSwitch; float m_fSecsUntilSwitch;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef TRANSITIONBACKWIPE_H
#define TRANSITIONBACKWIPE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: TransitionBackWipe Class: TransitionBackWipe
@@ -37,3 +38,5 @@ protected:
RageSoundSample m_soundBack; RageSoundSample m_soundBack;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef TRANSITIONFADE_H
#define TRANSITIONFADE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: TransitionFade Class: TransitionFade
@@ -29,3 +30,5 @@ protected:
Quad m_rect; Quad m_rect;
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef TRANSITIONINVISIBLE_H
#define TRANSITIONINVISIBLE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: TransitionInvisible Class: TransitionInvisible
@@ -26,3 +27,5 @@ public:
protected: protected:
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef TRANSITIONONIFADE_H
#define TRANSITIONONIFADE_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: TransitionOniFade Class: TransitionOniFade
@@ -44,3 +45,5 @@ protected:
}; };
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef SONG_H
#define SONG_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: Song Class: Song
@@ -218,3 +219,5 @@ void SortSongPointerArrayByGroup( CArray<Song*, Song*> &arraySongPointers );
void SortSongPointerArrayByMostPlayed( CArray<Song*, Song*> &arraySongPointers ); void SortSongPointerArrayByMostPlayed( CArray<Song*, Song*> &arraySongPointers );
#endif