diff options
Diffstat (limited to 'game/network')
-rw-r--r-- | game/network/link.h | 5 | ||||
-rw-r--r-- | game/network/network.h | 5 | ||||
-rw-r--r-- | game/network/rail.h | 5 | ||||
-rw-r--r-- | game/network/routeWalker.h | 5 |
4 files changed, 4 insertions, 16 deletions
diff --git a/game/network/link.h b/game/network/link.h index 16ae5f7..51c29ff 100644 --- a/game/network/link.h +++ b/game/network/link.h @@ -1,5 +1,4 @@ -#ifndef LINK_H -#define LINK_H +#pragma once #include <array> #include <glm/glm.hpp> @@ -88,5 +87,3 @@ public: Arc arc; }; LinkCurve::~LinkCurve() = default; - -#endif diff --git a/game/network/network.h b/game/network/network.h index 31fc744..3be7943 100644 --- a/game/network/network.h +++ b/game/network/network.h @@ -1,5 +1,4 @@ -#ifndef NETWORK_H -#define NETWORK_H +#pragma once #include "link.h" #include <collection.hpp> @@ -53,5 +52,3 @@ public: void render(const Shader &) const override; }; - -#endif diff --git a/game/network/rail.h b/game/network/rail.h index 47969d6..758beb6 100644 --- a/game/network/rail.h +++ b/game/network/rail.h @@ -1,5 +1,4 @@ -#ifndef RAILLINKS_H -#define RAILLINKS_H +#pragma once #include "chronology.hpp" #include "game/worldobject.h" @@ -58,5 +57,3 @@ public: private: void tick(TickDuration elapsed) override; }; - -#endif diff --git a/game/network/routeWalker.h b/game/network/routeWalker.h index d70103f..e0577ae 100644 --- a/game/network/routeWalker.h +++ b/game/network/routeWalker.h @@ -1,5 +1,4 @@ -#ifndef ROUTEWALKER_H -#define ROUTEWALKER_H +#pragma once #include "link.h" #include <set> @@ -19,5 +18,3 @@ private: Solution bestSolution, currentSolution; float solutionLength; }; - -#endif |