add M_PI definition back

This commit is contained in:
jacob1 2018-04-28 00:26:43 -04:00
parent db8b32363e
commit 777cb967a5
4 changed files with 8 additions and 2 deletions

View File

@ -21,6 +21,10 @@
#define strcasecmp stricmp
#endif
#ifndef M_PI
#define M_PI 3.14159265f
#endif
typedef unsigned short Uint16;
#ifndef NULL

View File

@ -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"

View File

@ -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

View File

@ -70,7 +70,6 @@
struct playerst;
#include "ElementClasses.h"
#include "common/tpt-rand.h"
#endif /* ELEMENTS_H_ */