implement storing recipes in blueprint

This commit is contained in:
2026-04-27 12:58:44 +02:00
parent 3da3ef5c5b
commit 541b8fdaee
4 changed files with 102 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include <string>
#include <vector>
#include <QPoint>
@@ -12,7 +13,8 @@ struct BlueprintBuilding
{
BuildingType type;
Rotation rotation;
QPoint offset; // tile offset from bounding-box center (floor for even sizes)
QPoint offset; // tile offset from bounding-box center (floor for even sizes)
std::string recipeId; // empty = none selected
};
struct Blueprint