mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-10 11:53:14 +08:00
Sprint 1 (#10)
* feat(FileMgr/BaseObj): Added implicit path conversion Closes #9 * feat(Game/GTA): implemented script globals Closes #2 * fix(ScriptGlobal): code style * feat(Game/GTA): implement script locals Closes #3 * refactor: update namespace name Closes #8
This commit is contained in:
+3
-3
@@ -7,14 +7,14 @@
|
||||
#include "game/pointers/Pointers.hpp"
|
||||
|
||||
|
||||
namespace NewBase
|
||||
namespace YimMenu
|
||||
{
|
||||
DWORD Main(void*)
|
||||
{
|
||||
const auto documents = std::filesystem::path(std::getenv("USERPROFILE")) / "Documents";
|
||||
FileMgr::Init(documents / "HellBase");
|
||||
|
||||
LogHelper::Init("henlo", FileMgr::GetProjectFile("./cout.log").Path());
|
||||
LogHelper::Init("henlo", FileMgr::GetProjectFile("./cout.log"));
|
||||
|
||||
if (!ModuleMgr.LoadModules())
|
||||
goto unload;
|
||||
@@ -44,7 +44,7 @@ namespace NewBase
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE dllInstance, DWORD reason, void*)
|
||||
{
|
||||
using namespace NewBase;
|
||||
using namespace YimMenu;
|
||||
|
||||
DisableThreadLibraryCalls(dllInstance);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user