Remove plans

This commit is contained in:
2026-10-11 01:26:51 -03:00
parent cd3b39c3d7
commit 44a39bf8ec
10 changed files with 50 additions and 15 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
// with a worldgen pool, chunks players are sent are generated in its workers: a player that teleports somewhere new
// gets every chunk around them, the same as the game would make them, without the game generating them itself. see
// GameServer.use_worldgen_pool and GENERATION.md
// GameServer.use_worldgen_pool
import { assert, assertEquals } from "@std/assert";
import { is_within_view } from "$/common/chunk_streaming.ts";
import { game_with_pool, load_view } from "./chunk_loading.ts";
+2 -2
View File
@@ -1,5 +1,5 @@
// how long generating chunks takes, for keeping generation fast as it moves to data, see GENERATION.md.
// deno task bench
// how long generating chunks takes, on one thread. moving the terrain from code to data was held to 15% slower here,
// and cost about 9% (144.5 to 157.7 ms on the machine it was measured on). deno task bench
import { generate_raw_chunk } from "$/common/generation.ts";
import { test_game } from "./helpers.ts";
+1 -1
View File
@@ -1,5 +1,5 @@
// the bundle is everything generation reads, so a worker sent it generates what the game does. see
// common/worldgen_bundle.ts and GENERATION.md
// common/worldgen_bundle.ts
import { assert, assertEquals } from "@std/assert";
import { EverythingRegistry } from "$/common/everything_registry.ts";
import { load_bundle } from "$/common/worldgen_bundle.ts";
+1 -1
View File
@@ -1,6 +1,6 @@
// world generation gives the same world block for block, release after release: a save only keeps what players
// changed, so any change to what generation makes changes every existing world (docs/modding_plan.md, rule 2).
// this generates chunks for a few seeds and compares them with tests/fixtures/worldgen_golden.json, see GENERATION.md.
// this generates chunks for a few seeds and compares them with tests/fixtures/worldgen_golden.json.
// after a change that's meant to change generation, record it again:
// deno test -A tests/worldgen_golden_test.ts -- --update
import { assertEquals } from "@std/assert";