V2.0.0
This commit is contained in:
1 parent
7f7fcd545d
commit
4d9a339421
114 files changed
+11383
-1837
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user