Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
untoldwind committed Apr 4, 2024
1 parent 3907c32 commit 55c39d6
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 48 deletions.
4 changes: 2 additions & 2 deletions SpaceWarpMod/KontrolSystemMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@

namespace KontrolSystem.SpaceWarpMod;

[BepInPlugin("com.github.untoldwind.KontrolSystem2", "KontrolSystem2", "0.5.7.8")]
[BepInPlugin("com.github.untoldwind.KontrolSystem2", "KontrolSystem2", "0.5.7.9")]
[BepInDependency(SpaceWarpPlugin.ModGuid, SpaceWarpPlugin.ModVer)]
[BepInDependency(KSPAddonsModule.FlightPlanAdapter.ModGuid, BepInDependency.DependencyFlags.SoftDependency)]
public class KontrolSystemMod : BaseSpaceWarpPlugin {
public const string ModGuid = "com.github.untoldwind.KontrolSystem2";
public const string ModName = "KontrolSystem2";
public const string ModVersion = "0.5.7.8";
public const string ModVersion = "0.5.7.9";

private ModuleManagerWindow? moduleManagerWindow;
private UIWindows? uiWindows;
Expand Down
48 changes: 28 additions & 20 deletions SpaceWarpMod/reference.json
Original file line number Diff line number Diff line change
Expand Up @@ -8024,6 +8024,15 @@
"name": "Mainframe",
"description": "",
"fields": {
"version": {
"name": "version",
"description": "Version number of the KontrolSystem\n",
"readOnly": true,
"type": {
"kind": "Builtin",
"name": "string"
}
},
"available_processes": {
"name": "available_processes",
"readOnly": true,
Expand Down Expand Up @@ -9325,6 +9334,25 @@
"name": "float"
}
},
"axis": {
"name": "axis",
"description": "The rotation axis",
"readOnly": true,
"type": {
"kind": "Standard",
"module": "ksp::math",
"name": "Vec3"
}
},
"angle": {
"name": "angle",
"description": "The rotation angle around the axis in degrees",
"readOnly": true,
"type": {
"kind": "Builtin",
"name": "float"
}
},
"inverse": {
"name": "inverse",
"description": "Inverse direction",
Expand Down Expand Up @@ -52779,16 +52807,6 @@
"name": "float"
}
},
"global_angular_momentum": {
"name": "global_angular_momentum",
"description": "Get the coordinate system independent angular momentum of the vessel.\n",
"readOnly": true,
"type": {
"kind": "Standard",
"module": "ksp::math",
"name": "GlobalAngularVelocity"
}
},
"global_angular_velocity": {
"name": "global_angular_velocity",
"description": "Get the coordinate system independent angular velocity of the vessel.\n",
Expand Down Expand Up @@ -52819,16 +52837,6 @@
"name": "Vec3"
}
},
"angular_momentum": {
"name": "angular_momentum",
"description": "Get the angular momentum of the vessel in the celestial frame of its main body.\n",
"readOnly": true,
"type": {
"kind": "Standard",
"module": "ksp::math",
"name": "Vec3"
}
},
"angular_velocity": {
"name": "angular_velocity",
"description": "Get the coordinate angular velocity in the celestial frame of its main body.\n",
Expand Down
2 changes: 1 addition & 1 deletion SpaceWarpMod/swinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Kontrol System",
"description": "Autopilot scripting framework",
"source": "https://github.com/untoldwind/KontrolSystem2",
"version": "0.5.7.8",
"version": "0.5.7.9",
"dependencies": [],
"ksp2_version": {
"min": "0",
Expand Down
48 changes: 28 additions & 20 deletions Tools/vscode/to2-syntax/server/src/reference/reference.json
Original file line number Diff line number Diff line change
Expand Up @@ -8024,6 +8024,15 @@
"name": "Mainframe",
"description": "",
"fields": {
"version": {
"name": "version",
"description": "Version number of the KontrolSystem\n",
"readOnly": true,
"type": {
"kind": "Builtin",
"name": "string"
}
},
"available_processes": {
"name": "available_processes",
"readOnly": true,
Expand Down Expand Up @@ -9325,6 +9334,25 @@
"name": "float"
}
},
"axis": {
"name": "axis",
"description": "The rotation axis",
"readOnly": true,
"type": {
"kind": "Standard",
"module": "ksp::math",
"name": "Vec3"
}
},
"angle": {
"name": "angle",
"description": "The rotation angle around the axis in degrees",
"readOnly": true,
"type": {
"kind": "Builtin",
"name": "float"
}
},
"inverse": {
"name": "inverse",
"description": "Inverse direction",
Expand Down Expand Up @@ -52779,16 +52807,6 @@
"name": "float"
}
},
"global_angular_momentum": {
"name": "global_angular_momentum",
"description": "Get the coordinate system independent angular momentum of the vessel.\n",
"readOnly": true,
"type": {
"kind": "Standard",
"module": "ksp::math",
"name": "GlobalAngularVelocity"
}
},
"global_angular_velocity": {
"name": "global_angular_velocity",
"description": "Get the coordinate system independent angular velocity of the vessel.\n",
Expand Down Expand Up @@ -52819,16 +52837,6 @@
"name": "Vec3"
}
},
"angular_momentum": {
"name": "angular_momentum",
"description": "Get the angular momentum of the vessel in the celestial frame of its main body.\n",
"readOnly": true,
"type": {
"kind": "Standard",
"module": "ksp::math",
"name": "Vec3"
}
},
"angular_velocity": {
"name": "angular_velocity",
"description": "Get the coordinate angular velocity in the celestial frame of its main body.\n",
Expand Down
7 changes: 4 additions & 3 deletions docs/reference/ksp/game.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ Collection to game and runtime related functions.

#### Fields

| Name | Type | Read-only | Description |
| ------------------- | ------------------------------------------------------ | --------- | ----------- |
| available_processes | [ksp::game::Process](/reference/ksp/game.md#process)[] | R/O | |
| Name | Type | Read-only | Description |
| ------------------- | ------------------------------------------------------ | --------- | ------------------------------------ |
| available_processes | [ksp::game::Process](/reference/ksp/game.md#process)[] | R/O | |
| version | string | R/O | Version number of the KontrolSystem |


#### Methods
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/ksp/math.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Represents the rotation from an initial coordinate system when looking down the

| Name | Type | Read-only | Description |
| ------------ | -------------------------------------------------------- | --------- | ---------------------------------------------------------- |
| angle | float | R/O | The rotation angle around the axis in degrees |
| axis | [ksp::math::Vec3](/reference/ksp/math.md#vec3) | R/O | The rotation axis |
| euler | [ksp::math::Vec3](/reference/ksp/math.md#vec3) | R/W | Euler angles in degree of the rotation |
| inverse | [ksp::math::Direction](/reference/ksp/math.md#direction) | R/O | Inverse direction |
| pitch | float | R/O | Pitch in degree |
Expand Down
2 changes: 0 additions & 2 deletions docs/reference/ksp/vessel.md
Original file line number Diff line number Diff line change
Expand Up @@ -1746,7 +1746,6 @@ Represents an in-game vessel, which might be a rocket, plane, rover ... or actua
| altitude_scenery | float | R/O | |
| altitude_sealevel | float | R/O | Altitude from sea level. |
| altitude_terrain | float | R/O | Altitude from terrain. |
| angular_momentum | [ksp::math::Vec3](/reference/ksp/math.md#vec3) | R/O | Get the angular momentum of the vessel in the celestial frame of its main body. |
| angular_velocity | [ksp::math::Vec3](/reference/ksp/math.md#vec3) | R/O | Get the coordinate angular velocity in the celestial frame of its main body. |
| atmosphere_density | float | R/O | |
| autopilot | [ksp::vessel::Autopilot](/reference/ksp/vessel.md#autopilot) | R/O | Collection of methods to interact with the SAS system of the vessel. |
Expand All @@ -1766,7 +1765,6 @@ Represents an in-game vessel, which might be a rocket, plane, rover ... or actua
| engines | [ksp::vessel::ModuleEngine](/reference/ksp/vessel.md#moduleengine)[] | R/O | Get a list of all engine parts of the vessel. |
| facing | [ksp::math::Direction](/reference/ksp/math.md#direction) | R/O | Get the current facing direction of the vessel in the celestial frame of its main body. |
| geo_coordinates | [ksp::orbit::GeoCoordinates](/reference/ksp/orbit.md#geocoordinates) | R/O | Get the current geo-coordinate of the vessel. |
| global_angular_momentum | [ksp::math::GlobalAngularVelocity](/reference/ksp/math.md#globalangularvelocity) | R/O | Get the coordinate system independent angular momentum of the vessel. |
| global_angular_velocity | [ksp::math::GlobalAngularVelocity](/reference/ksp/math.md#globalangularvelocity) | R/O | Get the coordinate system independent angular velocity of the vessel. |
| global_center_of_mass | [ksp::math::GlobalPosition](/reference/ksp/math.md#globalposition) | R/O | Coordinate independent position of the center of mass. |
| global_east | [ksp::math::GlobalVector](/reference/ksp/math.md#globalvector) | R/O | Get the coordinate system independent horizon north vector. |
Expand Down

0 comments on commit 55c39d6

Please sign in to comment.