From e82bf059815a58594e14045b35df5d267c5ffe23 Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Fri, 26 Jun 2026 23:42:10 -0500 Subject: a* and removed subobjects --- lib/init.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'lib/init.c') diff --git a/lib/init.c b/lib/init.c index 9321038..7d5a5e7 100644 --- a/lib/init.c +++ b/lib/init.c @@ -28,7 +28,6 @@ int main(int argc, char *argv[]) } srand(time(NULL)); - OBJECT_INER obj_storage[obj_n]; STUFFS stuff = { startw, @@ -45,12 +44,7 @@ int main(int argc, char *argv[]) stuff.font = TTF_OpenFont("/usr/share/fonts/TTF/JetBrainsMono-Regular.ttf" , 10); - init_stuffs(startw,starth,obj_storage,&stuff); - - - - for (int i = 0; i < obj_n; i++) - stuff.obj.objs[i] = &obj_storage[i]; + init_stuffs(startw,starth,&stuff); SDL_SetRenderDrawBlendMode(renderer, SDL_BLENDMODE_BLEND); -- cgit v1.3