diff options
Diffstat (limited to 'lib/init.c')
| -rw-r--r-- | lib/init.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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); |
