From 24cc7a3c04886ee6deb6bc66f8a30f8a20d39c44 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 16 Nov 2002 08:07:38 +0000 Subject: [PATCH] Get rid of all other #pragma once's, except the one in StdAfx.h. (three cheers for perl) --- stepmania/src/BGAnimation.h | 5 ++++- stepmania/src/BGAnimationLayer.h | 5 ++++- stepmania/src/Background.h | 5 ++++- stepmania/src/Banner.h | 5 ++++- stepmania/src/BannerWithFrame.h | 5 ++++- stepmania/src/BitmapText.h | 5 ++++- stepmania/src/CodeDetector.h | 5 ++++- stepmania/src/Combo.h | 5 ++++- stepmania/src/Course.h | 5 ++++- stepmania/src/CourseContentsFrame.h | 5 ++++- stepmania/src/CroppedSprite.h | 5 ++++- stepmania/src/DifficultyIcon.h | 5 ++++- stepmania/src/FadingBanner.h | 5 ++++- stepmania/src/Font.h | 5 ++++- stepmania/src/FontManager.h | 5 ++++- stepmania/src/FootMeter.h | 5 ++++- stepmania/src/Game.h | 5 ++++- stepmania/src/GameDef.h | 5 ++++- stepmania/src/GameInput.h | 5 ++++- stepmania/src/GameManager.h | 5 ++++- stepmania/src/GameState.h | 5 ++++- stepmania/src/GhostArrow.h | 5 ++++- stepmania/src/GhostArrowBright.h | 5 ++++- stepmania/src/GhostArrowRow.h | 5 ++++- stepmania/src/GradeDisplay.h | 5 ++++- stepmania/src/GrayArrowRow.h | 5 ++++- stepmania/src/GrooveRadar.h | 5 ++++- stepmania/src/HoldGhostArrow.h | 5 ++++- stepmania/src/HoldJudgement.h | 5 ++++- stepmania/src/IniFile.h | 5 ++++- stepmania/src/InputFilter.h | 5 ++++- stepmania/src/InputMapper.h | 5 ++++- stepmania/src/InputQueue.h | 5 ++++- stepmania/src/LifeMeter.h | 5 ++++- stepmania/src/LifeMeterBar.h | 5 ++++- stepmania/src/LifeMeterBattery.h | 5 ++++- stepmania/src/MenuElements.h | 5 ++++- stepmania/src/MenuInput.h | 5 ++++- stepmania/src/MenuTimer.h | 5 ++++- stepmania/src/ModeChoice.h | 5 ++++- stepmania/src/MotionBlurSprite.h | 5 ++++- stepmania/src/MsdFile.h | 5 ++++- stepmania/src/MusicSortDisplay.h | 5 ++++- stepmania/src/MusicStatusDisplay.h | 5 ++++- stepmania/src/MusicWheel.h | 5 ++++- stepmania/src/NetworkInput.h | 5 ++++- stepmania/src/NoteData.h | 5 ++++- stepmania/src/NoteDataWithScoring.h | 5 ++++- stepmania/src/NoteDisplay.h | 5 ++++- stepmania/src/NoteField.h | 5 ++++- stepmania/src/NoteTypes.h | 5 ++++- stepmania/src/Notes.h | 5 ++++- stepmania/src/OptionsCursor.h | 5 ++++- stepmania/src/Player.h | 5 ++++- stepmania/src/PlayerOptions.h | 5 ++++- stepmania/src/PrefsManager.h | 5 ++++- stepmania/src/Quad.h | 5 ++++- stepmania/src/RageInput.h | 5 ++++- stepmania/src/RageMovieTexture.h | 5 ++++- stepmania/src/RageSound.h | 5 ++++- stepmania/src/RandomSample.h | 5 ++++- stepmania/src/ScoreDisplay.h | 5 ++++- stepmania/src/ScoreDisplayNormal.h | 5 ++++- stepmania/src/ScoreDisplayOni.h | 5 ++++- stepmania/src/ScoreDisplayRolling.h | 5 ++++- stepmania/src/Screen.h | 5 ++++- stepmania/src/ScreenHowToPlay.h | 5 ++++- stepmania/src/ScreenLoading.h | 5 ++++- stepmania/src/ScreenManager.h | 5 ++++- stepmania/src/ScreenMessage.h | 5 ++++- stepmania/src/ScreenOptions.h | 5 ++++- stepmania/src/ScreenSandbox.h | 5 ++++- stepmania/src/ScrollBar.h | 5 ++++- stepmania/src/SmallGradeDisplay.h | 5 ++++- stepmania/src/SnapDisplay.h | 5 ++++- stepmania/src/SongManager.h | 5 ++++- stepmania/src/SongOptions.h | 5 ++++- stepmania/src/Sprite.h | 5 ++++- stepmania/src/StageBox.h | 5 ++++- stepmania/src/StepMania.h | 5 ++++- stepmania/src/Style.h | 6 ++++-- stepmania/src/StyleDef.h | 5 ++++- stepmania/src/StyleInput.h | 6 ++++-- stepmania/src/TextBanner.h | 5 ++++- stepmania/src/ThemeManager.h | 5 ++++- stepmania/src/TipDisplay.h | 5 ++++- stepmania/src/TransitionBackWipe.h | 5 ++++- stepmania/src/TransitionFade.h | 5 ++++- stepmania/src/TransitionInvisible.h | 5 ++++- stepmania/src/TransitionOniFade.h | 5 ++++- stepmania/src/song.h | 5 ++++- 91 files changed, 364 insertions(+), 93 deletions(-) diff --git a/stepmania/src/BGAnimation.h b/stepmania/src/BGAnimation.h index 88617de62a..2e8b76a9e6 100644 --- a/stepmania/src/BGAnimation.h +++ b/stepmania/src/BGAnimation.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef BGANIMATION_H +#define BGANIMATION_H /* ----------------------------------------------------------------------------- Class: BGAnimation @@ -45,3 +46,5 @@ protected: float m_fFadeSeconds; }; + +#endif diff --git a/stepmania/src/BGAnimationLayer.h b/stepmania/src/BGAnimationLayer.h index 1338944a50..a0d7cadaac 100644 --- a/stepmania/src/BGAnimationLayer.h +++ b/stepmania/src/BGAnimationLayer.h @@ -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 diff --git a/stepmania/src/Background.h b/stepmania/src/Background.h index 841dafcfc8..c337c85c9f 100644 --- a/stepmania/src/Background.h +++ b/stepmania/src/Background.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef BACKGROUND_H +#define BACKGROUND_H /* ----------------------------------------------------------------------------- Class: Background @@ -72,3 +73,5 @@ protected: bool m_bInDanger; }; + +#endif diff --git a/stepmania/src/Banner.h b/stepmania/src/Banner.h index 8195e19753..7d1be096bd 100644 --- a/stepmania/src/Banner.h +++ b/stepmania/src/Banner.h @@ -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 diff --git a/stepmania/src/BannerWithFrame.h b/stepmania/src/BannerWithFrame.h index f50ecdeaf7..ff34f5517e 100644 --- a/stepmania/src/BannerWithFrame.h +++ b/stepmania/src/BannerWithFrame.h @@ -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 diff --git a/stepmania/src/BitmapText.h b/stepmania/src/BitmapText.h index 3f25431725..4f5f2f38e7 100644 --- a/stepmania/src/BitmapText.h +++ b/stepmania/src/BitmapText.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef BITMAPTEXT_H +#define BITMAPTEXT_H /* ----------------------------------------------------------------------------- File: BitmapText @@ -57,3 +58,5 @@ protected: bool m_bRainbow; }; + +#endif diff --git a/stepmania/src/CodeDetector.h b/stepmania/src/CodeDetector.h index 4f9289b707..3f7fe45004 100644 --- a/stepmania/src/CodeDetector.h +++ b/stepmania/src/CodeDetector.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef CODEDETECTOR_H +#define CODEDETECTOR_H /* ----------------------------------------------------------------------------- Class: CodeDetector @@ -24,3 +25,5 @@ public: + +#endif diff --git a/stepmania/src/Combo.h b/stepmania/src/Combo.h index 08aa6e9301..9600b466b6 100644 --- a/stepmania/src/Combo.h +++ b/stepmania/src/Combo.h @@ -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 diff --git a/stepmania/src/Course.h b/stepmania/src/Course.h index f2623d2eb3..890eb065be 100644 --- a/stepmania/src/Course.h +++ b/stepmania/src/Course.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef COURSE_H +#define COURSE_H /* ----------------------------------------------------------------------------- Class: Course @@ -75,3 +76,5 @@ private: void SortCoursePointerArrayByDifficulty( CArray &apCourses ); + +#endif diff --git a/stepmania/src/CourseContentsFrame.h b/stepmania/src/CourseContentsFrame.h index 95c6d20993..b99efc04b0 100644 --- a/stepmania/src/CourseContentsFrame.h +++ b/stepmania/src/CourseContentsFrame.h @@ -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 diff --git a/stepmania/src/CroppedSprite.h b/stepmania/src/CroppedSprite.h index d20aaaf2cd..9b4b7b80c8 100644 --- a/stepmania/src/CroppedSprite.h +++ b/stepmania/src/CroppedSprite.h @@ -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 diff --git a/stepmania/src/DifficultyIcon.h b/stepmania/src/DifficultyIcon.h index 7ded437217..b8fc964e86 100644 --- a/stepmania/src/DifficultyIcon.h +++ b/stepmania/src/DifficultyIcon.h @@ -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 diff --git a/stepmania/src/FadingBanner.h b/stepmania/src/FadingBanner.h index 6cad3e972a..8da227c275 100644 --- a/stepmania/src/FadingBanner.h +++ b/stepmania/src/FadingBanner.h @@ -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 diff --git a/stepmania/src/Font.h b/stepmania/src/Font.h index d9b07e02bb..3b8233d914 100644 --- a/stepmania/src/Font.h +++ b/stepmania/src/Font.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef FONT_H +#define FONT_H /* ----------------------------------------------------------------------------- File: Font @@ -41,3 +42,5 @@ public: protected: }; + +#endif diff --git a/stepmania/src/FontManager.h b/stepmania/src/FontManager.h index 4d441a98f4..b15cbaf75f 100644 --- a/stepmania/src/FontManager.h +++ b/stepmania/src/FontManager.h @@ -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 diff --git a/stepmania/src/FootMeter.h b/stepmania/src/FootMeter.h index e40a8fb268..e7b2682797 100644 --- a/stepmania/src/FootMeter.h +++ b/stepmania/src/FootMeter.h @@ -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 diff --git a/stepmania/src/Game.h b/stepmania/src/Game.h index 7b86d650dd..a5e57b7509 100644 --- a/stepmania/src/Game.h +++ b/stepmania/src/Game.h @@ -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 diff --git a/stepmania/src/GameDef.h b/stepmania/src/GameDef.h index 52f03a7906..d5b3b1996c 100644 --- a/stepmania/src/GameDef.h +++ b/stepmania/src/GameDef.h @@ -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 diff --git a/stepmania/src/GameInput.h b/stepmania/src/GameInput.h index 65595673e4..39f3a9c022 100644 --- a/stepmania/src/GameInput.h +++ b/stepmania/src/GameInput.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef GAMEINPUT_H +#define GAMEINPUT_H /* ----------------------------------------------------------------------------- Class: GameInput @@ -111,3 +112,5 @@ struct GameInput }; + +#endif diff --git a/stepmania/src/GameManager.h b/stepmania/src/GameManager.h index 643fa7da64..d8bfe17804 100644 --- a/stepmania/src/GameManager.h +++ b/stepmania/src/GameManager.h @@ -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 diff --git a/stepmania/src/GameState.h b/stepmania/src/GameState.h index 434514fc16..3180d1442d 100644 --- a/stepmania/src/GameState.h +++ b/stepmania/src/GameState.h @@ -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 diff --git a/stepmania/src/GhostArrow.h b/stepmania/src/GhostArrow.h index 33b29ae594..75d202c15f 100644 --- a/stepmania/src/GhostArrow.h +++ b/stepmania/src/GhostArrow.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef GHOSTARROW_H +#define GHOSTARROW_H /* ----------------------------------------------------------------------------- Class: GhostArrow @@ -27,3 +28,5 @@ public: protected: }; + +#endif diff --git a/stepmania/src/GhostArrowBright.h b/stepmania/src/GhostArrowBright.h index 88f7c60ff8..74070ab390 100644 --- a/stepmania/src/GhostArrowBright.h +++ b/stepmania/src/GhostArrowBright.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef GHOSTARROWBRIGHT_H +#define GHOSTARROWBRIGHT_H /* ----------------------------------------------------------------------------- Class: GhostArrowBright @@ -25,3 +26,5 @@ public: protected: }; + +#endif diff --git a/stepmania/src/GhostArrowRow.h b/stepmania/src/GhostArrowRow.h index b5695c3e34..63471bf92c 100644 --- a/stepmania/src/GhostArrowRow.h +++ b/stepmania/src/GhostArrowRow.h @@ -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 diff --git a/stepmania/src/GradeDisplay.h b/stepmania/src/GradeDisplay.h index e8353661ae..6db1907449 100644 --- a/stepmania/src/GradeDisplay.h +++ b/stepmania/src/GradeDisplay.h @@ -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 diff --git a/stepmania/src/GrayArrowRow.h b/stepmania/src/GrayArrowRow.h index 6a57914c11..ca9b920b57 100644 --- a/stepmania/src/GrayArrowRow.h +++ b/stepmania/src/GrayArrowRow.h @@ -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 diff --git a/stepmania/src/GrooveRadar.h b/stepmania/src/GrooveRadar.h index 4ad1b0510f..a5bad08a07 100644 --- a/stepmania/src/GrooveRadar.h +++ b/stepmania/src/GrooveRadar.h @@ -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 diff --git a/stepmania/src/HoldGhostArrow.h b/stepmania/src/HoldGhostArrow.h index f53f8210d5..e03e0e1ad4 100644 --- a/stepmania/src/HoldGhostArrow.h +++ b/stepmania/src/HoldGhostArrow.h @@ -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 diff --git a/stepmania/src/HoldJudgement.h b/stepmania/src/HoldJudgement.h index b403256939..b0f849f6aa 100644 --- a/stepmania/src/HoldJudgement.h +++ b/stepmania/src/HoldJudgement.h @@ -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 diff --git a/stepmania/src/IniFile.h b/stepmania/src/IniFile.h index f1146d8274..45d4e3c0e5 100644 --- a/stepmania/src/IniFile.h +++ b/stepmania/src/IniFile.h @@ -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 diff --git a/stepmania/src/InputFilter.h b/stepmania/src/InputFilter.h index e0210f48e5..72a6bb25a7 100644 --- a/stepmania/src/InputFilter.h +++ b/stepmania/src/InputFilter.h @@ -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 diff --git a/stepmania/src/InputMapper.h b/stepmania/src/InputMapper.h index f30b371448..a2c99d9f78 100644 --- a/stepmania/src/InputMapper.h +++ b/stepmania/src/InputMapper.h @@ -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 diff --git a/stepmania/src/InputQueue.h b/stepmania/src/InputQueue.h index 71269858ee..39c8327e8f 100644 --- a/stepmania/src/InputQueue.h +++ b/stepmania/src/InputQueue.h @@ -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 diff --git a/stepmania/src/LifeMeter.h b/stepmania/src/LifeMeter.h index 8748c444fb..9071f6609c 100644 --- a/stepmania/src/LifeMeter.h +++ b/stepmania/src/LifeMeter.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef LIFEMETER_H +#define LIFEMETER_H /* ----------------------------------------------------------------------------- Class: LifeMeterBar @@ -43,3 +44,5 @@ public: protected: PlayerNumber m_PlayerNumber; }; + +#endif diff --git a/stepmania/src/LifeMeterBar.h b/stepmania/src/LifeMeterBar.h index a930873ee0..02be06d27d 100644 --- a/stepmania/src/LifeMeterBar.h +++ b/stepmania/src/LifeMeterBar.h @@ -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 diff --git a/stepmania/src/LifeMeterBattery.h b/stepmania/src/LifeMeterBattery.h index a59f41bec7..984e6ef325 100644 --- a/stepmania/src/LifeMeterBattery.h +++ b/stepmania/src/LifeMeterBattery.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef LIFEMETERBATTERY_H +#define LIFEMETERBATTERY_H /* ----------------------------------------------------------------------------- Class: LifeMeterBattery @@ -53,3 +54,5 @@ private: RageSoundSample m_soundGainLife; }; + +#endif diff --git a/stepmania/src/MenuElements.h b/stepmania/src/MenuElements.h index 953235d8ae..78de5dae19 100644 --- a/stepmania/src/MenuElements.h +++ b/stepmania/src/MenuElements.h @@ -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 diff --git a/stepmania/src/MenuInput.h b/stepmania/src/MenuInput.h index c15c772203..03207680ab 100644 --- a/stepmania/src/MenuInput.h +++ b/stepmania/src/MenuInput.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef MENUINPUT_H +#define MENUINPUT_H /* ----------------------------------------------------------------------------- Class: MenuInput @@ -42,3 +43,5 @@ struct MenuInput + +#endif diff --git a/stepmania/src/MenuTimer.h b/stepmania/src/MenuTimer.h index 090629e423..1d7e265bac 100644 --- a/stepmania/src/MenuTimer.h +++ b/stepmania/src/MenuTimer.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef MENUTIMER_H +#define MENUTIMER_H /* ----------------------------------------------------------------------------- Class: MenuTimer @@ -42,3 +43,5 @@ protected: RageSoundSample m_soundBeep; }; + +#endif diff --git a/stepmania/src/ModeChoice.h b/stepmania/src/ModeChoice.h index e2574b1483..c3934b4d01 100644 --- a/stepmania/src/ModeChoice.h +++ b/stepmania/src/ModeChoice.h @@ -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 diff --git a/stepmania/src/MotionBlurSprite.h b/stepmania/src/MotionBlurSprite.h index 321f1b754b..2d0e28bc8c 100644 --- a/stepmania/src/MotionBlurSprite.h +++ b/stepmania/src/MotionBlurSprite.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef MOTIONBLURSPRITE_H +#define MOTIONBLURSPRITE_H /* ----------------------------------------------------------------------------- Class: MotionBlurSprite @@ -107,3 +108,5 @@ protected: }; + +#endif diff --git a/stepmania/src/MsdFile.h b/stepmania/src/MsdFile.h index abf67d15c5..a59848ea79 100644 --- a/stepmania/src/MsdFile.h +++ b/stepmania/src/MsdFile.h @@ -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 diff --git a/stepmania/src/MusicSortDisplay.h b/stepmania/src/MusicSortDisplay.h index 1b272e4346..409154e5c0 100644 --- a/stepmania/src/MusicSortDisplay.h +++ b/stepmania/src/MusicSortDisplay.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef MUSICSORTDISPLAY_H +#define MUSICSORTDISPLAY_H /* ----------------------------------------------------------------------------- Class: MusicSortDisplay @@ -27,3 +28,5 @@ public: protected: }; + +#endif diff --git a/stepmania/src/MusicStatusDisplay.h b/stepmania/src/MusicStatusDisplay.h index eae98d0b48..f78a6f8340 100644 --- a/stepmania/src/MusicStatusDisplay.h +++ b/stepmania/src/MusicStatusDisplay.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef MUSICSTATUSDISPLAY_H +#define MUSICSTATUSDISPLAY_H /* ----------------------------------------------------------------------------- Class: MusicStatusDisplay @@ -29,3 +30,5 @@ public: protected: IconType m_type; }; + +#endif diff --git a/stepmania/src/MusicWheel.h b/stepmania/src/MusicWheel.h index 8926db3be6..a23d07a84d 100644 --- a/stepmania/src/MusicWheel.h +++ b/stepmania/src/MusicWheel.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef MUSICWHEEL_H +#define MUSICWHEEL_H /* ----------------------------------------------------------------------------- Class: MusicWheel @@ -200,3 +201,5 @@ protected: }; }; + +#endif diff --git a/stepmania/src/NetworkInput.h b/stepmania/src/NetworkInput.h index b7d97c93ad..1c6db361d8 100644 --- a/stepmania/src/NetworkInput.h +++ b/stepmania/src/NetworkInput.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef NETWORKINPUT_H +#define NETWORKINPUT_H /* ----------------------------------------------------------------------------- Class: NetworkInput @@ -28,3 +29,5 @@ struct NetworkInput + +#endif diff --git a/stepmania/src/NoteData.h b/stepmania/src/NoteData.h index 4b3826ce39..fb0ea7f200 100644 --- a/stepmania/src/NoteData.h +++ b/stepmania/src/NoteData.h @@ -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 diff --git a/stepmania/src/NoteDataWithScoring.h b/stepmania/src/NoteDataWithScoring.h index aeb2450eaa..130ce4c9da 100644 --- a/stepmania/src/NoteDataWithScoring.h +++ b/stepmania/src/NoteDataWithScoring.h @@ -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 diff --git a/stepmania/src/NoteDisplay.h b/stepmania/src/NoteDisplay.h index 5c23ab4941..b67a247bdb 100644 --- a/stepmania/src/NoteDisplay.h +++ b/stepmania/src/NoteDisplay.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef NOTEDISPLAY_H +#define NOTEDISPLAY_H /* ----------------------------------------------------------------------------- Class: NoteDisplay @@ -38,3 +39,5 @@ protected: CArray m_colorTapTweens; }; + +#endif diff --git a/stepmania/src/NoteField.h b/stepmania/src/NoteField.h index 21077026ba..f55a62715b 100644 --- a/stepmania/src/NoteField.h +++ b/stepmania/src/NoteField.h @@ -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 diff --git a/stepmania/src/NoteTypes.h b/stepmania/src/NoteTypes.h index 6bb35cac94..532ade0c79 100644 --- a/stepmania/src/NoteTypes.h +++ b/stepmania/src/NoteTypes.h @@ -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 diff --git a/stepmania/src/Notes.h b/stepmania/src/Notes.h index bb2edec174..546ab0573f 100644 --- a/stepmania/src/Notes.h +++ b/stepmania/src/Notes.h @@ -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 &arrayNotess ); + +#endif diff --git a/stepmania/src/OptionsCursor.h b/stepmania/src/OptionsCursor.h index df1e602168..859bf37d52 100644 --- a/stepmania/src/OptionsCursor.h +++ b/stepmania/src/OptionsCursor.h @@ -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 diff --git a/stepmania/src/Player.h b/stepmania/src/Player.h index 23a6c108b2..f523fdf009 100644 --- a/stepmania/src/Player.h +++ b/stepmania/src/Player.h @@ -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 diff --git a/stepmania/src/PlayerOptions.h b/stepmania/src/PlayerOptions.h index 0d96e63751..46a072049b 100644 --- a/stepmania/src/PlayerOptions.h +++ b/stepmania/src/PlayerOptions.h @@ -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 diff --git a/stepmania/src/PrefsManager.h b/stepmania/src/PrefsManager.h index 452c5e11f9..eaba1c93b2 100644 --- a/stepmania/src/PrefsManager.h +++ b/stepmania/src/PrefsManager.h @@ -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 diff --git a/stepmania/src/Quad.h b/stepmania/src/Quad.h index baf53f9720..0c6a1d7b06 100644 --- a/stepmania/src/Quad.h +++ b/stepmania/src/Quad.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef QUAD_H +#define QUAD_H /* ----------------------------------------------------------------------------- Class: Quad @@ -21,3 +22,5 @@ public: m_bDrawIfTextureNull = true; } }; + +#endif diff --git a/stepmania/src/RageInput.h b/stepmania/src/RageInput.h index 19644a4e4b..978a9c70eb 100644 --- a/stepmania/src/RageInput.h +++ b/stepmania/src/RageInput.h @@ -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 diff --git a/stepmania/src/RageMovieTexture.h b/stepmania/src/RageMovieTexture.h index a861d5dc28..e4ebbb3574 100644 --- a/stepmania/src/RageMovieTexture.h +++ b/stepmania/src/RageMovieTexture.h @@ -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 diff --git a/stepmania/src/RageSound.h b/stepmania/src/RageSound.h index 224a19ca2f..13f30dcf79 100644 --- a/stepmania/src/RageSound.h +++ b/stepmania/src/RageSound.h @@ -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 diff --git a/stepmania/src/RandomSample.h b/stepmania/src/RandomSample.h index 8bc6611ebe..bf08c2ef61 100644 --- a/stepmania/src/RandomSample.h +++ b/stepmania/src/RandomSample.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef RANDOMSAMPLE_H +#define RANDOMSAMPLE_H /* ----------------------------------------------------------------------------- Class: RandomSample @@ -44,3 +45,5 @@ private: int m_iIndexLastPlayed; }; + +#endif diff --git a/stepmania/src/ScoreDisplay.h b/stepmania/src/ScoreDisplay.h index d64e69b86d..59153a75fb 100644 --- a/stepmania/src/ScoreDisplay.h +++ b/stepmania/src/ScoreDisplay.h @@ -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 diff --git a/stepmania/src/ScoreDisplayNormal.h b/stepmania/src/ScoreDisplayNormal.h index 73e9f9aa3f..c3fc036e4d 100644 --- a/stepmania/src/ScoreDisplayNormal.h +++ b/stepmania/src/ScoreDisplayNormal.h @@ -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 diff --git a/stepmania/src/ScoreDisplayOni.h b/stepmania/src/ScoreDisplayOni.h index d3c04c3410..d9f8434b17 100644 --- a/stepmania/src/ScoreDisplayOni.h +++ b/stepmania/src/ScoreDisplayOni.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef SCOREDISPLAYONI_H +#define SCOREDISPLAYONI_H /* ----------------------------------------------------------------------------- Class: ScoreDisplayOni @@ -29,3 +30,5 @@ public: protected: }; + +#endif diff --git a/stepmania/src/ScoreDisplayRolling.h b/stepmania/src/ScoreDisplayRolling.h index 3a05cdf551..3e34d954d1 100644 --- a/stepmania/src/ScoreDisplayRolling.h +++ b/stepmania/src/ScoreDisplayRolling.h @@ -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 diff --git a/stepmania/src/Screen.h b/stepmania/src/Screen.h index 459bd53c4e..e47c0e1c97 100644 --- a/stepmania/src/Screen.h +++ b/stepmania/src/Screen.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef SCREEN_H +#define SCREEN_H /* ----------------------------------------------------------------------------- Class: Screen @@ -72,3 +73,5 @@ public: private: bool m_FirstUpdate; }; + +#endif diff --git a/stepmania/src/ScreenHowToPlay.h b/stepmania/src/ScreenHowToPlay.h index 983ac4ec57..7118d12e5e 100644 --- a/stepmania/src/ScreenHowToPlay.h +++ b/stepmania/src/ScreenHowToPlay.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef SCREENHOWTOPLAY_H +#define SCREENHOWTOPLAY_H /* ----------------------------------------------------------------------------- Class: ScreenHowToPlay @@ -37,3 +38,5 @@ protected: MenuElements m_Menu; }; + +#endif diff --git a/stepmania/src/ScreenLoading.h b/stepmania/src/ScreenLoading.h index 6467595a8d..5b0916263c 100644 --- a/stepmania/src/ScreenLoading.h +++ b/stepmania/src/ScreenLoading.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef SCREENLOADING_H +#define SCREENLOADING_H /* ----------------------------------------------------------------------------- Class: ScreenLoading @@ -27,3 +28,5 @@ protected: }; + +#endif diff --git a/stepmania/src/ScreenManager.h b/stepmania/src/ScreenManager.h index be89b7fda7..04b42801ca 100644 --- a/stepmania/src/ScreenManager.h +++ b/stepmania/src/ScreenManager.h @@ -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 diff --git a/stepmania/src/ScreenMessage.h b/stepmania/src/ScreenMessage.h index 5a550038ea..88825ff32e 100644 --- a/stepmania/src/ScreenMessage.h +++ b/stepmania/src/ScreenMessage.h @@ -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 diff --git a/stepmania/src/ScreenOptions.h b/stepmania/src/ScreenOptions.h index 6c9111c03b..8397e4bd19 100644 --- a/stepmania/src/ScreenOptions.h +++ b/stepmania/src/ScreenOptions.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef SCREENOPTIONS_H +#define SCREENOPTIONS_H /* ----------------------------------------------------------------------------- File: ScreenOptions.h @@ -113,3 +114,5 @@ protected: TransitionInvisible m_Wipe; }; + +#endif diff --git a/stepmania/src/ScreenSandbox.h b/stepmania/src/ScreenSandbox.h index d038586f3c..dae6ef2cd1 100644 --- a/stepmania/src/ScreenSandbox.h +++ b/stepmania/src/ScreenSandbox.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef SCREENSANDBOX_H +#define SCREENSANDBOX_H /* ----------------------------------------------------------------------------- Class: ScreenSandbox @@ -33,3 +34,5 @@ public: Sprite m_sprite; }; + +#endif diff --git a/stepmania/src/ScrollBar.h b/stepmania/src/ScrollBar.h index d214817876..cbafbd5f77 100644 --- a/stepmania/src/ScrollBar.h +++ b/stepmania/src/ScrollBar.h @@ -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 diff --git a/stepmania/src/SmallGradeDisplay.h b/stepmania/src/SmallGradeDisplay.h index 4912ec8151..7c83a08fdc 100644 --- a/stepmania/src/SmallGradeDisplay.h +++ b/stepmania/src/SmallGradeDisplay.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef SMALLGRADEDISPLAY_H +#define SMALLGRADEDISPLAY_H /* ----------------------------------------------------------------------------- Class: SmallGradeDisplay @@ -32,3 +33,5 @@ protected: Grade m_Grade; }; + +#endif diff --git a/stepmania/src/SnapDisplay.h b/stepmania/src/SnapDisplay.h index 60697c0aa5..95c83cdc84 100644 --- a/stepmania/src/SnapDisplay.h +++ b/stepmania/src/SnapDisplay.h @@ -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 diff --git a/stepmania/src/SongManager.h b/stepmania/src/SongManager.h index effdaef438..67db918d9b 100644 --- a/stepmania/src/SongManager.h +++ b/stepmania/src/SongManager.h @@ -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 diff --git a/stepmania/src/SongOptions.h b/stepmania/src/SongOptions.h index e07b9812f3..7601a70513 100644 --- a/stepmania/src/SongOptions.h +++ b/stepmania/src/SongOptions.h @@ -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 diff --git a/stepmania/src/Sprite.h b/stepmania/src/Sprite.h index 03aecc27b9..d6e409d636 100644 --- a/stepmania/src/Sprite.h +++ b/stepmania/src/Sprite.h @@ -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 diff --git a/stepmania/src/StageBox.h b/stepmania/src/StageBox.h index 37f025253a..839b3656f2 100644 --- a/stepmania/src/StageBox.h +++ b/stepmania/src/StageBox.h @@ -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 diff --git a/stepmania/src/StepMania.h b/stepmania/src/StepMania.h index 47f92cc103..e425d76444 100644 --- a/stepmania/src/StepMania.h +++ b/stepmania/src/StepMania.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef STEPMANIA_H +#define STEPMANIA_H /* ----------------------------------------------------------------------------- File: StepMania.h @@ -15,3 +16,5 @@ void ApplyGraphicOptions(); + +#endif diff --git a/stepmania/src/Style.h b/stepmania/src/Style.h index f90a7ea315..a531b98c4b 100644 --- a/stepmania/src/Style.h +++ b/stepmania/src/Style.h @@ -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; -} \ No newline at end of file +} +#endif diff --git a/stepmania/src/StyleDef.h b/stepmania/src/StyleDef.h index 1dd31da235..a9b0e083bf 100644 --- a/stepmania/src/StyleDef.h +++ b/stepmania/src/StyleDef.h @@ -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 diff --git a/stepmania/src/StyleInput.h b/stepmania/src/StyleInput.h index df363f6064..134ba7f487 100644 --- a/stepmania/src/StyleInput.h +++ b/stepmania/src/StyleInput.h @@ -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; }; -}; \ No newline at end of file +}; +#endif diff --git a/stepmania/src/TextBanner.h b/stepmania/src/TextBanner.h index 24d61de63f..77498d1d36 100644 --- a/stepmania/src/TextBanner.h +++ b/stepmania/src/TextBanner.h @@ -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 diff --git a/stepmania/src/ThemeManager.h b/stepmania/src/ThemeManager.h index aaae711876..84cb2f1b64 100644 --- a/stepmania/src/ThemeManager.h +++ b/stepmania/src/ThemeManager.h @@ -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 diff --git a/stepmania/src/TipDisplay.h b/stepmania/src/TipDisplay.h index c3fecca106..849574babe 100644 --- a/stepmania/src/TipDisplay.h +++ b/stepmania/src/TipDisplay.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef TIPDISPLAY_H +#define TIPDISPLAY_H /* ----------------------------------------------------------------------------- Class: TipDisplay @@ -32,3 +33,5 @@ protected: float m_fSecsUntilSwitch; }; + +#endif diff --git a/stepmania/src/TransitionBackWipe.h b/stepmania/src/TransitionBackWipe.h index 52c3b79154..53c0301c64 100644 --- a/stepmania/src/TransitionBackWipe.h +++ b/stepmania/src/TransitionBackWipe.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef TRANSITIONBACKWIPE_H +#define TRANSITIONBACKWIPE_H /* ----------------------------------------------------------------------------- Class: TransitionBackWipe @@ -37,3 +38,5 @@ protected: RageSoundSample m_soundBack; }; + +#endif diff --git a/stepmania/src/TransitionFade.h b/stepmania/src/TransitionFade.h index e536304237..262a776dbb 100644 --- a/stepmania/src/TransitionFade.h +++ b/stepmania/src/TransitionFade.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef TRANSITIONFADE_H +#define TRANSITIONFADE_H /* ----------------------------------------------------------------------------- Class: TransitionFade @@ -29,3 +30,5 @@ protected: Quad m_rect; }; + +#endif diff --git a/stepmania/src/TransitionInvisible.h b/stepmania/src/TransitionInvisible.h index 917d2882b3..7f268653c9 100644 --- a/stepmania/src/TransitionInvisible.h +++ b/stepmania/src/TransitionInvisible.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef TRANSITIONINVISIBLE_H +#define TRANSITIONINVISIBLE_H /* ----------------------------------------------------------------------------- Class: TransitionInvisible @@ -26,3 +27,5 @@ public: protected: }; + +#endif diff --git a/stepmania/src/TransitionOniFade.h b/stepmania/src/TransitionOniFade.h index 99676af513..1be88ded24 100644 --- a/stepmania/src/TransitionOniFade.h +++ b/stepmania/src/TransitionOniFade.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef TRANSITIONONIFADE_H +#define TRANSITIONONIFADE_H /* ----------------------------------------------------------------------------- Class: TransitionOniFade @@ -44,3 +45,5 @@ protected: }; + +#endif diff --git a/stepmania/src/song.h b/stepmania/src/song.h index e848c021c1..20eb8ea505 100644 --- a/stepmania/src/song.h +++ b/stepmania/src/song.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef SONG_H +#define SONG_H /* ----------------------------------------------------------------------------- Class: Song @@ -218,3 +219,5 @@ void SortSongPointerArrayByGroup( CArray &arraySongPointers ); void SortSongPointerArrayByMostPlayed( CArray &arraySongPointers ); + +#endif