mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 14:24:56 +00:00
header renames and initial LogVisor integration
This commit is contained in:
3
hecl/.gitmodules
vendored
3
hecl/.gitmodules
vendored
@@ -7,3 +7,6 @@
|
||||
[submodule "extern/libSquish"]
|
||||
path = extern/libSquish
|
||||
url = https://github.com/jackoalan/libSquish.git
|
||||
[submodule "extern/LogVisor"]
|
||||
path = extern/LogVisor
|
||||
url = https://github.com/RetroView/LogVisor.git
|
||||
|
||||
@@ -3,12 +3,13 @@
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <HECLDatabase.hpp>
|
||||
#include <stdio.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "HECL/Database.hpp"
|
||||
|
||||
struct ToolPassInfo
|
||||
{
|
||||
HECL::SystemString pname;
|
||||
|
||||
@@ -10,12 +10,13 @@ clang:LIBS += -stdlib=libc++ -lc++abi
|
||||
INCLUDEPATH += ../include ../extern/Athena/include ../extern
|
||||
|
||||
LIBPATH += $$OUT_PWD/../lib \
|
||||
$$OUT_PWD/../dataspec \
|
||||
$$OUT_PWD/../blender \
|
||||
$$OUT_PWD/../extern/LogVisor \
|
||||
$$OUT_PWD/../extern/RetroCommon/NODLib/lib \
|
||||
$$OUT_PWD/../extern/blowfish \
|
||||
$$OUT_PWD/../extern/libpng
|
||||
|
||||
LIBS += -lhecl -lhecl-dataspec -lhecl-blender -lblowfish -lpng
|
||||
LIBS += -lhecl -lhecl-blender -lblowfish -lNOD -lLogVisor -lpng -lpthread
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/main.cpp
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <regex>
|
||||
#include <stdexcept>
|
||||
#include <list>
|
||||
#include <HECLDatabase.hpp>
|
||||
#include "HECL/Database.hpp"
|
||||
|
||||
#include "ToolBase.hpp"
|
||||
#include "ToolInit.hpp"
|
||||
|
||||
2
hecl/extern/Athena
vendored
2
hecl/extern/Athena
vendored
Submodule hecl/extern/Athena updated: 2b37765eff...6ac88b37f4
1
hecl/extern/LogVisor
vendored
Submodule
1
hecl/extern/LogVisor
vendored
Submodule
Submodule hecl/extern/LogVisor added at 33f2f7b279
2
hecl/extern/RetroCommon
vendored
2
hecl/extern/RetroCommon
vendored
Submodule hecl/extern/RetroCommon updated: 94d61da80d...a1c1462bfb
@@ -10,17 +10,22 @@ exists ($$PWD/llvm) {
|
||||
DEFINES += HECL_LLVM=1
|
||||
}
|
||||
|
||||
# Make LogVisor headers global
|
||||
LOGVISOR_INCLUDE = $$PWD/extern/LogVisor/include
|
||||
|
||||
HEADERS += \
|
||||
include/HECL.hpp \
|
||||
include/HECLBackend.hpp \
|
||||
include/HECLDatabase.hpp \
|
||||
include/HECLFrontend.hpp \
|
||||
include/HECLRuntime.hpp
|
||||
include/HECL/HECL.hpp \
|
||||
include/HECL/Backend.hpp \
|
||||
include/HECL/Database.hpp \
|
||||
include/HECL/Frontend.hpp \
|
||||
include/HECL/Runtime.hpp
|
||||
|
||||
SUBDIRS += \
|
||||
extern/LogVisor \
|
||||
extern/blowfish \
|
||||
extern/libpng \
|
||||
extern/libSquish \
|
||||
extern/Athena \
|
||||
extern/RetroCommon \
|
||||
blender \
|
||||
lib \
|
||||
@@ -29,6 +34,7 @@ SUBDIRS += \
|
||||
driver.depends = extern/blowfish
|
||||
driver.depends = extern/libpng
|
||||
driver.depends = extern/libSquish
|
||||
driver.depends = extern/Athena
|
||||
driver.depends = extern/RetroCommon
|
||||
driver.depends = blender
|
||||
driver.depends = lib
|
||||
|
||||
@@ -1 +1 @@
|
||||
#include "HECL.hpp"
|
||||
#include "HECL/HECL.hpp"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "HECL.hpp"
|
||||
#include "HECL/HECL.hpp"
|
||||
#include <stdexcept>
|
||||
#include <regex>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "HECL.hpp"
|
||||
#include "HECL/HECL.hpp"
|
||||
#include <locale>
|
||||
#include <codecvt>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "HECLDatabase.hpp"
|
||||
#include "HECL/Database.hpp"
|
||||
|
||||
namespace HECL
|
||||
{
|
||||
|
||||
12
hecl/lib/database/Registry.cpp
Normal file
12
hecl/lib/database/Registry.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "HECL/Database.hpp"
|
||||
|
||||
namespace HECL
|
||||
{
|
||||
namespace Database
|
||||
{
|
||||
|
||||
/* Centralized registry for DataSpec lookup */
|
||||
std::vector<const struct DataSpecEntry*> DATA_SPEC_REGISTRY;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
HEADERS +=
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/Project.cpp
|
||||
$$PWD/Project.cpp \
|
||||
$$PWD/Registry.cpp
|
||||
|
||||
@@ -15,7 +15,6 @@ include (frontend/frontend.pri)
|
||||
include (backend/backend.pri)
|
||||
include (database/database.pri)
|
||||
include (runtime/runtime.pri)
|
||||
include(../extern/Athena/AthenaCore.pri)
|
||||
|
||||
SOURCES += \
|
||||
HECL.cpp \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "HECLRuntime.hpp"
|
||||
#include "HECL/Runtime.hpp"
|
||||
|
||||
namespace HECL
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user