2021-11-30 21:29:18 -06:00
|
|
|
#ifndef SCRIPT_H
|
|
|
|
#define SCRIPT_H
|
|
|
|
|
2022-12-12 01:35:42 -06:00
|
|
|
#include "s7.h"
|
|
|
|
extern s7_scheme *s7;
|
2022-08-07 01:43:45 -05:00
|
|
|
|
2021-11-30 21:29:18 -06:00
|
|
|
void script_init();
|
|
|
|
void script_run(const char *script);
|
2022-11-20 15:50:14 -06:00
|
|
|
int script_dofile(const char *file);
|
2022-08-07 01:43:45 -05:00
|
|
|
void script_update(double dt);
|
2022-08-03 17:00:00 -05:00
|
|
|
void script_draw();
|
2022-08-03 20:49:56 -05:00
|
|
|
void script_editor();
|
2022-08-05 14:23:39 -05:00
|
|
|
void script_call(const char *f);
|
2022-12-12 01:35:42 -06:00
|
|
|
void script_call_sym(s7_pointer sym);
|
|
|
|
int script_has_sym(s7_pointer sym);
|
2021-11-30 21:29:18 -06:00
|
|
|
|
2022-02-06 10:14:57 -06:00
|
|
|
#endif
|