mirror of https://github.com/AxioDL/metaforce.git
updated submodules
This commit is contained in:
parent
b6216b049c
commit
2f340bb939
|
@ -5,5 +5,6 @@ add_subdirectory(extern)
|
||||||
include_directories(include ${LOG_VISOR_INCLUDE_DIR} ${ATHENA_INCLUDE_DIR})
|
include_directories(include ${LOG_VISOR_INCLUDE_DIR} ${ATHENA_INCLUDE_DIR})
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||||
add_subdirectory(lib)
|
add_subdirectory(lib)
|
||||||
|
add_subdirectory(blender)
|
||||||
add_subdirectory(driver)
|
add_subdirectory(driver)
|
||||||
install(DIRECTORY include/HECL DESTINATION include/HECL)
|
install(DIRECTORY include/HECL DESTINATION include/HECL)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#include <system_error>
|
#include <system_error>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "CBlenderConnection.hpp"
|
#include "BlenderConnection.hpp"
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#define DEFAULT_BLENDER_BIN "/Applications/Blender.app/Contents/MacOS/blender"
|
#define DEFAULT_BLENDER_BIN "/Applications/Blender.app/Contents/MacOS/blender"
|
|
@ -0,0 +1,3 @@
|
||||||
|
add_library(HECLBlender
|
||||||
|
BlenderConnection.cpp
|
||||||
|
BlenderConnection.hpp)
|
|
@ -10,6 +10,12 @@ public:
|
||||||
ToolExtract(const ToolPassInfo& info)
|
ToolExtract(const ToolPassInfo& info)
|
||||||
: ToolBase(info)
|
: ToolBase(info)
|
||||||
{
|
{
|
||||||
|
if (!info.project)
|
||||||
|
LogModule.report(LogVisor::FatalError, "hecl extract must be ran within a project directory");
|
||||||
|
for (const HECL::Database::DataSpecEntry* entry : HECL::Database::DATA_SPEC_REGISTRY)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Help(HelpOutput& help)
|
static void Help(HelpOutput& help)
|
||||||
|
@ -21,13 +27,13 @@ public:
|
||||||
|
|
||||||
help.secHead(_S("SYNOPSIS"));
|
help.secHead(_S("SYNOPSIS"));
|
||||||
help.beginWrap();
|
help.beginWrap();
|
||||||
help.wrap(_S("hecl extract <packagefile>[/<subnode>...]\n"));
|
help.wrap(_S("hecl extract <packagefile> [<subnode>...]\n"));
|
||||||
help.endWrap();
|
help.endWrap();
|
||||||
|
|
||||||
help.secHead(_S("DESCRIPTION"));
|
help.secHead(_S("DESCRIPTION"));
|
||||||
help.beginWrap();
|
help.beginWrap();
|
||||||
help.wrap(_S("This command recursively extracts all or part of a dataspec-supported "
|
help.wrap(_S("This command recursively extracts all or part of a dataspec-supported "
|
||||||
"package format.\n\n"));
|
"package format. Each object is decoded to a working format and added to the project.\n\n"));
|
||||||
help.endWrap();
|
help.endWrap();
|
||||||
|
|
||||||
help.secHead(_S("OPTIONS"));
|
help.secHead(_S("OPTIONS"));
|
||||||
|
|
|
@ -10,6 +10,8 @@ public:
|
||||||
ToolGroup(const ToolPassInfo& info)
|
ToolGroup(const ToolPassInfo& info)
|
||||||
: ToolBase(info)
|
: ToolBase(info)
|
||||||
{
|
{
|
||||||
|
if (!info.project)
|
||||||
|
LogModule.report(LogVisor::FatalError, "hecl group must be ran within a project directory");
|
||||||
}
|
}
|
||||||
|
|
||||||
~ToolGroup()
|
~ToolGroup()
|
||||||
|
|
|
@ -12,6 +12,8 @@ public:
|
||||||
ToolPackage(const ToolPassInfo& info)
|
ToolPackage(const ToolPassInfo& info)
|
||||||
: ToolBase(info)
|
: ToolBase(info)
|
||||||
{
|
{
|
||||||
|
if (!info.project)
|
||||||
|
LogModule.report(LogVisor::FatalError, "hecl package must be ran within a project directory");
|
||||||
}
|
}
|
||||||
|
|
||||||
~ToolPackage()
|
~ToolPackage()
|
||||||
|
|
|
@ -53,7 +53,7 @@ static const HECL::SystemRegex regOPEN(_S("-o([^\"]*|\\S*)"), std::regex::ECMASc
|
||||||
static const HECL::SystemRegex regVERBOSE(_S("-v(v*)"), std::regex::ECMAScript|std::regex::optimize);
|
static const HECL::SystemRegex regVERBOSE(_S("-v(v*)"), std::regex::ECMAScript|std::regex::optimize);
|
||||||
static const HECL::SystemRegex regFORCE(_S("-f"), std::regex::ECMAScript|std::regex::optimize);
|
static const HECL::SystemRegex regFORCE(_S("-f"), std::regex::ECMAScript|std::regex::optimize);
|
||||||
|
|
||||||
#include "../blender/CBlenderConnection.hpp"
|
#include "../blender/BlenderConnection.hpp"
|
||||||
|
|
||||||
#if HECL_UCS2
|
#if HECL_UCS2
|
||||||
int wmain(int argc, const wchar_t** argv)
|
int wmain(int argc, const wchar_t** argv)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit ce917d4aca98551aff497f012a1dfab6975f36c3
|
Subproject commit 8a397a16229e6642088ad1790f18015fca506744
|
|
@ -1 +1 @@
|
||||||
Subproject commit 4416d51c461c6d6c21ecf6c91c7a1c31210517d2
|
Subproject commit 9e31e9e2b971290d6a9725a81e35c423dd4fd719
|
|
@ -1 +1 @@
|
||||||
Subproject commit 4f79743da0821645001a37046b98357c1c3acde9
|
Subproject commit 74b970c347d02d12b104166bd37827f7868fe642
|
Loading…
Reference in New Issue