@scm-js/plugin-api 1.66.0 → 1.67.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.
Files changed (2) hide show
  1. package/index.d.ts +10 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -954,6 +954,16 @@ export interface UnitsDat {
954
954
  export interface FlingyDat {
955
955
  /** sprites.dat index. */
956
956
  sprite: Uint16Array;
957
+ /** The fastest the flingy moves, in 1/256 pixel a frame (a Zergling's 1408 is 5.5 pixels a frame). */
958
+ topSpeed: Uint32Array;
959
+ /** How quickly it reaches that speed, in the same units a frame. */
960
+ acceleration: Uint16Array;
961
+ /** How far before its goal it starts to slow down, in 1/256 pixel. */
962
+ haltDistance: Uint32Array;
963
+ /** How sharply it turns. */
964
+ turnRadius: Uint8Array;
965
+ /** 0 flingy.dat's own figures, 1 partially mobile or weapon, 2 iscript.bin's (a unit whose walk is animated). */
966
+ moveControl: Uint8Array;
957
967
  }
958
968
  export interface SpritesDat {
959
969
  /** images.dat index. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scm-js/plugin-api",
3
- "version": "1.66.0",
3
+ "version": "1.67.0",
4
4
  "description": "Type declarations for the scmJS plugin API",
5
5
  "license": "MIT",
6
6
  "types": "index.d.ts",