mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 14:34:32 +00:00
subrepo: subdir: "tools/ZAPD" merged: "4751db5c9" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "4751db5c9" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596"
21 lines
No EOL
529 B
C++
21 lines
No EOL
529 B
C++
#pragma once
|
|
|
|
#include "../ZRoom.h"
|
|
#include "../ZRoomCommand.h"
|
|
|
|
class SetAlternateHeaders : public ZRoomCommand
|
|
{
|
|
public:
|
|
SetAlternateHeaders(ZRoom* nZRoom, std::vector<uint8_t> rawData, int rawDataIndex);
|
|
|
|
virtual std::string GenerateSourceCodePass1(std::string roomName, int baseAddress);
|
|
virtual int32_t GetRawDataSize();
|
|
virtual std::string GetCommandCName();
|
|
virtual RoomCommand GetRoomCommand();
|
|
|
|
private:
|
|
int32_t segmentOffset;
|
|
std::vector<uint32_t> headers;
|
|
std::vector<uint8_t> _rawData;
|
|
int _rawDataIndex;
|
|
}; |