Fork liamwhan

Merged
#3 · Created  · Last updated

Merged pull request

Merged in liamwhan/rlnet/fork-liamwhan (pull request #3)

ed8b92d·Author: ·Closed by: ·2016-11-25

Description

Reason for PR

OpenTK version 1.1.1589.5942 is causing a System.AccessViolationException on my machine.

This seems to be related to the older version of OpenGL required by OpenTK 1.1.1589

Upgrading to OpenTK version 1.1.2349.61993 fixes the issue but both the newer versions of OpenTK and OpenGL have made breaking changes to their respective APIs.

The few changes below update the RLNET API to be compatible with the API changes.

Changelog

RLKeyPress.cs

  • Remove unecessary using directives

  • Add an Object.Equals() override to stop the VS compiler complaining

RLKeyboard.cs

  • Remove unecesarry usings

  • update to support API changes to the OpenTK.Input.KeyboardEv entArgs object.

  • Update gameWindow_KeyDown handler to work with changes to OpenTK.Input.KeyboardKeyEventArgs

New File packages.xsd

  • Add XML schema to stop VS compiler complaining about packages.config

packages.config

  • Update OpenTK version to 1.1.2349.61993

  • Add XML namespace pointing to packages.xsd

RLMouse.cs

  • Update RLMouse class for OpenTK 1.1.2349.61993 compatitibilty (Use window.Mouse.[Event] instead of window.MouseEvent)

RLNET.csproj

  • MSVS autogenerated

RLRootConsole.cs

  • Remove unecessary using directives

  • Change PrimitiveType enum to BeginMode enum (OpenGL change)

0 attachments

0 comments

Loading commits...