]> git.lizzy.rs Git - nothing.git/blob - src/game/level_script.h
Add TODO(#525)
[nothing.git] / src / game / level_script.h
1 #ifndef LEVEL_SCRIPT_H_
2 #define LEVEL_SCRIPT_H_
3
4 #include "ebisp/expr.h"
5
6 typedef struct Gc Gc;
7 struct Scope;
8 typedef struct Level Level;
9
10 // TODO(#525): Native lisp functions should probably have some kind of prefix
11
12 struct EvalResult
13 rect_apply_force(void *param, Gc *gc, struct Scope *scope, struct Expr args);
14
15 struct EvalResult
16 hide_goal(void *param, Gc *gc, struct Scope *scope, struct Expr args);
17
18 struct EvalResult
19 show_goal(void *param, Gc *gc, struct Scope *scope, struct Expr args);
20
21 struct EvalResult
22 hide_label(void *param, Gc *gc, struct Scope *scope, struct Expr args);
23
24 struct EvalResult
25 show_label(void *param, Gc *gc, struct Scope *scope, struct Expr args);
26
27 struct EvalResult
28 get_player_jump_count(void *param, Gc *gc, struct Scope *scope, struct Expr args);
29
30 void load_level_library(Gc *gc, struct Scope *scope, Level *level);
31
32 #endif  // LEVEL_SCRIPT_H_