diff --git a/code/apps/client/source/game.c b/code/apps/client/source/game.c index f7477f5..875b4b3 100644 --- a/code/apps/client/source/game.c +++ b/code/apps/client/source/game.c @@ -127,7 +127,7 @@ void game_init(int8_t play_mode, uint32_t num_viewers, int32_t seed, uint16_t bl ECS_IMPORT(world_ecs(), Controllers); ECS_IMPORT(world_ecs(), Physics); uint16_t half_world_dim = world_dim() / 2; - for (int i = 0; i < 100; i++) { + for (int i = 0; i < 1000; i++) { uint64_t e = entity_spawn(NULL); ecs_add(world_ecs(), e, EcsDemoNPC); Position *pos = ecs_get_mut(world_ecs(), e, Position, NULL); diff --git a/code/common/packet.h b/code/common/packet.h index 814031a..0d57ace 100644 --- a/code/common/packet.h +++ b/code/common/packet.h @@ -1,7 +1,7 @@ #pragma once #include "system.h" -#define PKT_BUFSIZ 16384 +#define PKT_BUFSIZ 4000000 typedef enum { MSG_ID_00_INIT, diff --git a/code/common/world/world.c b/code/common/world/world.c index e47efd5..121c54a 100644 --- a/code/common/world/world.c +++ b/code/common/world/world.c @@ -148,7 +148,7 @@ int32_t world_destroy(void) { return WORLD_ERROR_NONE; } -#define WORLD_LIBRG_BUFSIZ 8192 +#define WORLD_LIBRG_BUFSIZ 2000000 static void world_tracker_update(uint8_t ticker, uint8_t freq, uint8_t radius) { if (world.tracker_update[ticker] > zpl_time_rel_ms()) return; diff --git a/code/modules/source/controllers.c b/code/modules/source/controllers.c index c483a0c..e1916a7 100644 --- a/code/modules/source/controllers.c +++ b/code/modules/source/controllers.c @@ -20,7 +20,7 @@ void MovementImpulse(ecs_iter_t *it) { } } -#define DEMO_NPC_CHANGEDIR_FACTOR 0.01 +#define DEMO_NPC_CHANGEDIR_FACTOR 0.1 #define DEMO_NPC_MOVE_SPEED 1000 void DemoNPCMoveAround(ecs_iter_t *it) {