mirror of
https://github.com/Jacobwasbeast/LegacyWeaveLoader.git
synced 2026-06-18 10:41:54 +00:00
Add main menu overlay, creative inventory injection, mod discovery, logging, and Wine/Proton support
- Replace dbghelp with raw_pdb library for cross-platform PDB symbol resolution - Add main menu branding overlay via C4JRender::Present hook - Add creative inventory item injection from mods - Add file-based logging (LogUtil) alongside console output - Fix mod discovery with custom AssemblyLoadContext for proper type identity - Add file dialog for game path selection in launcher - Add CreativeTab enum and block/item creative tab assignment - Unify build output to single ModLoader/build directory
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#include "DotNetHost.h"
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <Windows.h>
|
||||
#include <nethost.h>
|
||||
#include <hostfxr.h>
|
||||
@@ -162,10 +161,11 @@ void DotNetHost::CallManagedInit()
|
||||
fn_Initialize(nullptr, 0);
|
||||
}
|
||||
|
||||
void DotNetHost::CallDiscoverMods(const char* modsPath)
|
||||
int DotNetHost::CallDiscoverMods(const char* modsPath)
|
||||
{
|
||||
if (fn_DiscoverMods)
|
||||
fn_DiscoverMods(const_cast<char*>(modsPath), static_cast<int>(strlen(modsPath)));
|
||||
return fn_DiscoverMods(const_cast<char*>(modsPath), static_cast<int>(strlen(modsPath)));
|
||||
return 0;
|
||||
}
|
||||
|
||||
void DotNetHost::CallPreInit()
|
||||
|
||||
Reference in New Issue
Block a user