jak-project/goalc/make/Tools.h
water111 c13934708a
Initial implementation of custom level tool (#1482)
* wip

* learning about colors

* gltf node stuff working

* cleanup

* support textures

* bvh generation seems reasonable

* tree layout

* frag packer, untested and doesnt do real stripping yet

* temp

* working collide frags

* handle bad inputs better

* clean up

* format

* include

* another include

* reorganize for release build use
2022-06-19 20:44:07 -04:00

72 lines
1.4 KiB
C++

#pragma once
#include "goalc/make/Tool.h"
#include "common/goos/Reader.h"
class Compiler;
class CompilerTool : public Tool {
public:
CompilerTool(Compiler* compiler);
bool run(const ToolInput& task) override;
bool needs_run(const ToolInput& task) override;
private:
Compiler* m_compiler = nullptr;
};
class DgoTool : public Tool {
public:
DgoTool();
bool run(const ToolInput& task) override;
std::vector<std::string> get_additional_dependencies(const ToolInput&) override;
private:
goos::Reader m_reader;
};
class TpageDirTool : public Tool {
public:
TpageDirTool();
bool run(const ToolInput& task) override;
};
class CopyTool : public Tool {
public:
CopyTool();
bool run(const ToolInput& task) override;
};
class GameCntTool : public Tool {
public:
GameCntTool();
bool run(const ToolInput& task) override;
};
class TextTool : public Tool {
public:
TextTool();
bool run(const ToolInput& task) override;
bool needs_run(const ToolInput& task) override;
};
class GroupTool : public Tool {
public:
GroupTool();
bool run(const ToolInput& task) override;
};
class SubtitleTool : public Tool {
public:
SubtitleTool();
bool run(const ToolInput& task) override;
bool needs_run(const ToolInput& task) override;
};
class BuildLevelTool : public Tool {
public:
BuildLevelTool();
bool run(const ToolInput& task) override;
bool needs_run(const ToolInput& task) override;
};