Deleted main.hh. We can now work properly with main.h.
This commit is contained in:
parent
d29bf887ec
commit
37bbc4fae5
|
@ -1,38 +0,0 @@
|
||||||
#ifndef MAIN_HH
|
|
||||||
#define MAIN_HH
|
|
||||||
|
|
||||||
#define OBNUM 128
|
|
||||||
#define LOOPS 128
|
|
||||||
|
|
||||||
extern "C"
|
|
||||||
{
|
|
||||||
#include "ui.h"
|
|
||||||
const char *build_path(const char *filename);
|
|
||||||
}
|
|
||||||
|
|
||||||
#define SLOW 5.0
|
|
||||||
|
|
||||||
extern int win_w, win_h;
|
|
||||||
extern int loops;
|
|
||||||
extern const char *choosen_engine;
|
|
||||||
extern Eina_Bool fullscreen;
|
|
||||||
extern Eina_Bool cmp_report;
|
|
||||||
|
|
||||||
#define KEY_STD \
|
|
||||||
if ((!strcmp(key, "Escape")) || (!strcmp(key, "q")) || (!strcmp(key, "Q")) || (!strcmp(key, "Return"))) \
|
|
||||||
{ \
|
|
||||||
_cleanup(); \
|
|
||||||
ui_menu(); \
|
|
||||||
}
|
|
||||||
|
|
||||||
#define FPS_STD(x) \
|
|
||||||
if ((f >= loops) && (!done)) \
|
|
||||||
{ \
|
|
||||||
double fps; \
|
|
||||||
fps = (double)f / t; \
|
|
||||||
ui_fps(fps); \
|
|
||||||
printf("%4.2f , %s\n", fps, x); \
|
|
||||||
done = 1; \
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // MAIN_HH
|
|
Loading…
Reference in New Issue