This commit is contained in:
Clinv committed 2026-10-24 11:52:16 -03:00
commit 9020ded6ce
95 files changed
+11394

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
/* Control del "raylib falso" que usa la prueba de humo de la interfaz (sin ventana ni GPU). */
#ifndef MOCK_RAYLIB_H
#define MOCK_RAYLIB_H
typedef enum { EV_MOVE, EV_DOWN, EV_UP, EV_KEY, EV_KEYDOWN, EV_KEYUP, EV_CHAR, EV_WHEEL } mock_ev_type;
typedef struct { int frame; mock_ev_type type; float a, b; } mock_event;
/* Programa un guion de eventos (ordenado por frame) y el último frame; luego tgb_ui_run lo consume. */
void mock_script(const mock_event *events, int count, int last_frame);
int mock_frames_run(void);
int mock_texture_updates(void);
int mock_draw_calls(void);
#endif