The-Powder-Toy/src/simulation/tools/SimTool.h
jacob1 f8f70a3f77 Visual studio compatibility
This removes some inlines when using visual studio to compile, uisng TPT_NO_INLINE. It also fixes many other problems visual studio has with the code
2012-09-07 00:52:56 +01:00

23 lines
411 B
C++

#ifndef SIMTOOL_H
#define SIMTOOL_H
#include "simulation/Simulation.h"
#include "graphics/Renderer.h"
#include "simulation/Elements.h"
class Simulation;
struct Particle;
class SimTool
{
public:
char *Identifier;
char *Name;
pixel Colour;
char *Description;
SimTool();
virtual ~SimTool() {}
virtual int Perform(Simulation * sim, Particle * cpart, int x, int y, float strength) { return 0; }
};
#endif