diff --git a/KAOS/KAOS.csproj b/KAOS/KAOS.csproj index 7a8a2d9..666836d 100644 --- a/KAOS/KAOS.csproj +++ b/KAOS/KAOS.csproj @@ -1,273 +1,81 @@ - - - - - Debug - AnyCPU - {43E7C301-7345-49D7-B8E8-F02B097F599F} - Library - Properties - KAOS - KAOS - v4.5 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - - - - False - ..\Dependencies\AssimpNet\Net45-Debug\AssimpNet.dll - - - ..\Dependencies\MataliPhysicsBasic\MataliPhysicsOpenTK\Mono\MataliPhysics\AnyCPU\MataliPhysics.dll - - - ..\Dependencies\MataliPhysicsBasic\MataliPhysicsOpenTK\Mono\MataliPhysics\AnyCPU\MataliRender.dll - - - ..\packages\NUnit.2.6.3\lib\nunit.framework.dll - - - ..\packages\OpenTK.1.1.1508.5724\lib\NET40\OpenTK.dll - - - - - - - - - - - - - - - - - - - - - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - - Always - - - - Always - - - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - - Always - - - Always - - - Always - - - - - - - - - - - - - - - - - \ No newline at end of file + + + net8.0-windows + true + enable + disable + KAOS + KAOS + false + false + AnyCPU + + + + + + + + + + + + ..\Dependencies\MataliPhysicsBasic\MataliPhysicsOpenTK\Mono\MataliPhysics\AnyCPU\MataliPhysics.dll + + + ..\Dependencies\MataliPhysicsBasic\MataliPhysicsOpenTK\Mono\MataliPhysics\AnyCPU\MataliRender.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/KAOS/OpenTK4-MIGRATION.md b/KAOS/OpenTK4-MIGRATION.md new file mode 100644 index 0000000..f1cd011 --- /dev/null +++ b/KAOS/OpenTK4-MIGRATION.md @@ -0,0 +1,27 @@ +# OpenTK 4 Migration Notes + +This repository has been moved off the legacy OpenTK 1.x package and onto OpenTK 4 package references at the project level. + +## What changed + +- `KAOS.csproj` was upgraded from a legacy .NET Framework-style MSBuild project to SDK-style. +- Target framework was modernized to `net8.0-windows` to support current runtime/tooling. +- OpenTK package references were upgraded to: + - `OpenTK` 4.8.2 + - `OpenTK.GLControl` 4.8.2 +- Legacy `packages.config` style dependencies were replaced with `PackageReference`. +- NUnit and AssimpNet dependencies were upgraded to maintained package versions. + +## Next migration steps + +The runtime code currently uses legacy OpenTK namespaces and APIs (e.g. `OpenTK.Input`, `OpenTK.GameWindow` constructor signatures, and old event args). To fully complete OpenTK 4 migration, update in this order: + +1. `KAOSEngine` inheritance and constructors to `OpenTK.Windowing.Desktop.GameWindow` with `GameWindowSettings`/`NativeWindowSettings`. +2. Input manager and keyboard/mouse usage to `OpenTK.Windowing.GraphicsLibraryFramework.Keys` and new input event model. +3. Math types to `OpenTK.Mathematics` where needed. +4. GL compatibility calls (fixed-function matrix stack) to modern shader-uniform matrix flow where required. +5. Any Editor/Game projects that directly reference old OpenTK APIs. + +## Scope choice + +This commit prioritizes project-system modernization first to make the source tree OpenTK 4-capable for iterative code migration.