mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-15 05:55:07 -05:00
5dda5762ba
subrepo: subdir: "ZAPDTR" merged: "a53a53ea4" upstream: origin: "https://github.com/HarbourMasters/ZAPDTR.git" branch: "master" commit: "a53a53ea4" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
40 lines
734 B
C++
40 lines
734 B
C++
#pragma once
|
|
|
|
#include "ZRoom/ZRoomCommand.h"
|
|
|
|
class MinimapEntry
|
|
{
|
|
public:
|
|
MinimapEntry(const std::vector<uint8_t>& rawData, uint32_t rawDataIndex);
|
|
|
|
std::string GetBodySourceCode() const;
|
|
|
|
protected:
|
|
uint16_t unk0;
|
|
uint16_t unk2;
|
|
uint16_t unk4;
|
|
uint16_t unk6;
|
|
uint16_t unk8;
|
|
};
|
|
|
|
class SetMinimapList : public ZRoomCommand
|
|
{
|
|
public:
|
|
std::vector<MinimapEntry> minimaps;
|
|
|
|
SetMinimapList(ZFile* nParent);
|
|
|
|
void ParseRawData() override;
|
|
void DeclareReferences(const std::string& prefix) override;
|
|
|
|
std::string GetBodySourceCode() const override;
|
|
|
|
RoomCommand GetRoomCommand() const override;
|
|
std::string GetCommandCName() const override;
|
|
|
|
private:
|
|
segptr_t listSegmentAddr;
|
|
uint32_t listSegmentOffset;
|
|
uint32_t unk4;
|
|
};
|