luvcraft/agent/commands.lisp
The short speaker name shown for an embodied agent.
--------------------------------------------------------------------- Where am I
Where one command subject stands and, when applicable, looks.
Compatibility specialization for an explicitly player place.
The embodied object whose command is running: agent presence, then player.
Return subject's retained YAW and PITCH, or NIL values without a facing.
Use physical motion as the open fallback for bodies without authored facing.
--------------------------------------------------------------------- Moving to a place
--------------------------------------------------------------------- Blocks
One cell of the world as it was when asked.
--------------------------------------------------------------------- Handles and the evaluator
Where one command subject stands and, when applicable, looks.
Compatibility specialization for an explicitly player place.
(session)Logical disjunction of tests and raw truth values.
Logical conjunction of tests and raw truth values.
The APPLICATION-AGENT whose CLIM command is executing dynamically.
(subject session)(subject session)Return SUBJECT's retained YAW and PITCH, or NIL values without a facing.
Test whether one compatible scalar is greater than another.
Addition over compatible quantities.
Multiplication and scalar scaling.
(yaw)Division of two represented quantities.
The non-negative remainder of integer division.
(queue swapchain image-index
&key (wait-semaphores #()) present-id present-stage time-domain-id
target-time target-time-domain-present-stage)Headings, paragraphs, figures and their IDs, mentions, marks.
One cell of the world as it was when asked.
(name (&rest lambda-list) documentation &body body)(session &key (max-distance +luvcraft-target-reach+))(body)(session x y z)(body world x y z)(command value)Finish VALUE's off-canvas work on the provider worker before presentation.
One named verb over a session.
One bounded, waitable request for a continuous body to reach a cell.
(action)Block the calling worker until ACTION reaches a terminal state. The canvas thread must never call this; it advances ACTION a little each frame. A provider/tool thread may wait here without stalling rendering.
(command value)The presentation type used to show COMMAND's VALUE.
(world x y z)Return one site as BLOCK and :RESIDENT, or NIL and :ABSENT. This sparse world-coordinate accessor constructs coordinate descriptors and a chunk lookup key. It is appropriate for inspectors, ray hits, collision probes, and sparse interaction. Algorithms over many cells should select a chunk/domain once and use…
Logical negation of one test or raw truth value.
(world x y z radius)(block world x y z)(command)The provider line limit for COMMAND's presented output.
(command)Whether COMMAND must execute at its application's frame boundary.
The agent's first verbs, as CLIM commands in a table of their own.
Each one returns an object, and what the model reads is that object under the model view; what the HUD draws is the same object under the cassette view. The docstring is the tool description the provider sees, so it is written to the model.