Formatted EVERYTHING

This commit is contained in:
Dynamitos committed 2024-06-09 12:20:53 +02:00
1 parent f18bf8acbe
commit d95dab850c
265 files changed
+8002 -12310

No files matched your search

+5 -17
View File
@@ -2,26 +2,14 @@
using namespace Seele;
GameInterface::GameInterface(std::string soPath)
: lib(NULL)
, soPath(soPath)
{
}
GameInterface::GameInterface(std::string soPath) : lib(NULL), soPath(soPath) {}
GameInterface::~GameInterface()
{
}
GameInterface::~GameInterface() {}
Game* GameInterface::getGame()
{
return game;
}
Game* GameInterface::getGame() { return game; }
void GameInterface::reload()
{
if(lib != NULL)
{
void GameInterface::reload() {
if (lib != NULL) {
destroyInstance(game);
dlclose(lib);
}
+5 -6
View File
@@ -2,16 +2,15 @@
#include "Game.h"
#include "dlfcn.h"
namespace Seele
{
class GameInterface
{
public:
namespace Seele {
class GameInterface {
public:
GameInterface(std::string soPath);
~GameInterface();
Game* getGame();
void reload();
private:
private:
void* lib;
std::string soPath;
Game* game;
+5 -17
View File
@@ -2,26 +2,14 @@
using namespace Seele;
GameInterface::GameInterface(std::string soPath)
: lib(NULL)
, soPath(soPath)
{
}
GameInterface::GameInterface(std::string soPath) : lib(NULL), soPath(soPath) {}
GameInterface::~GameInterface()
{
}
GameInterface::~GameInterface() {}
Game* GameInterface::getGame()
{
return game;
}
Game* GameInterface::getGame() { return game; }
void GameInterface::reload()
{
if(lib != NULL)
{
void GameInterface::reload() {
if (lib != NULL) {
destroyInstance(game);
dlclose(lib);
}
+5 -6
View File
@@ -2,16 +2,15 @@
#include "Game.h"
#include "dlfcn.h"
namespace Seele
{
class GameInterface
{
public:
namespace Seele {
class GameInterface {
public:
GameInterface(std::string soPath);
~GameInterface();
Game* getGame();
void reload();
private:
private:
void* lib;
std::string soPath;
Game* game;
+5 -16
View File
@@ -2,25 +2,14 @@
using namespace Seele;
GameInterface::GameInterface(std::string dllPath)
: dllPath(dllPath)
{
}
GameInterface::GameInterface(std::string dllPath) : dllPath(dllPath) {}
GameInterface::~GameInterface()
{
}
GameInterface::~GameInterface() {}
Game* GameInterface::getGame()
{
return game;
}
Game* GameInterface::getGame() { return game; }
void GameInterface::reload()
{
if(lib != NULL)
{
void GameInterface::reload() {
if (lib != NULL) {
destroyInstance(game);
FreeLibrary(lib);
}
+5 -6
View File
@@ -2,16 +2,15 @@
#include "Game.h"
#include "Windows.h"
namespace Seele
{
class GameInterface
{
public:
namespace Seele {
class GameInterface {
public:
GameInterface(std::string dllPath);
~GameInterface();
Game* getGame();
void reload();
private:
private:
HMODULE lib = NULL;
std::string dllPath;
Game* game;