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
|
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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user