summary refs log tree commit diff
path: root/src/funsinit.c
diff options
context:
space:
mode:
authorzlago2024-10-23 19:17:26 +0200
committerzlago2024-10-23 19:17:26 +0200
commitb12606899c98d7fc7a120c2b79797b5c45283ad2 (patch)
treef210a037fee0f2346bae8a10d1edc1b445b4324f /src/funsinit.c
parentaf6acead62498bc49065ef828e388bcd511ce54d (diff)
hacky save system
Diffstat (limited to 'src/funsinit.c')
-rw-r--r--src/funsinit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/funsinit.c b/src/funsinit.c
index 8e5581a..50469c6 100644
--- a/src/funsinit.c
+++ b/src/funsinit.c
@@ -2,6 +2,8 @@
 #include "loader.h"
 #include "main.h"
 
+void *save_new(struct entities *entities);
+int save_property(void *const restrict entity, char const *const restrict property, char const *const restrict value);
 void *walker_new(struct entities *entities);
 int walker_property(void *const restrict entity, char const *const restrict property, char const *const restrict value);
 void *flier_new(struct entities *entities);
@@ -11,6 +13,7 @@ void *warp_new(struct entities *entities);
 int warp_property(void *const restrict entity, char const *const restrict property, char const *const restrict value);
 
 void funs_init(void) {
+	res_push_fun(save_new, save_property, "save");
 	res_push_fun(walker_new, walker_property, "walker");
 	res_push_fun(flier_new, flier_property, "flier");
 	res_push_fun(warp_new, warp_property, "warp");