Windows support

This commit is contained in:
Gabrieal Jimmy
2026-10-02 16:04:30 -05:00
parent 34fa21139f
commit d31689cf86
14 changed files with 242 additions and 57 deletions

View File

@@ -8,6 +8,7 @@
#include "Appearance.h"
#include "Movement.h"
#include "Net.h"
#include "Paths.h"
#include "Protocol.h"
#include "Rng.h"
#include "Zone.h"
@@ -621,7 +622,7 @@ int Bot::run() {
}
rng_.reseed(hash32(token.c_str()));
std::string err;
if (!manifest_.load(std::string(BS_ASSET_DIR) + "/characters/manifest.json", &err)) {
if (!manifest_.load(gameAssetDir() + "/characters/manifest.json", &err)) {
std::fprintf(stderr, "manifest: %s\n", err.c_str());
return 1;
}