jak-project/goalc/make/Tools.h
water111 1e33dcda4b
Remove assets folder, use more std::filesystem (#1575)
* Remove assets folder, use more std::filesystem

* windows fix

* another one for windows

* another one

* better system for different folders

* rm debugging stuff

* let extractor override everything

* dont revert jak1 change
2022-06-29 23:32:46 -04:00

74 lines
1.8 KiB
C++

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