diff options
author | Savio Sena <savio.sena@acm.org> | 2014-08-24 08:20:00 -0300 |
---|---|---|
committer | Savio Sena <savio.sena@acm.org> | 2014-08-24 08:20:00 -0300 |
commit | 37bbc4fae5525004d3c7eed8b12249079a1b4c4a (patch) | |
tree | 0d661b93bc843c13aeecec0b95e363e13924a3bc | |
parent | d29bf887ec9698a40c950431aeda748607b46abf (diff) |
Deleted main.hh. We can now work properly with main.h.
-rw-r--r-- | src/bin/main.hh | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/bin/main.hh b/src/bin/main.hh deleted file mode 100644 index b10d0c8..0000000 --- a/src/bin/main.hh +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | #ifndef MAIN_HH | ||
2 | #define MAIN_HH | ||
3 | |||
4 | #define OBNUM 128 | ||
5 | #define LOOPS 128 | ||
6 | |||
7 | extern "C" | ||
8 | { | ||
9 | #include "ui.h" | ||
10 | const char *build_path(const char *filename); | ||
11 | } | ||
12 | |||
13 | #define SLOW 5.0 | ||
14 | |||
15 | extern int win_w, win_h; | ||
16 | extern int loops; | ||
17 | extern const char *choosen_engine; | ||
18 | extern Eina_Bool fullscreen; | ||
19 | extern Eina_Bool cmp_report; | ||
20 | |||
21 | #define KEY_STD \ | ||
22 | if ((!strcmp(key, "Escape")) || (!strcmp(key, "q")) || (!strcmp(key, "Q")) || (!strcmp(key, "Return"))) \ | ||
23 | { \ | ||
24 | _cleanup(); \ | ||
25 | ui_menu(); \ | ||
26 | } | ||
27 | |||
28 | #define FPS_STD(x) \ | ||
29 | if ((f >= loops) && (!done)) \ | ||
30 | { \ | ||
31 | double fps; \ | ||
32 | fps = (double)f / t; \ | ||
33 | ui_fps(fps); \ | ||
34 | printf("%4.2f , %s\n", fps, x); \ | ||
35 | done = 1; \ | ||
36 | } | ||
37 | |||
38 | #endif // MAIN_HH | ||