Bump max particles, fix comment

main
Cameron Murphy Reikes 2 years ago
parent 02dd647a07
commit 1654762320

Binary file not shown.

@ -2793,7 +2793,7 @@ void process(struct GameState *gs, double dt)
#if 1 // building
if (player->input.dobuild)
{
player->input.dobuild = false; // handle the input. if didn't do this, after destruction of hovered box, would try to build on its grid with grid_index...
player->input.dobuild = false; // handle the input. if didn't do this, after destruction of hovered box, would try to build on it again the next frame
cpPointQueryInfo info = {0};
cpVect world_build = world_hand_pos;

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

@ -272,7 +272,7 @@ typedef struct Particle
double scaling;
} Particle;
#define MAX_PARTICLES 1000
#define MAX_PARTICLES 2000
static Particle particles[MAX_PARTICLES] = {0};
#define PARTICLES_ITER(p) for (Particle *p = &particles[0]; p < particles + MAX_PARTICLES; p++)

Loading…
Cancel
Save