prosperon/source/engine/yugine.h

25 lines
447 B
C
Raw Normal View History

#ifndef YUGINE_H
#define YUGINE_H
2024-02-23 16:05:30 -06:00
#include "script.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();
void print_stacktrace();
void engine_start(JSValue fn, JSValue proc_fn); /* fn runs after the engine starts */
2022-12-29 04:26:21 -06:00
int frame_fps();
void quit();
2022-12-29 04:26:21 -06:00
double apptime();
extern double timescale;
extern double renderMS;
extern double physMS;
extern double updateMS;
2023-03-10 13:13:48 -06:00
#endif