mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-22 08:08:53 -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: "???"
37 lines
803 B
C++
37 lines
803 B
C++
#pragma once
|
|
|
|
#include "ZRoom/ZRoomCommand.h"
|
|
|
|
class TransitionActorEntry
|
|
{
|
|
public:
|
|
uint8_t frontObjectRoom;
|
|
uint8_t frontTransitionReaction;
|
|
uint8_t backObjectRoom;
|
|
uint8_t backTransitionReaction;
|
|
uint16_t actorNum;
|
|
int16_t posX, posY, posZ;
|
|
int16_t rotY;
|
|
uint16_t initVar;
|
|
|
|
TransitionActorEntry(const std::vector<uint8_t>& rawData, int rawDataIndex);
|
|
|
|
std::string GetBodySourceCode() const;
|
|
};
|
|
|
|
class SetTransitionActorList : public ZRoomCommand
|
|
{
|
|
public:
|
|
std::vector<TransitionActorEntry> transitionActors;
|
|
|
|
SetTransitionActorList(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;
|
|
};
|