summaryrefslogtreecommitdiff
path: root/src/simulation/Air.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-21 11:26:39 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-21 11:26:39 (GMT)
commit4b8ebe4abd98d65c97cf1dbd571d448f53669bc3 (patch)
tree7e2781fe70c221b4d24416c85223737b8a11dc04 /src/simulation/Air.h
parente54eeae8836b65debfdda242c7c39472b901bc70 (diff)
downloadpowder-4b8ebe4abd98d65c97cf1dbd571d448f53669bc3.zip
powder-4b8ebe4abd98d65c97cf1dbd571d448f53669bc3.tar.gz
Air heat simulation now knows about gravity mode. fixes #142
Diffstat (limited to 'src/simulation/Air.h')
-rw-r--r--src/simulation/Air.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simulation/Air.h b/src/simulation/Air.h
index 8fa6f6e..936f54b 100644
--- a/src/simulation/Air.h
+++ b/src/simulation/Air.h
@@ -7,6 +7,7 @@ class Simulation;
class Air
{
public:
+ Simulation & sim;
int airMode;
//Arrays from the simulation
unsigned char (*bmap)[XRES/CELL];
@@ -30,7 +31,7 @@ public:
void update_air(void);
void Clear();
void Invert();
- Air();
+ Air(Simulation & sim);
};
#endif