| 1234567891011121314151617181920 |
- #include "overlay_util.h"
- static void overlayLoop(void) {
- raylib_DrawFPS()(10, 10);
- // LOG("FROM OVERLAY: targetFps = %d\n", g_settings->targetFps);
- }
- void overlayInit(void) {
- setOverlayLoop(overlayLoop);
- raylib_DrawFPS()(10, 10);
- LOG("drawfps called\n");
- g_settings->targetFps = 60;
- raylib_SetTargetFPS()(g_settings->targetFps);
- LOG("OVERLAY: registered myTick, slot=%p\n", (void*) g_overlayLoopSlot);
- logDString("OVERLAY: luaExec = ", g_luaExec);
- LOG("OVERLAY: targetFps = %d\n", g_settings->targetFps);
- }
|