summaryrefslogtreecommitdiff
path: root/air.h
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2010-08-25 11:22:41 (GMT)
committer Simon <simon@hardwired.org.uk>2010-08-25 11:22:41 (GMT)
commit470519c92ed917b41c6ccae2e193eb59bdfe2ece (patch)
tree0c0c3fca1be16e55f7e784b9aae77021a2187be6 /air.h
parent8d089bba50937b572df918c849afc28181f852c6 (diff)
downloadpowder-470519c92ed917b41c6ccae2e193eb59bdfe2ece.zip
powder-470519c92ed917b41c6ccae2e193eb59bdfe2ece.tar.gz
Seperation WIP
Diffstat (limited to 'air.h')
-rw-r--r--air.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/air.h b/air.h
new file mode 100644
index 0000000..add56b0
--- /dev/null
+++ b/air.h
@@ -0,0 +1,14 @@
+#ifndef AIR_H
+#define AIR_H
+
+float vx[YRES/CELL][XRES/CELL], ovx[YRES/CELL][XRES/CELL];
+float vy[YRES/CELL][XRES/CELL], ovy[YRES/CELL][XRES/CELL];
+float pv[YRES/CELL][XRES/CELL], opv[YRES/CELL][XRES/CELL];
+
+float cb_vx[YRES/CELL][XRES/CELL], ovx[YRES/CELL][XRES/CELL];
+float cb_vy[YRES/CELL][XRES/CELL], ovy[YRES/CELL][XRES/CELL];
+float cb_pv[YRES/CELL][XRES/CELL], opv[YRES/CELL][XRES/CELL];
+
+float fvx[YRES/CELL][XRES/CELL], fvy[YRES/CELL][XRES/CELL];
+
+#endif \ No newline at end of file