5 Commits

Author SHA1 Message Date
AmazingAlek
b40eaa95b0
mods are working but with limited features (#343) 2021-10-01 22:17:06 +02:00
_nebula
29ba8f3a52
Remove inputs (#342) 2021-09-26 19:40:56 +02:00
AmazingAlek
eaa346540c
Merge from master (#339) 2021-09-26 13:42:01 +02:00
AmazingAlek
8e576ab2e5
C# 9.0 (#321)
* New "SDK style" projects
* C# 9.0
* .Net Framework 4.7.2 -> 4.8
* Sexy C# 8/9 code
* Fixed OWML Nuget package
2020-12-20 11:13:11 +01:00
AmazingAlek
f7f0aa9bbf
v1: IoC, tests, new release pipeline, lots of cleanup/refactoring (#319)
* IoC (inversion of control) container - mostly NOT newing up stuff manually, using an IoC container (Unity - not the game engine) for this. Want a new dependendy for your class? Just put it into your constructor, the container handles the rest.
* Tests. Not very thorough yet, but laid the groundwork.
* Abstractions for processes, Unity Application class and GameObject creation. Needed for testing, as there's no way to run Unity code from outside of Unity, and for mocking Process calls.
* Moved all code to src folder. Tests are in tests folder.
* Moved sample mods from OWML.SampleMods to SampleMods.
* Dependencies that aren't on NuGet.org are moved to lib folders.
* Allowing old OW versions. Just outputting nicer errors instead of quitting.
* New Utils project. Contains the container, TypeExtensions (moved from Events) and JsonHelper (moved from ModHelper).
* Internal NuGet package (OW and Unity dlls for building OWML on GitHub) is moved to new private GitHub repo and has a new GitHub pipeline.
* ModHelper project creates the nuget package - no more OWML.Nuget project.
* Launcher project + pipeline creates the release zip - no more createrelease.bat.
* New GitHub pipeline for OWML - no more Azure DevOps.
* Should still be backwards compatible
2020-12-18 21:41:04 +01:00