2022-12-22 03:50:40 -06:00
|
|
|
#ifndef YUGINE_H
|
|
|
|
#define YUGINE_H
|
|
|
|
|
|
|
|
int sim_playing();
|
|
|
|
int sim_paused();
|
|
|
|
void sim_start();
|
|
|
|
void sim_pause();
|
|
|
|
void sim_stop();
|
|
|
|
void sim_step();
|
2023-03-10 13:13:48 -06:00
|
|
|
int phys_stepping();
|
2022-12-22 16:58:06 -06:00
|
|
|
void set_timescale(float val);
|
2023-04-24 17:22:18 -05:00
|
|
|
void print_stacktrace();
|
2023-10-23 08:08:11 -05:00
|
|
|
void yugine_init();
|
2022-12-22 03:50:40 -06:00
|
|
|
|
2023-06-28 11:35:41 -05:00
|
|
|
const char *engine_info();
|
2023-12-21 17:21:01 -06:00
|
|
|
void app_name(const char *name);
|
2023-06-28 11:35:41 -05:00
|
|
|
|
2022-12-29 04:26:21 -06:00
|
|
|
int frame_fps();
|
2023-08-31 17:23:24 -05:00
|
|
|
double get_timescale();
|
2022-12-29 04:26:21 -06:00
|
|
|
|
2023-10-30 17:41:32 -05:00
|
|
|
double apptime();
|
2023-08-31 13:00:33 -05:00
|
|
|
extern double renderMS;
|
|
|
|
extern double physMS;
|
|
|
|
extern double updateMS;
|
2023-09-19 12:35:12 -05:00
|
|
|
extern int editor_mode;
|
2023-03-10 13:13:48 -06:00
|
|
|
#endif
|