some #pragma once's

This commit is contained in:
Glenn Maynard
2002-11-16 07:49:38 +00:00
parent feca14fb91
commit e362ba16ef
3 changed files with 8 additions and 5 deletions
+3 -1
View File
@@ -1,4 +1,5 @@
#pragma once #ifndef ANNOUNCER_MANAGER_H
#define ANNOUNCER_MANAGER_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Class: AnnouncerManager Class: AnnouncerManager
@@ -37,3 +38,4 @@ protected:
extern AnnouncerManager* ANNOUNCER; // global and accessable from anywhere in our program extern AnnouncerManager* ANNOUNCER; // global and accessable from anywhere in our program
#endif
+4 -1
View File
@@ -1,4 +1,6 @@
#pragma once #ifndef ARROWEFFECTS_H
#define ARROWEFFECTS_H
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
File: ArrowEffects.h File: ArrowEffects.h
@@ -51,3 +53,4 @@ float ArrowGetAlpha( PlayerNumber pn, float fYPos, float fPercentFadeToFail );
// ArrowAppearance. // ArrowAppearance.
float ArrowGetGlow( PlayerNumber pn, float fYPos, float fPercentFadeToFail ); float ArrowGetGlow( PlayerNumber pn, float fYPos, float fPercentFadeToFail );
#endif
-2
View File
@@ -244,13 +244,11 @@
// http://home.earthlink.net/~jmoleary // http://home.earthlink.net/~jmoleary
// ============================================================================= // =============================================================================
// Avoid multiple inclusion the VC++ way,
// Turn off browser references // Turn off browser references
// Turn off unavoidable compiler warnings // Turn off unavoidable compiler warnings
#if defined(_MSC_VER) && (_MSC_VER > 1100) #if defined(_MSC_VER) && (_MSC_VER > 1100)
#pragma once
#pragma component(browser, off, references, "CStdString") #pragma component(browser, off, references, "CStdString")
#pragma warning (push) #pragma warning (push)
#pragma warning (disable : 4290) // C++ Exception Specification ignored #pragma warning (disable : 4290) // C++ Exception Specification ignored