some #pragma once's
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef ANNOUNCER_MANAGER_H
|
||||
#define ANNOUNCER_MANAGER_H
|
||||
/*
|
||||
-----------------------------------------------------------------------------
|
||||
Class: AnnouncerManager
|
||||
@@ -36,4 +37,5 @@ protected:
|
||||
|
||||
|
||||
extern AnnouncerManager* ANNOUNCER; // global and accessable from anywhere in our program
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef ARROWEFFECTS_H
|
||||
#define ARROWEFFECTS_H
|
||||
|
||||
/*
|
||||
-----------------------------------------------------------------------------
|
||||
File: ArrowEffects.h
|
||||
@@ -51,3 +53,4 @@ float ArrowGetAlpha( PlayerNumber pn, float fYPos, float fPercentFadeToFail );
|
||||
// ArrowAppearance.
|
||||
float ArrowGetGlow( PlayerNumber pn, float fYPos, float fPercentFadeToFail );
|
||||
|
||||
#endif
|
||||
|
||||
@@ -244,13 +244,11 @@
|
||||
// http://home.earthlink.net/~jmoleary
|
||||
// =============================================================================
|
||||
|
||||
// Avoid multiple inclusion the VC++ way,
|
||||
// Turn off browser references
|
||||
// Turn off unavoidable compiler warnings
|
||||
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER > 1100)
|
||||
#pragma once
|
||||
#pragma component(browser, off, references, "CStdString")
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable : 4290) // C++ Exception Specification ignored
|
||||
|
||||
Reference in New Issue
Block a user