add M_PI definition back
This commit is contained in:
parent
db8b32363e
commit
777cb967a5
@ -21,6 +21,10 @@
|
|||||||
#define strcasecmp stricmp
|
#define strcasecmp stricmp
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef M_PI
|
||||||
|
#define M_PI 3.14159265f
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef unsigned short Uint16;
|
typedef unsigned short Uint16;
|
||||||
|
|
||||||
#ifndef NULL
|
#ifndef NULL
|
||||||
|
@ -7,8 +7,9 @@
|
|||||||
#include "Misc.h"
|
#include "Misc.h"
|
||||||
#include "Renderer.h"
|
#include "Renderer.h"
|
||||||
#include "Graphics.h"
|
#include "Graphics.h"
|
||||||
#include "common/tpt-rand.h"
|
#include "common/tpt-compat.h"
|
||||||
#include "common/tpt-minmax.h"
|
#include "common/tpt-minmax.h"
|
||||||
|
#include "common/tpt-rand.h"
|
||||||
#include "gui/game/RenderPreset.h"
|
#include "gui/game/RenderPreset.h"
|
||||||
#include "simulation/Elements.h"
|
#include "simulation/Elements.h"
|
||||||
#include "simulation/ElementGraphics.h"
|
#include "simulation/ElementGraphics.h"
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
#include "Gravity.h"
|
#include "Gravity.h"
|
||||||
#include "Misc.h"
|
#include "Misc.h"
|
||||||
#include "Simulation.h"
|
#include "Simulation.h"
|
||||||
|
#include "common/tpt-compat.h"
|
||||||
|
#include "common/tpt-rand.h"
|
||||||
#include "graphics/Renderer.h"
|
#include "graphics/Renderer.h"
|
||||||
|
|
||||||
#define IPL -257.0f
|
#define IPL -257.0f
|
||||||
|
@ -70,7 +70,6 @@
|
|||||||
struct playerst;
|
struct playerst;
|
||||||
|
|
||||||
#include "ElementClasses.h"
|
#include "ElementClasses.h"
|
||||||
#include "common/tpt-rand.h"
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* ELEMENTS_H_ */
|
#endif /* ELEMENTS_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user