diff --git a/main.c b/main.c index 478b6e7..4a4df04 100644 --- a/main.c +++ b/main.c @@ -812,10 +812,12 @@ frame(void) } // draw the velocity +#if 0 sgp_set_color(1.0f, 0.0f, 0.0f, 1.0f); V2 vel = grid_vel(g); V2 to = V2add(grid_com(g), vel); sgp_draw_line(grid_com(g).x, grid_com(g).y, to.x, to.y); +#endif } if (e->is_player && get_entity(&gs, e->currently_inside_of_box) == NULL) { transform_scope diff --git a/types.h b/types.h index 8db83da..cfd9454 100644 --- a/types.h +++ b/types.h @@ -16,7 +16,7 @@ #define THRUSTER_FORCE 4.0f #define THRUSTER_ENERGY_USED_PER_SECOND 0.05f #define VISION_RADIUS 16.0f -#define MAX_BYTES_SIZE 1024 * 12 // maximum size of serialized gamestate buffer +#define MAX_BYTES_SIZE 1024 * 36 // maximum size of serialized gamestate buffer #define SUN_RADIUS 10.0f #define INSTANT_DEATH_DISTANCE_FROM_SUN 300.0f #define SUN_POS ((V2){50.0f,0.0f})