@korial29/tiny-fps 0.122.0 → 0.123.0

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.
@@ -58,8 +58,7 @@ export declare const rockOf: (s: number, R: number, H: number) => {
58
58
  /** A pit: PIT_R in radius, cut in a square of half side PIT_S of its crater's terrace, its floor at PIT_FLOOR, 7 m over the kill floor; a flight of PIT_STEPS steps up its east wall. */
59
59
  export declare const PIT_R: number, PIT_S: number, PIT_FLOOR: number, PIT_STEPS: number;
60
60
  export declare const LAYOUT: {
61
- /** Outside the arena: the boulders (x, z, radius), the dishes, the ramps (the middle of the lip and the unit way up it), the wreck. */
62
- rocks: number[][];
61
+ /** Outside the arena: the dishes, the ramps (the middle of the lip and the unit way up it), the wreck. */
63
62
  dishes: number[][];
64
63
  ramps: number[][];
65
64
  wreck: number[];
@@ -70,28 +69,18 @@ export declare const LAYOUT: {
70
69
  level: number;
71
70
  rows: number[][];
72
71
  }[];
73
- /** Red's boulders along its walls and the field's stones; blue's are their mirrors, drawn by the scenery's flip. */
74
72
  /** The craters of the relief, both sides: x, z, radius, depth as a share of it. */
75
73
  bowls: number[][];
76
- boulders: number[][];
77
- /** Red's rocks, in the arena and in the boulder field: blue's are their mirrors. */
74
+ /** Red's boulders, in the field and outside: blue's are their mirrors. */
78
75
  crags: {
79
- arena: {
80
- at: number[];
81
- R: number;
82
- H: number;
83
- s: number;
84
- parts: number[][];
85
- }[];
86
- field: {
87
- at: number[];
88
- R: number;
89
- H: number;
90
- s: number;
91
- parts: number[][];
92
- }[];
93
- };
94
- stones: number[][];
76
+ at: number[];
77
+ R: number;
78
+ H: number;
79
+ s: number;
80
+ parts: number[][];
81
+ }[];
82
+ /** Where the boulders stood, red's side (x, z, radius): pebbles lie thickest there. */
83
+ sites: number[][];
95
84
  pillars: number[][];
96
85
  domes: number[][];
97
86
  pads: number[][];
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": "0.122.0",
5
+ "version": "0.123.0",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"