mirror of https://github.com/zeldaret/tmc.git
18 lines
319 B
C
18 lines
319 B
C
#ifndef OFFSETS_H
|
|
#define OFFSETS_H
|
|
#include <filesystem>
|
|
#include <fstream>
|
|
#include <string>
|
|
|
|
class OffsetCalculator {
|
|
|
|
public:
|
|
OffsetCalculator(std::filesystem::path offsetsFile, int baseOffset);
|
|
void addAsset(int start, std::string symbol);
|
|
|
|
private:
|
|
std::ofstream output;
|
|
int baseOffset;
|
|
};
|
|
|
|
#endif |