Skip to content

Commit

Permalink
Updated release notes and version number
Browse files Browse the repository at this point in the history
  • Loading branch information
ikkentim committed Jan 20, 2020
1 parent 8013247 commit 842b771
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 31 deletions.
11 changes: 11 additions & 0 deletions CHANGES-SampSharp.Core.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
### 0.9.0
- Added `IGameModeClient.RegisterCallback` overloads which allows the arguments of the callback to be provided as an `object[]` to the specified method
- Added option to specify the index at which the identifier arguments are located within natives of native objects
- Added notice to multi-process run mode: "for development purposes only", use hosted hosted mode for production environments
- Added callback name to the `IGameModeClient.UnhandledException` event
- Added unhandled exception handling in hosted mode
- Added unhandled exception handling in multi-process mode for ticks and synchronisations
- Updated minimum .NET Standard version to 2.0
- Improved shutdown behaviour of multi-process run mode
- Removed `GameModeBuilder.BuildWith`

### 0.8.0
- Initial version

Expand Down
25 changes: 23 additions & 2 deletions CHANGES-SampSharp.GameMode.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
### 0.9.0
- Added `Vector3.XY` which returns a `Vector2` with the x and y components (#299/#300)
- Added `Color.Brightness` property (#309)
- Added `Color.AddGrammaCorrection`, `Color.RemoveGammaCorrection`, `Color.Grayscale` methods (#309)
- Added `blendAlpha` option to `Color.Lerp`, `Color.Darken` and `Color.Lighten` (#305/#310)
- Added `Timer.Run` and `Timer.RunOnce` overloads with an `int` or `double` internal in miliseconds. (#315)
- Added `BasePlayer.PickUpPickup` event (#319)
- Added `BasePlayer.CameraTargetPlayerObject` (#320)
- Added `BasePlayer.SurfingPlayerObject` (#324)
- Updated `VehicleModelInfo` to include seat count and a missing entry for ID 611, Utility Trailer (#302)
- Updated minimum .NET Standard version to 2.0
- *breaking* Changed `BasePlayer.CameraTargetObject` to `BasePlayer.CameraTargetGlobalObject` (#320)
- *breaking* Changed `BasePlayer.SurfingObject` to `BasePlayer.SurfingGlobalObject` (#324)
- *breaking* Changed `BaseMode.PlayerPickUp` event to have event arguments of type `PickUpPickupEventArgs` and changed the sender of event from the pickup to the player (#319)
- *breaking* Changed `Pickup.PickUp` event to have event arguments of type `PickUpPickupEventArgs` (#319)
- Fixed `Quaternion` coordinate system not matching SA-MP coordinate system
- Fixed `Edited` and `Selected` on `GlobalObject` and `PlayerObject` not being fired (#303/#306)
- Fixed `Color.FromInteger` with `ColorFormat.RGB` returning a value with 0 alpha
- Fixed conversion from `Color` to `Vector3` not returning decimal values
- *breaking* Removed `ObjectModel` enum because it was too big and might not be complete

### 0.8.0
- Initial .NET Core version
- Added `Weapon.Suicide` definition
Expand All @@ -7,7 +28,7 @@
- Added `VehicleColor` enum and `Color.FromVehicleColor` (#270)
- Added support for `BaseVehicle` or derived types in command parameters (#276)
- Added `MapIcon` enum (#206/#288)
- Added `ObjectModel` enum and `PickupType enum (#291)
- Added `ObjectModel` enum and `PickupType` enum (#291)
- Changed Dialog.ShowAsync to throw `PlayerDisconnectedException` instead of `TaskCancelledException`
- Fixed `Dialog.Hide` not working (#212)
- Fixed `BaseVehicle.CreateStatic(VehicleModelType, Vector3, float, int, int)` overload not creating static vehicle
Expand All @@ -17,7 +38,7 @@
- Added `VehicleColor` enum and `Color.FromVehicleColor` (#270)
- Added support for `BaseVehicle` or derived types in command parameters (#276)
- Added `MapIcon` enum (#206/#288)
- Added `ObjectModel` enum and `PickupType enum (#291)
- Added `ObjectModel` enum and `PickupType` enum (#291)
- Fixed `OnPlayerEnterCheckpoint` callback not being processed

### 0.8.0-alpha8
Expand Down
5 changes: 5 additions & 0 deletions CHANGES-plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### 0.9.0
- Updated sampgdk to 4.6.2
- Changed maximum native arguments to 64
- Fixed server in multi-process run mode freezing when calling native which calls a callback which calls a native
- Fixed intermission script getting stuck between runs
1 change: 1 addition & 0 deletions SampSharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{6B10DCD1
build.cake = build.cake
build.ps1 = build.ps1
build.sh = build.sh
CHANGES-plugin.md = CHANGES-plugin.md
CHANGES-SampSharp.Core.md = CHANGES-SampSharp.Core.md
CHANGES-SampSharp.Entities.md = CHANGES-SampSharp.Entities.md
CHANGES-SampSharp.GameMode.md = CHANGES-SampSharp.GameMode.md
Expand Down
2 changes: 1 addition & 1 deletion src/SampSharp.Core/CoreVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ internal static class CoreVersion
/// <summary>
/// Gets the version of the SampSharp.Core package.
/// </summary>
public static Version Version { get; } = new Version(0, 8, 0);
public static Version Version { get; } = new Version(0, 9, 0);

/// <summary>
/// Gets the version of the communication protocol used to communicate with the SampSharp server.
Expand Down
27 changes: 1 addition & 26 deletions src/SampSharp.GameMode/Vector3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,32 +121,7 @@ public Vector3(double xyz)
/// <summary>
/// Creates a <see cref="Vector2" /> instance with the X and Y components of this <see cref="Vector3" />.
/// </summary>
public Vector2 XY { get { return new Vector2(X, Y); } }

/// <summary>
/// Creates a <see cref="Vector2" /> instance with the Y and X components of this <see cref="Vector3" />.
/// </summary>
public Vector2 YX { get { return new Vector2(Y, X); } }

/// <summary>
/// Creates a <see cref="Vector2" /> instance with the X and Z components of this <see cref="Vector3" />.
/// </summary>
public Vector2 XZ { get { return new Vector2(X, Z); } }

/// <summary>
/// Creates a <see cref="Vector2" /> instance with the Z and X components of this <see cref="Vector3" />.
/// </summary>
public Vector2 ZX { get { return new Vector2(Z, X); } }

/// <summary>
/// Creates a <see cref="Vector2" /> instance with the Y and Z components of this <see cref="Vector3" />.
/// </summary>
public Vector2 YZ { get { return new Vector2(Y, Z); } }

/// <summary>
/// Creates a <see cref="Vector2" /> instance with the Z and Y components of this <see cref="Vector3" />.
/// </summary>
public Vector2 ZY { get { return new Vector2(Z, Y); } }
public Vector2 XY => new Vector2(X, Y);

/// <summary>
/// Returns an empty <see cref="Vector3" />.
Expand Down
4 changes: 2 additions & 2 deletions src/SampSharp/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
#pragma once

#define PLUGIN_VERSION_MAJOR 0
#define PLUGIN_VERSION_MINOR 8
#define PLUGIN_VERSION_PATCH 1
#define PLUGIN_VERSION_MINOR 9
#define PLUGIN_VERSION_PATCH 0
#define PLUGIN_VERSION_ALPHA 0
#define PLUGIN_PROTOCOL_VERSION 5

Expand Down

0 comments on commit 842b771

Please sign in to comment.