Dev console: name suggestions, materials list, history, Tab completion, help, clear (t94)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+5
-4
@@ -387,10 +387,10 @@ World generation helpers: noise and removal of tiny hard rock specks.
|
||||
World generation: staged terrain, ore, caves and placement, with synchronous and async entry points.
|
||||
- functions: generateWorld, generateWorldAsync
|
||||
|
||||
### src/sim/devconsole.js (114 lines)
|
||||
### src/sim/devconsole.js (185 lines)
|
||||
Dev commands are pure simulation operations; the browser owns the panel and confirmation.
|
||||
- functions: resetDevConsole, enableDevConsole, devMaterial, devCommand
|
||||
- variables: devWorld, devLog, devFree, devSpeed, devPaused, devSteps, DEV_HELP, DEV_MATERIALS
|
||||
- functions: resetDevConsole, enableDevConsole, devError, devName, devGiveable, devMaterialList, devDistance, devSuggestions, devHistory, devRemember, devRecall, devComplete, devMaterial, devCommand
|
||||
- variables: devWorld, devLog, devFree, devSpeed, devPaused, devSteps, DEV_COMMANDS, DEV_MATERIALS
|
||||
|
||||
### src/sim/save.js (185 lines)
|
||||
Saving and loading a world (serializeWorld / deserializeWorld) and old-save migration.
|
||||
@@ -572,9 +572,10 @@ Hover work is shared by the cursor label and the vein outline.
|
||||
Discovery cards, hover info (I) and the cursor label.
|
||||
- functions: showCard, howText, discoveryCard, reactionsOf, hoverInfo, renderInfo, drawCursorLabel, pipeContentsText
|
||||
|
||||
### src/ui/devconsole.js (42 lines)
|
||||
### src/ui/devconsole.js (71 lines)
|
||||
Bottom panel; command dispatch and state live in sim/devconsole.js.
|
||||
- functions: closeDevConsole, showDevConsole, toggleDevConsole, devPrint, runDevCommand
|
||||
- variables: devInputHistory, devCompletion
|
||||
|
||||
### src/ui/input.js (92 lines)
|
||||
Keyboard and mouse listeners.
|
||||
|
||||
Reference in New Issue
Block a user