@korial29/tiny-fps 1.27.0 → 1.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/types/client/announce.d.ts +2 -2
  4. package/dist/types/client/armor/regions.d.ts +1 -1
  5. package/dist/types/client/armor/scratches.d.ts +1 -1
  6. package/dist/types/client/audio.d.ts +2 -1
  7. package/dist/types/client/balls.d.ts +1 -1
  8. package/dist/types/client/body/constants.d.ts +1 -1
  9. package/dist/types/client/body/fingers.d.ts +2 -8
  10. package/dist/types/client/body/wield.d.ts +1 -5
  11. package/dist/types/client/chase.d.ts +6 -6
  12. package/dist/types/client/combat/constants.d.ts +1 -1
  13. package/dist/types/client/combat/create.d.ts +2 -2
  14. package/dist/types/client/combat/events.d.ts +1 -1
  15. package/dist/types/client/expression.d.ts +1 -1
  16. package/dist/types/client/gait/fists.d.ts +2 -2
  17. package/dist/types/client/gait/moves.d.ts +1 -1
  18. package/dist/types/client/gun/held.d.ts +1 -1
  19. package/dist/types/client/gun/kinds.d.ts +1 -1
  20. package/dist/types/client/gun/reload.d.ts +3 -3
  21. package/dist/types/client/hud/format.d.ts +2 -2
  22. package/dist/types/client/hulk/hull.d.ts +1 -1
  23. package/dist/types/client/hunter/animation.d.ts +2 -2
  24. package/dist/types/client/hunter/harpoon.d.ts +1 -5
  25. package/dist/types/client/katana.d.ts +3 -3
  26. package/dist/types/client/limbs.d.ts +2 -2
  27. package/dist/types/client/mission.d.ts +1 -1
  28. package/dist/types/client/props.d.ts +1 -1
  29. package/dist/types/client/render/scene.d.ts +1 -1
  30. package/dist/types/client/render/shader.d.ts +3 -3
  31. package/dist/types/client/render/shots.d.ts +2 -2
  32. package/dist/types/client/skin/pose.d.ts +1 -1
  33. package/dist/types/client/soldier/animate.d.ts +1 -1
  34. package/dist/types/client/soldier/grasp.d.ts +1 -1
  35. package/dist/types/client/soldier/hunter.d.ts +1 -1
  36. package/dist/types/client/targeting-physics.d.ts +11 -7
  37. package/dist/types/client/targeting.d.ts +1 -1
  38. package/dist/types/client/taunt.d.ts +1 -1
  39. package/dist/types/client/voice/cast-mp3.d.ts +1 -1
  40. package/dist/types/client/voice/cast-opus.d.ts +1 -1
  41. package/dist/types/client/voice/mp3.d.ts +1 -1
  42. package/dist/types/client/voice/opus.d.ts +1 -1
  43. package/dist/types/client/wreck.d.ts +1 -1
  44. package/dist/types/client/xeno/back.d.ts +1 -1
  45. package/dist/types/client/xeno/tail.d.ts +2 -2
  46. package/dist/types/shared/blade.d.ts +2 -2
  47. package/dist/types/shared/gun.d.ts +1 -1
  48. package/dist/types/shared/kit.d.ts +4 -4
  49. package/dist/types/shared/physics.d.ts +5 -5
  50. package/dist/types/shared/plasma.d.ts +2 -2
  51. package/dist/types/shared/routes.d.ts +1 -1
  52. package/dist/types/shared/rover.d.ts +1 -1
  53. package/dist/types/shared/ship.d.ts +1 -1
  54. package/dist/types/shared/world.d.ts +1 -1
  55. package/package.json +8 -13
@@ -40,7 +40,7 @@ export interface Lit {
40
40
  carry?: [Vec3, Vec3[]];
41
41
  }
42
42
  /** The levels of the rail gun's three cells for `p` (0 to 1): the capsule in use, then what it carries beside, a capsule's worth to each. */
43
- export declare const cellsOf: (p: Pick<PlayerState, "rail" | "cap">) => number[];
43
+ export declare const cellsOf: (p: Pick<PlayerState, 'rail' | 'cap'>) => number[];
44
44
  /**
45
45
  * Appends the gun (the rail gun or the laser rifle by `kind`, the rail gun's spark at the time `t`) held in the hand at `pos`
46
46
  * with the world rotation `q`, `k` times its size about the grip, with the ammo on its back when
@@ -2,7 +2,7 @@ import type { PlayerState } from '../../shared/types';
2
2
  /** The Hunter's pistol: its own model (pistol.ts), on the gun's marks. */
3
3
  export declare const hunterGun: (lod: number) => number[];
4
4
  /** The weapon a gun model is, from a player or a flag: 0 the gun, 2 the rail gun (or true), 3 the laser rifle. */
5
- export declare const kindOf: (p: Pick<PlayerState, "railed" | "rifled"> | boolean | number) => number;
5
+ export declare const kindOf: (p: Pick<PlayerState, 'railed' | 'rifled'> | boolean | number) => number;
6
6
  export declare const LONG_TILT: number[];
7
7
  export declare const LONG_HOLD: number[];
8
8
  export declare const LONG_CURL = 0.72;
@@ -6,7 +6,7 @@ export declare const ease: (t: number) => number;
6
6
  /** `t` from `a` to `b` as 0 to 1. */
7
7
  export declare const span: (t: number, a: number, b: number) => number;
8
8
  /** How far through the swap of the gun in hand `p` is, 0 to 1; -1 when it is not swapping. */
9
- export declare const swapOf: (p: Pick<PlayerState, "reload" | "railed" | "rifled">) => number;
9
+ export declare const swapOf: (p: Pick<PlayerState, 'reload' | 'railed' | 'rifled'>) => number;
10
10
  /**
11
11
  * The glow of a weapon `t` seconds after it came to hand: dark as it rises, then flickering up to
12
12
  * full at `end` (0.6 s; the gun's 1.4 s).
@@ -31,13 +31,13 @@ export declare const pressAt: (kind: number) => number;
31
31
  * The selected weapon slot, or -1 when bare-handed or down: 0 the gun, which is also the Hunter's
32
32
  * pistol (`sided`) beside his harpoon.
33
33
  */
34
- export declare const handOf: (p: Pick<PlayerState, "down" | "fists" | "wield" | "rifled" | "railed" | "ammo" | "sided">) => number;
34
+ export declare const handOf: (p: Pick<PlayerState, 'down' | 'fists' | 'wield' | 'rifled' | 'railed' | 'ammo' | 'sided'>) => number;
35
35
  /**
36
36
  * A tracker of the weapons each player has had in hand since taking them: true when the weapon in
37
37
  * `p`'s hand comes to it for the first time, the only time it is switched on (the user,
38
38
  * 2026-11-09). A weapon the player no longer carries (lost going down) is forgotten.
39
39
  */
40
- export declare const firsts: () => (p: Pick<PlayerState, "id" | "ammo" | "fists" | "blade" | "rail" | "rifle" | "down" | "wield" | "rifled" | "railed">) => boolean;
40
+ export declare const firsts: () => (p: Pick<PlayerState, 'id' | 'ammo' | 'fists' | 'blade' | 'rail' | 'rifle' | 'down' | 'wield' | 'rifled' | 'railed'>) => boolean;
41
41
  /**
42
42
  * The rail gun's capsule `t` after the gun came to hand, the left hand on it at `at`: turned a
43
43
  * quarter of a turn to tune it on (the user, 2026-11-09), radians, as the screw turns it.
@@ -5,9 +5,9 @@ import type { PlayerState, Rover } from '../../shared/types';
5
5
  * is there and has no pilot (a carrier does not fly), '' with no free seat in reach, seated or
6
6
  * down. The nearest vehicle with a seat for him counts, as the room judges it (nearby(), free()).
7
7
  */
8
- export declare const boarding: (me: Pick<PlayerState, "x" | "y" | "z" | "mode" | "down"> | undefined, rovers: readonly Rover[], carrying?: boolean) => "" | "drive" | "ride" | "fly";
8
+ export declare const boarding: (me: Pick<PlayerState, 'x' | 'y' | 'z' | 'mode' | 'down'> | undefined, rovers: readonly Rover[], carrying?: boolean) => '' | 'drive' | 'ride' | 'fly';
9
9
  /** The speed-o-meter's reading of a rover: whole km/h over the ground. */
10
- export declare const kmh: (r: Pick<Rover, "vx" | "vz">) => number;
10
+ export declare const kmh: (r: Pick<Rover, 'vx' | 'vz'>) => number;
11
11
  /** The warning of the nearest limit once one is within its last half of WARN, or ''. */
12
12
  export declare const warning: (up: number, out: number) => string;
13
13
  /** The ship's height on its panel: metres under the edge of space, kilometres in orbit. */
@@ -79,7 +79,7 @@ export declare const SNAPPED: number[][];
79
79
  export declare const ragged: (l: V[], d: V, c: V) => void;
80
80
  /** A section's outer skin: one loft, holed where the map is; its torn ends, the edges of its holes in the skin's thickness. */
81
81
  /** `only`: the canopy's glass alone instead of the skin. */
82
- export declare const skin: (n: number, only?: "glass") => void;
82
+ export declare const skin: (n: number, only?: 'glass') => void;
83
83
  /** The tail's stern, its bell, the stubs of its two engines' pylons, the fins on its shoulders and the number on its flanks. */
84
84
  export declare const tail: () => void;
85
85
  /** The nose's blunt tip and its probe. */
@@ -8,13 +8,13 @@ export declare const unfold: (k: number, out: boolean, dt: number) => number;
8
8
  * The Hunter as his arms are posed: with the shoulder cannon in use his hands hold nothing, so he
9
9
  * is drawn as with no weapon in hand (not the rail gun's hold, nor the harpoon's).
10
10
  */
11
- export declare const handsFree: <P extends Pick<PlayerState, "railed" | "ammo" | "zapping">>(p: P) => P;
11
+ export declare const handsFree: <P extends Pick<PlayerState, 'railed' | 'ammo' | 'zapping'>>(p: P) => P;
12
12
  /** How far along its swing a cannon folded out by `k` is: a smooth start and stop. */
13
13
  export declare const folded: (k: number) => number;
14
14
  /** Where each bone of HUNTER_REST ends: its first child (the spine, the neck), or a stub past a leaf. */
15
15
  export declare const boneEnd: (j: number) => Vec3;
16
16
  export declare const toBone: (p: Vec3, j: number) => number;
17
- export declare const LEGS: ((16 | 13 | 14 | 15)[] | (20 | 18 | 19 | 17)[])[];
17
+ export declare const LEGS: ((13 | 14 | 15 | 16)[] | (17 | 18 | 19 | 20)[])[];
18
18
  export declare const HEAD_PARTS: RegExp;
19
19
  export declare const TRUNK_PARTS: Set<string>;
20
20
  export declare const ALL: number[];
@@ -41,11 +41,7 @@ export declare const quatOf: ([r, u, f]: Vec3[]) => Quat;
41
41
  * `pieces`, its shell, slide and stock are kept on the GPU (store.ts) and only placed, so their
42
42
  * brushed metal lies on their rest place; the bolt, shortened as it folds, stays in `out`.
43
43
  */
44
- export declare const drawHarpoon: (out: Out, lod: 0 | 1 | 2, at: Vec3, axes: Vec3[], scale: number, open: number, loaded?: boolean,
45
- /** 0 as the reload starts to 1: the next bolt slides forward from behind the stock into its seat. */
46
- feed?: number, pieces?: Pieces,
47
- /** How far (m, unscaled) the bolt just fired has flown out of the muzzle; drawn under HARPOON_GONE. */
48
- fired?: number) => void;
44
+ export declare const drawHarpoon: (out: Out, lod: 0 | 1 | 2, at: Vec3, axes: Vec3[], scale: number, open: number, loaded?: boolean, feed?: number, pieces?: Pieces, fired?: number) => void;
49
45
  /**
50
46
  * Seconds the harpoon takes to unfold as it comes to hand (drawHarpoon()'s `open`, eased): slow
51
47
  * enough to be seen (the user, 2026-11-24), SOUND.HARPOON_OPEN timed on it.
@@ -101,7 +101,7 @@ export declare const SWAY = 0.2;
101
101
  * in ticks, and the snapshots of the others come every second tick: the answer runs on with the
102
102
  * time, never more than two ticks ahead of the count, never behind it. `was` is the last answer.
103
103
  */
104
- export declare const progress: (was: number, p: Pick<PlayerState, "swing" | "cut" | "heavy" | "charge">, dt: number) => number;
104
+ export declare const progress: (was: number, p: Pick<PlayerState, 'swing' | 'cut' | 'heavy' | 'charge'>, dt: number) => number;
105
105
  /** How much wider a heavy release swings than its cut: the hands round the guard, and the trunk. */
106
106
  export declare const AMPLE: number, AMPLE_TRUNK: number;
107
107
  /**
@@ -109,8 +109,8 @@ export declare const AMPLE: number, AMPLE_TRUNK: number;
109
109
  * release goes AMPLE times as far from the guard, across and up; held at the top, charging, the hands tremble
110
110
  * with the clock `t` (s).
111
111
  */
112
- export declare const poised: (p: Pick<PlayerState, "cut" | "heavy" | "charge">, prog: number, t: number) => number[];
112
+ export declare const poised: (p: Pick<PlayerState, 'cut' | 'heavy' | 'charge'>, prog: number, t: number) => number[];
113
113
  /** The trunk's twist, bend and lean (see trunk()) for the cut `p` swings at `prog`: AMPLE_TRUNK times a heavy release's, from its strike on. */
114
- export declare const bent: (p: Pick<PlayerState, "cut" | "heavy">, prog: number) => number[];
114
+ export declare const bent: (p: Pick<PlayerState, 'cut' | 'heavy'>, prog: number) => number[];
115
115
  /** Whether the blade is cutting at `p` of its swing: the wind-up, over by 0.22 to 0.27, and the recovery leave no trail. */
116
116
  export declare const cutting: (p: number) => boolean;
@@ -51,13 +51,13 @@ export declare const fall: (c: Piece, dt: number, floor: Ground) => void;
51
51
  */
52
52
  export declare const track: (r: {
53
53
  p: PlayerState;
54
- gait: Pick<Gait, "pose">;
54
+ gait: Pick<Gait, 'pose'>;
55
55
  cut?: Piece;
56
56
  build?: number;
57
57
  look?: Choice;
58
58
  /** The skeleton as last drawn, which the limb leaves from: the gait's pose without it. */
59
59
  s?: ReturnType<typeof solve>;
60
- }, dt: number, floor: Ground, fresh: boolean, tracer?: Pick<Tracer, "shock" | "spit">) => void;
60
+ }, dt: number, floor: Ground, fresh: boolean, tracer?: Pick<Tracer, 'shock' | 'spit'>) => void;
61
61
  /**
62
62
  * The skeleton the piece is skinned with, where it lies now: the pose of the cut carried by the
63
63
  * piece's own turn and place, sunk by `sink`. Skinned with it, the limb lands where piece() moves
@@ -10,4 +10,4 @@ export interface Brief {
10
10
  /** The brief of the own player of `team`: `flying` a ship, `inside` the station. */
11
11
  export declare const brief: (st: StationState | undefined, team: number, flying: boolean, inside: boolean) => Brief | undefined;
12
12
  /** Where a brief's marker points: the middle of the hangar, or the top of the console. */
13
- export declare const goal: ({ post: [lo, hi], hall: [a, b] }: StationDef, to: Brief["to"]) => Vec3;
13
+ export declare const goal: ({ post: [lo, hi], hall: [a, b] }: StationDef, to: Brief['to']) => Vec3;
@@ -34,7 +34,7 @@ export declare const RACK_RGB: number[];
34
34
  * Each team's gun rack, katana rack, rail gun rack and laser rifle rack, where it has them, as the
35
35
  * own class sees them (`set`): none at all for a class that takes nothing from them.
36
36
  */
37
- export declare const racks: (out: Out, guns?: readonly (Vec3 | undefined)[], blades?: readonly (Vec3 | undefined)[], t?: number, rails?: readonly (Vec3 | undefined)[], rifles?: readonly (Vec3 | undefined)[], pieces?: Pieces, set?: RackSet) => false | void;
37
+ export declare const racks: (out: Out, guns?: readonly (Vec3 | undefined)[], blades?: readonly (Vec3 | undefined)[], t?: number, rails?: readonly (Vec3 | undefined)[], rifles?: readonly (Vec3 | undefined)[], pieces?: Pieces, set?: RackSet) => void | false;
38
38
  /** A health pack at `at`: a white box with a glowing green cross on each side. */
39
39
  export declare const kit: (out: Out, at: Vec3, t: number) => void;
40
40
  /** An ammo pack at `at`: a violet box with a glowing cyan cartridge on each side, the gun's colours. */
@@ -3,7 +3,7 @@ import type { Vec3 } from '../mesh';
3
3
  import type { Look } from '../rover/draw';
4
4
  import type { Instances } from '../instances/types';
5
5
  /** The tints of a world's textures (tints()): the shader's palette, MAX_TINTS at most. */
6
- export declare const palette: ({ def }: Pick<World, "def">) => Vec3[];
6
+ export declare const palette: ({ def }: Pick<World, 'def'>) => Vec3[];
7
7
  /** The corners of a face's two triangles, as [along p, along q] picks of its min or max. */
8
8
  export declare const CORNERS: number[][];
9
9
  /**
@@ -73,8 +73,8 @@ export declare const mirrors: (brushes?: readonly Brush[]) => boolean;
73
73
  * vision: its loop and palettes were 4.6 ms a frame on Highline with none ever drawn, 1.4 on
74
74
  * Tranquility and none on Landfall, through the registers they take from every pixel.
75
75
  */
76
- export declare const fragOf: (def: Pick<WorldDef, "scenery" | "seam" | "relief" | "helmets"> & Partial<Pick<WorldDef, "brushes">>, kind?: string, rock?: string, sight?: boolean, glaze?: string, forest?: string, fade?: string) => string;
76
+ export declare const fragOf: (def: Pick<WorldDef, 'scenery' | 'seam' | 'relief' | 'helmets'> & Partial<Pick<WorldDef, 'brushes'>>, kind?: string, rock?: string, sight?: boolean, glaze?: string, forest?: string, fade?: string) => string;
77
77
  /** A map whose ground takes footprints (createPrints): Landfall's sand, the moon's regolith. */
78
- export declare const printed: (def: Pick<WorldDef, "scenery" | "relief">) => boolean;
78
+ export declare const printed: (def: Pick<WorldDef, 'scenery' | 'relief'>) => boolean;
79
79
  /** A map with the moon's sky: its globe, stars and craters. Not the beach, whose sand is a relief too. */
80
- export declare const moonly: (def: Pick<WorldDef, "scenery" | "seam" | "relief">) => boolean;
80
+ export declare const moonly: (def: Pick<WorldDef, 'scenery' | 'seam' | 'relief'>) => boolean;
@@ -13,13 +13,13 @@ export declare const PORTRAIT: {
13
13
  };
14
14
  /** A haircut's picture: the head alone, seen three quarters from behind so a tail or a bun shows. */
15
15
  export declare const HEAD: {
16
+ y: number;
17
+ sun: number;
16
18
  eye: number;
17
19
  away: number;
18
20
  turn: number;
19
21
  fov: number;
20
22
  side: number;
21
- y: number;
22
- sun: number;
23
23
  };
24
24
  /** A picture's framing, and whether he grins in it. */
25
25
  export type Shot = typeof PORTRAIT & {
@@ -60,7 +60,7 @@ export declare const MOUTH: number[];
60
60
  * shrinking undone every other pass (Taubin), then their normals the area-weighted mean of their
61
61
  * triangles' again.
62
62
  */
63
- export declare const relax: (s: Skin, r: NonNullable<Skin["r"]>) => void;
63
+ export declare const relax: (s: Skin, r: NonNullable<Skin['r']>) => void;
64
64
  /** relax()'s moved places, kept from call to call. */
65
65
  export declare let MOVED: Float32Array<ArrayBuffer>;
66
66
  /** Per joint the dual quaternion that carries the rest pose to the pose: the rotation, then its dual. */
@@ -7,6 +7,6 @@ import type { Pose } from '../rig';
7
7
  import type { Runner } from './types';
8
8
  /** A blow taken: seconds it lasts, and how far it throws the head and the chest back (radians). */
9
9
  export declare const FLINCH: number[];
10
- export declare const animate: (book: Map<number, Runner>, others: PlayerState[], dt: number, world?: World, tracer?: Pick<Tracer, "shock" | "spit"> & Partial<Pick<Tracer, "gore">>, rovers?: Rover[], builds?: ReadonlyMap<number, number>, looks?: ReadonlyMap<number, Choice>) => void;
10
+ export declare const animate: (book: Map<number, Runner>, others: PlayerState[], dt: number, world?: World, tracer?: Pick<Tracer, 'shock' | 'spit'> & Partial<Pick<Tracer, 'gore'>>, rovers?: Rover[], builds?: ReadonlyMap<number, number>, looks?: ReadonlyMap<number, Choice>) => void;
11
11
  /** The pose with the right arm `k` of the way to holding the gun's grip at `grip`, its axes `ax` (aimed(), shouldered()). */
12
12
  export declare const lifted: (pose: Pose, s: ReturnType<typeof solve>, [grip, ax]: [Vec3, Vec3[]], k: number, kind?: number) => Pose;
@@ -6,7 +6,7 @@ import type { Runner } from './types';
6
6
  /** A dash trails three streaks: thin glowing (layer -2) spikes, a pair of crossed triangles each. */
7
7
  export declare const streaks: (out: Out, r: Runner, color: number[], at: (v: Vec3) => Vec3) => void;
8
8
  /** Whether the runner is at a rover's wheel: unarmed, his weapons put away. */
9
- export declare const driving: (r: Pick<Runner, "p" | "seat">) => boolean;
9
+ export declare const driving: (r: Pick<Runner, 'p' | 'seat'>) => boolean;
10
10
  /** How fast a hand closes or opens, 1 / s. */
11
11
  export declare const CLOSE = 14;
12
12
  /**
@@ -13,7 +13,7 @@ export declare const hunterKey: (lod: HunterLod, piece: HunterPiece) => string;
13
13
  * (k 0) it lies back along the shoulder, CANNON_FOLD about the hinge from the chest's frame; out
14
14
  * (k 1) it points along his look.
15
15
  */
16
- export declare const cannonOf: (chest: Vec3, q: Quat, p: Pick<PlayerState, "yaw" | "pitch">, k: number) => [Vec3, Quat];
16
+ export declare const cannonOf: (chest: Vec3, q: Quat, p: Pick<PlayerState, 'yaw' | 'pitch'>, k: number) => [Vec3, Quat];
17
17
  /**
18
18
  * The Hunter with all he finds on the racks carried and nothing in hand (`fists`: he has none, so
19
19
  * no weapon is out): what his pictures on the menus show. In play his weapons are drawn on him
@@ -1,4 +1,8 @@
1
+ import { heightOf } from '../shared/physics';
2
+ import { cylinder } from '../shared/plasma';
3
+ import { aimOf, homeOf, struck } from '../shared/rover';
1
4
  import type { Rover } from '../shared/types';
5
+ import { hidden, ray } from '../shared/world';
2
6
  export declare const targetingPhysics: {
3
7
  BOLT_SPEED: number;
4
8
  PLAYER_R: number;
@@ -16,12 +20,12 @@ export declare const targetingPhysics: {
16
20
  readonly SWIM: 9;
17
21
  };
18
22
  NOBODY: number;
19
- aimOf: (r: Rover, yaw: number, pitch: number, sight?: import("../shared/rover").Sight) => [number, number, number];
20
- cylinder: (o: [number, number, number], d: [number, number, number], c: Pick<import("../shared/types").PlayerState, "x" | "y" | "z">, r: number, h: number) => number;
21
- heightOf: (p: Pick<import("../shared/types").PlayerState, "mode">) => number;
22
- homeOf: (w: import("../shared/world").World, k: number) => number;
23
- hidden: (w: import("../shared/world").World, a: [number, number, number], b: [number, number, number]) => boolean;
24
- ray: (w: import("../shared/world").World, o: [number, number, number], d: [number, number, number], max: number, grow?: number) => number;
25
- struck: (r: Rover, o: [x: number, y: number, z: number], d: [x: number, y: number, z: number], m: number) => number;
23
+ aimOf: typeof aimOf;
24
+ cylinder: typeof cylinder;
25
+ heightOf: typeof heightOf;
26
+ homeOf: typeof homeOf;
27
+ hidden: typeof hidden;
28
+ ray: typeof ray;
29
+ struck: typeof struck;
26
30
  muzzleOf: (ship: Rover) => [x: number, y: number, z: number];
27
31
  };
@@ -28,6 +28,6 @@ interface View {
28
28
  export declare const shipTargeting: ({ world, camera, yaw, aspect, project, hostile }: View, ship: Rover, convergence: Vec3, rovers: Rover[], players: PlayerState[], { BOLT_SPEED, PLAYER_R, range, MODE, NOBODY, hidden, heightOf, muzzleOf }: Physics) => ShipTargeting;
29
29
  /** The overlay is loaded only on maps with vehicles. */
30
30
  export declare const createTargeting: (screen: HTMLElement, world: World, physics: Physics) => {
31
- frame(car: Rover | undefined, { yaw, pitch }: Pick<Rover, "yaw" | "pitch">, camera: Vec3, aspect: number, project: Renderer["project"], rovers: Rover[], players: PlayerState[], ownTeam: number, team: (id: number) => number | undefined): ScreenPoint | undefined;
31
+ frame(car: Rover | undefined, { yaw, pitch }: Pick<Rover, 'yaw' | 'pitch'>, camera: Vec3, aspect: number, project: Renderer['project'], rovers: Rover[], players: PlayerState[], ownTeam: number, team: (id: number) => number | undefined): ScreenPoint | undefined;
32
32
  };
33
33
  export {};
@@ -47,7 +47,7 @@ export interface Taunts {
47
47
  */
48
48
  frame(now: number, where: (id: number) => Vec3 | undefined): Said[];
49
49
  }
50
- export declare const createTaunts: (audio: Pick<Audio, "speak"> & Partial<Pick<Audio, "play">>,
50
+ export declare const createTaunts: (audio: Pick<Audio, 'speak'> & Partial<Pick<Audio, 'play'>>,
51
51
  /** A player's voice from the roster (speakerOf()). */
52
52
  speaker: (id: number) => number,
53
53
  /** A player's team from the roster. */