Documentation Index
Fetch the complete documentation index at: https://mintlify.com/liltrendi/gitlantis/llms.txt
Use this file to discover all available pages before exploring further.
Game Hooks
useGameContext
Accesses the global game context.Returns the game context object with boat refs, settings, and world state
src/browser/hooks/useGame/context/index.ts:4
useGameStore
Zustand store for managing game settings and state.src/browser/hooks/useGame/store/index.ts:5
Boat Hooks
useNavigation
Handles boat movement, rotation, and physics.- Forward/backward movement with acceleration/deceleration
- Left/right turning with angular velocity
- Rocking and bobbing animations based on movement
- Frame-independent physics using delta time
src/browser/hooks/useBoat/navigation/index.tsx:13
useKeyboard
Captures keyboard input for boat controls.Object with boolean flags for forward, backward, left, right keys
W/↑- ForwardS/↓- BackwardA/←- Turn leftD/→- Turn rightH- Horn soundF- Toggle minimap fullscreen
src/browser/hooks/useBoat/keyboard/index.ts:4
Node Hooks
useNodeMovement
Animates floating and rotation of file/folder nodes.- Floating animation with sine wave motion
- Nodes rotate to face the boat
- Fixed orientation in minimap fullscreen mode
src/browser/hooks/useNode/movement/index.ts:4
useNodeCollision
Detects collisions between boat and nodes with avoidance.- Collision detection using configurable radius
- Push-back avoidance force
- State tracking for UI feedback
src/browser/hooks/useNode/collision/index.ts:7
Git Hooks
useGit
Provides Git operations and branch data.src/browser/hooks/useGit/index.ts:3
useBranches
Manages Git branch listing and checkout.src/browser/hooks/useGit/useBranch/index.ts:11
Minimap Hooks
useMinimapCamera
Manages the overhead camera for the minimap view.src/browser/hooks/useMinimap/index.ts:12
useMinimapClickHandler
Handles click interactions on the minimap.- Raycasting from minimap clicks to 3D objects
- Triggers
openOnClickon intersected objects
src/browser/hooks/useMinimap/index.ts:67
Ocean Hooks
useOceanRegen
Generates infinite ocean tiles around the boat.src/browser/hooks/useOcean/regen/index.ts:11
Extension Hooks
useExtensionContext
Accesses VS Code extension context and messaging API.Returns extension context with vscodeApi and currentPath
src/browser/hooks/useExtension/context/index.ts:4