added json header and fixed static linking

This commit is contained in:
Anonymous275
2022-01-16 21:00:57 +02:00
parent 870c4d5a91
commit e0971450fe
9 changed files with 45 additions and 28 deletions

10
include/Json.h Normal file
View File

@@ -0,0 +1,10 @@
///
/// Created by Anonymous275 on 1/16/22
/// Copyright (c) 2021-present Anonymous275 read the LICENSE file for more info.
///
#pragma once
#include <rapidjson/stringbuffer.h>
#include <rapidjson/document.h>
#include <rapidjson/writer.h>
namespace Json = rapidjson;

View File

@@ -9,12 +9,12 @@
class Launcher {
public:
Launcher(int argc, char* argv[]);
const std::string& getFullVersion(){return FullVersion;}
const std::string& getWorkingDir(){return DirPath;}
const std::string& getVersion(){return Version;}
const std::string& getFullVersion(){return FullVersion;}
void launchGame();
private:
void WindowsInit();
private:
std::string DirPath;
std::string Version{"3.0"};

View File

@@ -4,6 +4,7 @@
///
#pragma once
#define ELPP_NO_DEFAULT_LOG_FILE
#include "easylogging++.h"
class Log {