summaryrefslogtreecommitdiff
path: root/src/bin/main.h
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2009-10-01 09:04:02 +0000
committerCarsten Haitzler <raster@rasterman.com>2009-10-01 09:04:02 +0000
commitb8fa0d949d64776112d26e0fd62cc64f80688150 (patch)
tree3d84b3ae9842d9310025e6ea44e3a9e9b3c58841 /src/bin/main.h
parent8644206b6e2247bd0d9c724ad91008a2d430ff7a (diff)
add loops arg
SVN revision: 42836
Diffstat (limited to 'src/bin/main.h')
-rw-r--r--src/bin/main.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/main.h b/src/bin/main.h
index 60d3579..e5f9bfb 100644
--- a/src/bin/main.h
+++ b/src/bin/main.h
@@ -83,6 +83,7 @@ extern "C"
83 83
84extern Evas *evas; 84extern Evas *evas;
85extern int win_w, win_h; 85extern int win_w, win_h;
86extern int loops;
86 87
87void srnd(void); 88void srnd(void);
88unsigned int rnd(void); 89unsigned int rnd(void);
@@ -103,7 +104,7 @@ int engine_abort(void);
103 } 104 }
104 105
105#define FPS_STD(x) \ 106#define FPS_STD(x) \
106 if ((f >= LOOPS) && (!done)) \ 107 if ((f >= loops) && (!done)) \
107 { \ 108 { \
108 double fps; \ 109 double fps; \
109 fps = (double)f / t; \ 110 fps = (double)f / t; \