summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorPhilip <philip@philip-linuxlaptop.(none)>2010-11-07 22:55:25 (GMT)
committer Philip <philip@philip-linuxlaptop.(none)>2010-11-07 22:55:25 (GMT)
commit3de06dea86b09ae382f6eda411c69db5acf2c111 (patch)
tree59576c05ea5964fd2f9fd6e844de46e796f2553c /src/main.c
parentcbe3ed49c4604864ef41e6d8e629b25259eb491e (diff)
downloadpowder-3de06dea86b09ae382f6eda411c69db5acf2c111.zip
powder-3de06dea86b09ae382f6eda411c69db5acf2c111.tar.gz
Increased efficiency a lot, GoL only runs when there is a GoL particle, and other small checks to make it faster. Blank screen fps went from 44 to 60, with a few particles, 44 to 55.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index ee20b8d..e7f2cd1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -103,7 +103,7 @@ int amd = 1;
int FPSB = 0;
int MSIGN =-1;
int CGOL = 0;
-int GSPEED = 0;
+int GSPEED = 1;
sign signs[MAXSIGNS];