#ifndef world_h #define world_h #include "map.h" #include "obj.h" #define max_particles 32 struct Renderer; typedef struct World { Particle particles[max_particles]; int particle_count; Player player; Map map; } World; void init_world(World* w); Particle* inst_particle( World* w, int x, int y, int anim, int bmp ); void update_world(World* w, const App* a); void ren_world(const World* w, struct Renderer* r); #endif