summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-24 13:58:39 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-24 13:58:39 (GMT)
commit603cf3149df2fc788303207162bf29e05bd29816 (patch)
tree1e2f9c7ddf3c01a67bc50426806e598a595a1e40 /src/simulation/Simulation.h
parente65e222f2ccbf60a4c224bbe29884ebb1001cfd7 (diff)
downloadpowder-603cf3149df2fc788303207162bf29e05bd29816.zip
powder-603cf3149df2fc788303207162bf29e05bd29816.tar.gz
HUD improvements
Diffstat (limited to 'src/simulation/Simulation.h')
-rw-r--r--src/simulation/Simulation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simulation/Simulation.h b/src/simulation/Simulation.h
index d4f43f2..0e6c66f 100644
--- a/src/simulation/Simulation.h
+++ b/src/simulation/Simulation.h
@@ -26,6 +26,7 @@
#include "GOLMenu.h"
#include "MenuSection.h"
#include "client/GameSave.h"
+#include "Sample.h"
#define CHANNELS ((int)(MAX_TEMP-73)/100+2)
@@ -117,7 +118,7 @@ public:
int Load(int x, int y, GameSave * save);
GameSave * Save();
GameSave * Save(int x1, int y1, int x2, int y2);
- Particle Get(int x, int y);
+ SimulationSample Get(int x, int y);
inline int is_blocking(int t, int x, int y);
inline int is_boundary(int pt, int x, int y);
inline int find_next_boundary(int pt, int *x, int *y, int dm, int *em);