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