mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
8eb0796f8e
* add a `subtitle` bucket and rename buckets 67 and 68 * automatic `heap-base` * subtitles editor * adjust default params * bug * Update subtitle.gc * fix blue color inconsistency in progress * void. * Update subtitle.gc * Update subtitle.gc * Extend `heap-base` detection to check for errors * sometimes it's actually manually set! * remove broken error check * rework how compiling text files works * try out subtitles source v2 * bugfix * oops * Update game_text_common.cpp
65 lines
1.2 KiB
C++
65 lines
1.2 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;
|
|
};
|