diff options
| author | cracker64 <cracker642@gmail.com> | 2013-05-06 17:30:03 (GMT) |
|---|---|---|
| committer | cracker64 <cracker642@gmail.com> | 2013-05-06 17:30:03 (GMT) |
| commit | 2f8574f62bb7731031bf950258a02756d5620bac (patch) | |
| tree | 2fd9bb1087164f97f12b1c42491d54bd16c3f747 /src/simulation/Simulation.h | |
| parent | 77102f4bbaff9d15617b83e674939b108442ae21 (diff) | |
| download | powder-2f8574f62bb7731031bf950258a02756d5620bac.zip powder-2f8574f62bb7731031bf950258a02756d5620bac.tar.gz | |
gol2 array is static size, adding new GoL won't increase memory usage.
Diffstat (limited to 'src/simulation/Simulation.h')
| -rw-r--r-- | src/simulation/Simulation.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/simulation/Simulation.h b/src/simulation/Simulation.h index 9e9424f..5ce0d1e 100644 --- a/src/simulation/Simulation.h +++ b/src/simulation/Simulation.h @@ -74,10 +74,9 @@ public: int emp_decor; //Gol sim int CGOL; - int ISGOL; int GSPEED; unsigned char gol[YRES][XRES]; - unsigned char gol2[YRES][XRES][NGOL+1]; + unsigned short gol2[YRES][XRES][9]; //Air sim float (*vx)[XRES/CELL]; float (*vy)[XRES/CELL]; |
