Permalink
Browse files

add M_PI definition back

  • Loading branch information...
jacob1 committed Apr 28, 2018
1 parent db8b323 commit 777cb967a51d9b28be181a694ef3a9eb37c040b9
Showing with 8 additions and 2 deletions.
  1. +4 −0 src/common/tpt-compat.h
  2. +2 −1 src/graphics/Renderer.cpp
  3. +2 −0 src/simulation/Element.h
  4. +0 −1 src/simulation/Elements.h
@@ -21,6 +21,10 @@
#define strcasecmp stricmp
#endif
#ifndef M_PI
#define M_PI 3.14159265f
#endif
typedef unsigned short Uint16;
#ifndef NULL
@@ -7,8 +7,9 @@
#include "Misc.h"
#include "Renderer.h"
#include "Graphics.h"
#include "common/tpt-rand.h"
#include "common/tpt-compat.h"
#include "common/tpt-minmax.h"
#include "common/tpt-rand.h"
#include "gui/game/RenderPreset.h"
#include "simulation/Elements.h"
#include "simulation/ElementGraphics.h"
@@ -7,6 +7,8 @@
#include "Gravity.h"
#include "Misc.h"
#include "Simulation.h"
#include "common/tpt-compat.h"
#include "common/tpt-rand.h"
#include "graphics/Renderer.h"
#define IPL -257.0f
@@ -70,7 +70,6 @@
struct playerst;
#include "ElementClasses.h"
#include "common/tpt-rand.h"
#endif /* ELEMENTS_H_ */

0 comments on commit 777cb96

Please sign in to comment.