mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 13:17:00 -04:00
Replace include guards by #pragma once
This commit is contained in:
+1
-4
@@ -4,8 +4,7 @@
|
||||
//| License: GNU General Public License 2 or later (see file COPYING) |
|
||||
//+----------------------------------------------------------------------------+
|
||||
|
||||
#ifndef HEADER_GFX_BEZIER
|
||||
#define HEADER_GFX_BEZIER
|
||||
#pragma once
|
||||
|
||||
/** @file gfx/bezier.hpp
|
||||
*
|
||||
@@ -122,5 +121,3 @@ UInt intersect_bezier_ray(const ControlPoint& p1, const ControlPoint& p2, const
|
||||
// Does the line between p1 and p2 intersect the ray (half line) from (-inf, pos.y) to pos?
|
||||
bool intersect_line_ray(const Vector2D& p1, const Vector2D& p2, const Vector2D& pos);
|
||||
|
||||
// ----------------------------------------------------------------------------- : EOF
|
||||
#endif
|
||||
|
||||
+1
-4
@@ -4,8 +4,7 @@
|
||||
//| License: GNU General Public License 2 or later (see file COPYING) |
|
||||
//+----------------------------------------------------------------------------+
|
||||
|
||||
#ifndef HEADER_GFX_COLOR
|
||||
#define HEADER_GFX_COLOR
|
||||
#pragma once
|
||||
|
||||
/** @file gfx/color.hpp
|
||||
*
|
||||
@@ -114,5 +113,3 @@ void recolor(Image& img, RGB cr);
|
||||
/// Fills an image with the specified color
|
||||
void fill_image(Image& image, RGB color);
|
||||
|
||||
// ----------------------------------------------------------------------------- : EOF
|
||||
#endif
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
//| License: GNU General Public License 2 or later (see file COPYING) |
|
||||
//+----------------------------------------------------------------------------+
|
||||
|
||||
#ifndef HEADER_GFX_GENERATED_IMAGE
|
||||
#define HEADER_GFX_GENERATED_IMAGE
|
||||
#pragma once
|
||||
|
||||
// ----------------------------------------------------------------------------- : Includes
|
||||
|
||||
@@ -386,5 +385,3 @@ class ImageValueToImage : public GeneratedImage {
|
||||
Age age; ///< Age the symbol was last updated
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------- : EOF
|
||||
#endif
|
||||
|
||||
+1
-4
@@ -4,8 +4,7 @@
|
||||
//| License: GNU General Public License 2 or later (see file COPYING) |
|
||||
//+----------------------------------------------------------------------------+
|
||||
|
||||
#ifndef HEADER_GFX_GFX
|
||||
#define HEADER_GFX_GFX
|
||||
#pragma once
|
||||
|
||||
/** @file gfx/gfx.hpp
|
||||
*
|
||||
@@ -191,5 +190,3 @@ class AlphaMask : public IntrusivePtrBase<AlphaMask> {
|
||||
void loadRowSizes() const;
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------- : EOF
|
||||
#endif
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
//| License: GNU General Public License 2 or later (see file COPYING) |
|
||||
//+----------------------------------------------------------------------------+
|
||||
|
||||
#ifndef HEADER_GFX_POLYNOMIAL
|
||||
#define HEADER_GFX_POLYNOMIAL
|
||||
#pragma once
|
||||
|
||||
/** @file gfx/polynomial.hpp
|
||||
*
|
||||
@@ -39,5 +38,3 @@ UInt solve_cubic(double a, double b, double c, double d, double* roots);
|
||||
*/
|
||||
UInt solve_cubic(double a, double b, double c, double* roots);
|
||||
|
||||
// ----------------------------------------------------------------------------- : EOF
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user