From 003f4015b16f5586f4bfd009a992aa68d08e63db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Przemys=C5=82aw=20Pluta?= Date: Tue, 30 Aug 2022 10:26:51 +0200 Subject: [PATCH] [Proto] Add support for 2x2 autotiles | create connect auto tile option #1 --- proto/src/main/proto/map.proto | 1 + proto/src/main/proto/project.proto | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/proto/src/main/proto/map.proto b/proto/src/main/proto/map.proto index 567ce783..968aded5 100644 --- a/proto/src/main/proto/map.proto +++ b/proto/src/main/proto/map.proto @@ -35,6 +35,7 @@ message AutoTileLayer { repeated uint32 tiles = 2; required bool animated = 3; required double animationDuration = 4; + required bool connect = 5; } message ObjectLayer { diff --git a/proto/src/main/proto/project.proto b/proto/src/main/proto/project.proto index d7f47327..9a4629cd 100644 --- a/proto/src/main/proto/project.proto +++ b/proto/src/main/proto/project.proto @@ -86,4 +86,10 @@ message AutoTileSetAsset { required string name = 3; required uint32 rows = 4; required uint32 columns = 5; + required AutoTileLayout layout = 6; +} + +enum AutoTileLayout { + LAYOUT_2X2 = 0; + LAYOUT_2X3 = 1; } \ No newline at end of file