23 lines
400 B
C++
23 lines
400 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include <QPoint>
|
|
#include <QString>
|
|
|
|
#include "BuildingType.h"
|
|
#include "Rotation.h"
|
|
|
|
struct BlueprintBuilding
|
|
{
|
|
BuildingType type;
|
|
Rotation rotation;
|
|
QPoint offset; // tile offset from bounding-box center (floor for even sizes)
|
|
};
|
|
|
|
struct Blueprint
|
|
{
|
|
QString name;
|
|
std::vector<BlueprintBuilding> buildings;
|
|
};
|