Switched to the #pragma once system

This commit is contained in:
2015-07-07 17:35:58 +10:00
parent f82b0a8843
commit 24eb730c72
71 changed files with 71 additions and 285 deletions
+1 -4
View File
@@ -19,8 +19,7 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef DISCONNECTEDSCREEN_HPP_
#define DISCONNECTEDSCREEN_HPP_
#pragma once
//graphics
#include "image.hpp"
@@ -62,5 +61,3 @@ protected:
//auto return
std::chrono::steady_clock::time_point startTick;
};
#endif
+1 -4
View File
@@ -19,8 +19,7 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef LOBBYMENU_HPP_
#define LOBBYMENU_HPP_
#pragma once
//graphics & ui
#include "image.hpp"
@@ -101,5 +100,3 @@ protected:
BoundingBox listBox;
ServerInformation* selection = nullptr;
};
#endif
+1 -4
View File
@@ -19,8 +19,7 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef MAINMENU_HPP_
#define MAINMENU_HPP_
#pragma once
#include "base_scene.hpp"
@@ -55,5 +54,3 @@ protected:
Button optionsButton;
Button quitButton;
};
#endif
+1 -4
View File
@@ -19,8 +19,7 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef OPTIONSMENU_HPP_
#define OPTIONSMENU_HPP_
#pragma once
#include "base_scene.hpp"
@@ -54,5 +53,3 @@ protected:
RasterFont font;
Button backButton;
};
#endif
+1 -4
View File
@@ -19,8 +19,7 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef SPLASHSCREEN_HPP_
#define SPLASHSCREEN_HPP_
#pragma once
#include "base_scene.hpp"
@@ -43,5 +42,3 @@ protected:
std::chrono::steady_clock::time_point startTick;
Image logo;
};
#endif