@korial29/tiny-fps 1.10.0 → 1.10.2

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.
@@ -10,7 +10,7 @@ export declare const WELL_HOLE: number[];
10
10
  * The gun's battery (the user, 2026-11-08), built once: a gunmetal cell in the grip, along its own
11
11
  * forward from its foot, which stands out under the lower shell with a band of glow round it.
12
12
  */
13
- export declare const battery: (lod: number) => number[];
13
+ export declare const battery: (lod: number, bronze?: boolean) => number[];
14
14
  export declare const cells: number[][];
15
15
  /**
16
16
  * The rail gun's cell (the user, 2026-11-08: its batteries in view), built once for each of 9 steps
@@ -109,7 +109,12 @@ export interface Hud {
109
109
  */
110
110
  vitals(hp: number, ammo: number, blade?: boolean, wield?: boolean, rail?: number, railed?: boolean, loaded?: number, swapping?: boolean, rifle?: number, rifled?: boolean, nades?: number, armor?: number, fists?: boolean,
111
111
  /** The Hunter's pistol is in hand: `ammo` and `loaded` are its own. */
112
- sided?: boolean): void;
112
+ sided?: boolean,
113
+ /**
114
+ * The Hunter's other gun, out of hand: his harpoon's bolts when `sided`, else his pistol's
115
+ * shots; -1 when he has not found it.
116
+ */
117
+ other?: number): void;
113
118
  /** The health the own player's class has at most (Kit.hp): as many pips. */
114
119
  life(max: number): void;
115
120
  /** A hit marker on the crosshair for a moment: a ball or a cut of the own player hit. */
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@korial29/tiny-fps",
3
3
  "description": "Tiny multiplayer first-person rooftop game for the browser: raw WebGL, zero runtime dependencies, WebSocket or same-browser multi-tab play.",
4
4
  "license": "Apache-2.0",
5
- "version": "1.10.0",
5
+ "version": "1.10.2",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"