summaryrefslogtreecommitdiff
path: root/tools/src/asset_processor/assets/macroasm.h
blob: ca1f4abfd35e364a5033ee7df2dc23d71ae37c31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef MACROASM_H
#define MACROASM_H

#include "asset.h"

// Common class for all assets that are converted to asm files consisting of macros.
class BaseMacroAsmAsset : public BaseAsset {
    using BaseAsset::BaseAsset;

  public:
    virtual void extractBinary(const std::vector<char>& baserom);

  private:
    virtual std::filesystem::path generateAssetPath();
    virtual std::filesystem::path generateBuildPath();
};
#endif