increase limits
parent
8b3e26667e
commit
d4aab12811
|
@ -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(), Controllers);
|
||||||
ECS_IMPORT(world_ecs(), Physics);
|
ECS_IMPORT(world_ecs(), Physics);
|
||||||
uint16_t half_world_dim = world_dim() / 2;
|
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);
|
uint64_t e = entity_spawn(NULL);
|
||||||
ecs_add(world_ecs(), e, EcsDemoNPC);
|
ecs_add(world_ecs(), e, EcsDemoNPC);
|
||||||
Position *pos = ecs_get_mut(world_ecs(), e, Position, NULL);
|
Position *pos = ecs_get_mut(world_ecs(), e, Position, NULL);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
|
||||||
#define PKT_BUFSIZ 16384
|
#define PKT_BUFSIZ 4000000
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
MSG_ID_00_INIT,
|
MSG_ID_00_INIT,
|
||||||
|
|
|
@ -148,7 +148,7 @@ int32_t world_destroy(void) {
|
||||||
return WORLD_ERROR_NONE;
|
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) {
|
static void world_tracker_update(uint8_t ticker, uint8_t freq, uint8_t radius) {
|
||||||
if (world.tracker_update[ticker] > zpl_time_rel_ms()) return;
|
if (world.tracker_update[ticker] > zpl_time_rel_ms()) return;
|
||||||
|
|
|
@ -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
|
#define DEMO_NPC_MOVE_SPEED 1000
|
||||||
|
|
||||||
void DemoNPCMoveAround(ecs_iter_t *it) {
|
void DemoNPCMoveAround(ecs_iter_t *it) {
|
||||||
|
|
Loading…
Reference in New Issue