This commit is contained in:
Diavolo 2022-04-06 21:37:28 +02:00
parent 3982dfe5cc
commit 57513c61d9
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5
8 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
#include <StdInclude.hpp>
#include <STDInclude.hpp>
#define IW4X_COMMAP_VERSION 0

View File

@ -1,4 +1,4 @@
#include <StdInclude.hpp>
#include <STDInclude.hpp>
#define IW4X_FX_VERSION 1

View File

@ -1,4 +1,4 @@
#include <StdInclude.hpp>
#include <STDInclude.hpp>
namespace Assets
{

View File

@ -1,4 +1,4 @@
#include <StdInclude.hpp>
#include <STDInclude.hpp>
namespace Assets
{

View File

@ -1,4 +1,4 @@
#include <StdInclude.hpp>
#include <STDInclude.hpp>
namespace Assets
{

View File

@ -1,4 +1,4 @@
#include <StdInclude.hpp>
#include <STDInclude.hpp>
#define IW4X_IMG_VERSION "0"

View File

@ -1,4 +1,4 @@
#include <StdInclude.hpp>
#include <STDInclude.hpp>
#define IW4X_CLIPMAP_VERSION 2

View File

@ -10,13 +10,13 @@ namespace Utils
static Library GetByAddress(void* address);
Library() : _module(nullptr), freeOnDestroy(false) {};
Library(const std::string& buffer, bool freeOnDestroy);
explicit Library(const std::string& name);
explicit Library(const std::string& name, bool freeOnDestroy);
explicit Library(const std::string& name) : _module(GetModuleHandleA(name.data())), freeOnDestroy(true) {};
explicit Library(HMODULE handle);
~Library();
bool isValid() const;
HMODULE getModule();
HMODULE getModule() const;
template <typename T>
T getProc(const std::string& process) const