add basic types and fix cmake

This commit is contained in:
2026-04-19 15:35:21 +02:00
parent ebf6cea353
commit 41fd2a83ee
30 changed files with 1562 additions and 5 deletions

12
src/lib/core/Rotation.h Normal file
View File

@@ -0,0 +1,12 @@
#pragma once
// Rotation applied to a building's surface_mask when placed. Also the direction
// of an output port or belt flow.
// North = -Y (up), East = +X (right), South = +Y (down), West = -X (left).
enum class Rotation
{
North,
East,
South,
West,
};