From 054976824b9d020a1b2b32666e9a631108ffbcdf Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 16 Nov 2002 07:36:02 +0000 Subject: [PATCH] cleanups --- stepmania/src/GameConstantsAndTypes.h | 6 +++++- stepmania/src/RageTexture.h | 5 +++-- stepmania/src/RageTextureManager.h | 6 +++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/stepmania/src/GameConstantsAndTypes.h b/stepmania/src/GameConstantsAndTypes.h index cc68ed5f83..82dd7f8b75 100644 --- a/stepmania/src/GameConstantsAndTypes.h +++ b/stepmania/src/GameConstantsAndTypes.h @@ -1,4 +1,6 @@ -#pragma once +#ifndef GAME_CONSTANTS_AND_TYPES_H +#define GAME_CONSTANTS_AND_TYPES_H + /* ----------------------------------------------------------------------------- File: GameConstantsAndTypes.h @@ -162,3 +164,5 @@ inline int HoldNoteScoreToDancePoints( HoldNoteScore hns ) default: ASSERT(0); return 0; } } + +#endif diff --git a/stepmania/src/RageTexture.h b/stepmania/src/RageTexture.h index 83529b3636..562993dfa0 100644 --- a/stepmania/src/RageTexture.h +++ b/stepmania/src/RageTexture.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef RAGE_TEXTURE_H +#define RAGE_TEXTURE_H /* ----------------------------------------------------------------------------- Class: RageTexture @@ -98,4 +99,4 @@ protected: CArray m_TextureCoordRects; // size = m_iFramesWide * m_iFramesHigh }; - +#endif diff --git a/stepmania/src/RageTextureManager.h b/stepmania/src/RageTextureManager.h index 1a81bc3412..12061244b7 100644 --- a/stepmania/src/RageTextureManager.h +++ b/stepmania/src/RageTextureManager.h @@ -1,4 +1,6 @@ -#pragma once +#ifndef RAGE_TEXTURE_MANAGER_H +#define RAGE_TEXTURE_MANAGER_H + /* ----------------------------------------------------------------------------- Class: RageTextureManager @@ -43,3 +45,5 @@ protected: }; extern RageTextureManager* TEXTUREMAN; // global and accessable from anywhere in our program + +#endif