diff --git a/.gitattributes b/.gitattributes index 5cb4381..5c48371 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,3 +5,5 @@ *.ttf filter=lfs diff=lfs merge=lfs -text *.scn filter=lfs diff=lfs merge=lfs -text *.res filter=lfs diff=lfs merge=lfs -text +*.glb filter=lfs diff=lfs merge=lfs -text + diff --git a/interior/floors/dungeon_01/detail_albedo.png b/interior/floors/dungeon_01/detail_albedo.png new file mode 100644 index 0000000..510391f --- /dev/null +++ b/interior/floors/dungeon_01/detail_albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e7e142ac52053b6baf64bd2f889d466cac894083f82b31d47d2b257f1737992 +size 1563514 diff --git a/interior/tiles/limestone_dungeon/hole_albedo.png.import b/interior/floors/dungeon_01/detail_albedo.png.import similarity index 66% rename from interior/tiles/limestone_dungeon/hole_albedo.png.import rename to interior/floors/dungeon_01/detail_albedo.png.import index b191c67..9487b17 100644 --- a/interior/tiles/limestone_dungeon/hole_albedo.png.import +++ b/interior/floors/dungeon_01/detail_albedo.png.import @@ -2,8 +2,8 @@ importer="texture" type="CompressedTexture2D" -uid="uid://3m7gvnsmb4g" -path.s3tc="res://.godot/imported/hole_albedo.png-ef88dfc602c85c58e849d6654804eb67.s3tc.ctex" +uid="uid://chujdd7dvyclj" +path.s3tc="res://.godot/imported/detail_albedo.png-9f445a992dc42ff5e245033c09348a9d.s3tc.ctex" metadata={ "imported_formats": ["s3tc_bptc"], "vram_texture": true @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://interior/tiles/limestone_dungeon/hole_albedo.png" -dest_files=["res://.godot/imported/hole_albedo.png-ef88dfc602c85c58e849d6654804eb67.s3tc.ctex"] +source_file="res://interior/floors/dungeon_01/detail_albedo.png" +dest_files=["res://.godot/imported/detail_albedo.png-9f445a992dc42ff5e245033c09348a9d.s3tc.ctex"] [params] diff --git a/interior/floors/dungeon_01/detail_displacement.png b/interior/floors/dungeon_01/detail_displacement.png new file mode 100644 index 0000000..247b98a --- /dev/null +++ b/interior/floors/dungeon_01/detail_displacement.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c0c0cab56798fdabff29242140c177e1f40b054f7ac92de64408e135f2af093 +size 29096 diff --git a/interior/floors/dungeon_01/detail_displacement.png.import b/interior/floors/dungeon_01/detail_displacement.png.import new file mode 100644 index 0000000..5f00412 --- /dev/null +++ b/interior/floors/dungeon_01/detail_displacement.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b6qji7ybqaga2" +path.s3tc="res://.godot/imported/detail_displacement.png-47cde77fb53fc7ae6babfbbfef6cdb4f.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://interior/floors/dungeon_01/detail_displacement.png" +dest_files=["res://.godot/imported/detail_displacement.png-47cde77fb53fc7ae6babfbbfef6cdb4f.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/interior/floors/dungeon_01/detail_material.res b/interior/floors/dungeon_01/detail_material.res new file mode 100644 index 0000000..6719e9f --- /dev/null +++ b/interior/floors/dungeon_01/detail_material.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53af696e49ae07596cc1138b071bbc2d4396b43d6619cda00a253dca851a750a +size 1096 diff --git a/interior/floors/dungeon_01/detail_normal.png b/interior/floors/dungeon_01/detail_normal.png new file mode 100644 index 0000000..b1f45bf --- /dev/null +++ b/interior/floors/dungeon_01/detail_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89311e0bcec7c209f18c8c85ca2cf36428454319dc49b3d561edb6b1d4e88cb4 +size 86157 diff --git a/interior/tiles/limestone_dungeon/hole_normal.png.import b/interior/floors/dungeon_01/detail_normal.png.import similarity index 60% rename from interior/tiles/limestone_dungeon/hole_normal.png.import rename to interior/floors/dungeon_01/detail_normal.png.import index d1b04e0..374fc63 100644 --- a/interior/tiles/limestone_dungeon/hole_normal.png.import +++ b/interior/floors/dungeon_01/detail_normal.png.import @@ -2,8 +2,8 @@ importer="texture" type="CompressedTexture2D" -uid="uid://c4eby3i7q2wts" -path.s3tc="res://.godot/imported/hole_normal.png-9c2f1eac05804bab609d1c67adcf7dba.s3tc.ctex" +uid="uid://waqtv8flqslo" +path.s3tc="res://.godot/imported/detail_normal.png-7595efd28a96c6bf905bfa3c115551eb.s3tc.ctex" metadata={ "imported_formats": ["s3tc_bptc"], "vram_texture": true @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://interior/tiles/limestone_dungeon/hole_normal.png" -dest_files=["res://.godot/imported/hole_normal.png-9c2f1eac05804bab609d1c67adcf7dba.s3tc.ctex"] +source_file="res://interior/floors/dungeon_01/detail_normal.png" +dest_files=["res://.godot/imported/detail_normal.png-7595efd28a96c6bf905bfa3c115551eb.s3tc.ctex"] [params] @@ -25,7 +25,7 @@ compress/channel_pack=0 mipmaps/generate=true mipmaps/limit=-1 roughness/mode=1 -roughness/src_normal="res://tiles/tiles/limestone_dungeon/hole_normal.png" +roughness/src_normal="res://interior/base/dungeon_01/detail_normal.png" process/fix_alpha_border=true process/premult_alpha=false process/normal_map_invert_y=false diff --git a/interior/floors/dungeon_01/detail_roughness.png b/interior/floors/dungeon_01/detail_roughness.png new file mode 100644 index 0000000..4ed2071 --- /dev/null +++ b/interior/floors/dungeon_01/detail_roughness.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0324630e7983df93d6d33473ff60c9788342a39279e7aca74d12390a2c77a4b6 +size 301066 diff --git a/interior/tiles/limestone_dungeon/piping_orm.png.import b/interior/floors/dungeon_01/detail_roughness.png.import similarity index 66% rename from interior/tiles/limestone_dungeon/piping_orm.png.import rename to interior/floors/dungeon_01/detail_roughness.png.import index 197f747..aae1a7e 100644 --- a/interior/tiles/limestone_dungeon/piping_orm.png.import +++ b/interior/floors/dungeon_01/detail_roughness.png.import @@ -2,8 +2,8 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bkpucv0ydae5v" -path.s3tc="res://.godot/imported/piping_orm.png-7131df07403ecb346d6a4793ca7929cb.s3tc.ctex" +uid="uid://drq7jupbmwjil" +path.s3tc="res://.godot/imported/detail_roughness.png-a65497af25f070db34e2dc4c6cdc9e62.s3tc.ctex" metadata={ "imported_formats": ["s3tc_bptc"], "vram_texture": true @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://interior/tiles/limestone_dungeon/piping_orm.png" -dest_files=["res://.godot/imported/piping_orm.png-7131df07403ecb346d6a4793ca7929cb.s3tc.ctex"] +source_file="res://interior/floors/dungeon_01/detail_roughness.png" +dest_files=["res://.godot/imported/detail_roughness.png-a65497af25f070db34e2dc4c6cdc9e62.s3tc.ctex"] [params] diff --git a/interior/floors/dungeon_01/floor_albedo.png b/interior/floors/dungeon_01/floor_albedo.png new file mode 100644 index 0000000..1f51c49 --- /dev/null +++ b/interior/floors/dungeon_01/floor_albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:425af085a90c78440442544d83fb120291cde0b0866949507ca4a8fef6faf457 +size 296747 diff --git a/interior/tiles/limestone_dungeon/tiling_orm.png.import b/interior/floors/dungeon_01/floor_albedo.png.import similarity index 66% rename from interior/tiles/limestone_dungeon/tiling_orm.png.import rename to interior/floors/dungeon_01/floor_albedo.png.import index 996188a..f38c043 100644 --- a/interior/tiles/limestone_dungeon/tiling_orm.png.import +++ b/interior/floors/dungeon_01/floor_albedo.png.import @@ -2,8 +2,8 @@ importer="texture" type="CompressedTexture2D" -uid="uid://leoab2fjmxgk" -path.s3tc="res://.godot/imported/tiling_orm.png-48bc1a5d8b2eae43d49ed818fa664d0d.s3tc.ctex" +uid="uid://c18mqalexrvc7" +path.s3tc="res://.godot/imported/floor_albedo.png-599373c4c817157e929da39c9a51e0ca.s3tc.ctex" metadata={ "imported_formats": ["s3tc_bptc"], "vram_texture": true @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://interior/tiles/limestone_dungeon/tiling_orm.png" -dest_files=["res://.godot/imported/tiling_orm.png-48bc1a5d8b2eae43d49ed818fa664d0d.s3tc.ctex"] +source_file="res://interior/floors/dungeon_01/floor_albedo.png" +dest_files=["res://.godot/imported/floor_albedo.png-599373c4c817157e929da39c9a51e0ca.s3tc.ctex"] [params] diff --git a/interior/tiles/limestone_dungeon/tiling_height.png b/interior/floors/dungeon_01/floor_displacement.png old mode 100755 new mode 100644 similarity index 100% rename from interior/tiles/limestone_dungeon/tiling_height.png rename to interior/floors/dungeon_01/floor_displacement.png diff --git a/interior/tiles/limestone_dungeon/piping_albedo.png.import b/interior/floors/dungeon_01/floor_displacement.png.import similarity index 65% rename from interior/tiles/limestone_dungeon/piping_albedo.png.import rename to interior/floors/dungeon_01/floor_displacement.png.import index 1298692..4bc9955 100644 --- a/interior/tiles/limestone_dungeon/piping_albedo.png.import +++ b/interior/floors/dungeon_01/floor_displacement.png.import @@ -2,8 +2,8 @@ importer="texture" type="CompressedTexture2D" -uid="uid://yu0p5ryoh7gr" -path.s3tc="res://.godot/imported/piping_albedo.png-e55409f9baf27938796d954b957086ac.s3tc.ctex" +uid="uid://dfqtk4fo4t06c" +path.s3tc="res://.godot/imported/floor_displacement.png-f55e2b97692cdec8c2f27530099f39e7.s3tc.ctex" metadata={ "imported_formats": ["s3tc_bptc"], "vram_texture": true @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://interior/tiles/limestone_dungeon/piping_albedo.png" -dest_files=["res://.godot/imported/piping_albedo.png-e55409f9baf27938796d954b957086ac.s3tc.ctex"] +source_file="res://interior/floors/dungeon_01/floor_displacement.png" +dest_files=["res://.godot/imported/floor_displacement.png-f55e2b97692cdec8c2f27530099f39e7.s3tc.ctex"] [params] diff --git a/interior/floors/dungeon_01/floor_material.res b/interior/floors/dungeon_01/floor_material.res new file mode 100644 index 0000000..b759119 --- /dev/null +++ b/interior/floors/dungeon_01/floor_material.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2031f79ea13336634323bb567399d810ec7b5bad49e83b6fb7e7351922b6390 +size 1100 diff --git a/interior/floors/dungeon_01/floor_normal.png b/interior/floors/dungeon_01/floor_normal.png new file mode 100644 index 0000000..d91553f --- /dev/null +++ b/interior/floors/dungeon_01/floor_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2351fe63cc96ce78eccff698f0691ef8a681bb673048ae3448d5b6f15ba0b7b +size 1264044 diff --git a/interior/tiles/limestone_dungeon/piping_normal.png.import b/interior/floors/dungeon_01/floor_normal.png.import similarity index 60% rename from interior/tiles/limestone_dungeon/piping_normal.png.import rename to interior/floors/dungeon_01/floor_normal.png.import index 4760b40..f07b17e 100644 --- a/interior/tiles/limestone_dungeon/piping_normal.png.import +++ b/interior/floors/dungeon_01/floor_normal.png.import @@ -2,8 +2,8 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bypqkn1tm036p" -path.s3tc="res://.godot/imported/piping_normal.png-4b6b5fc6d6cbc5e05f054f9e19463644.s3tc.ctex" +uid="uid://tjepq8p30cxx" +path.s3tc="res://.godot/imported/floor_normal.png-7eb4d134761af85dcd1aaa7f0004dc65.s3tc.ctex" metadata={ "imported_formats": ["s3tc_bptc"], "vram_texture": true @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://interior/tiles/limestone_dungeon/piping_normal.png" -dest_files=["res://.godot/imported/piping_normal.png-4b6b5fc6d6cbc5e05f054f9e19463644.s3tc.ctex"] +source_file="res://interior/floors/dungeon_01/floor_normal.png" +dest_files=["res://.godot/imported/floor_normal.png-7eb4d134761af85dcd1aaa7f0004dc65.s3tc.ctex"] [params] @@ -25,7 +25,7 @@ compress/channel_pack=0 mipmaps/generate=true mipmaps/limit=-1 roughness/mode=1 -roughness/src_normal="res://tiles/tiles/limestone_dungeon/piping_normal.png" +roughness/src_normal="res://interior/base/dungeon_01/floor_normal.png" process/fix_alpha_border=true process/premult_alpha=false process/normal_map_invert_y=false diff --git a/interior/floors/dungeon_01/floor_orm.png b/interior/floors/dungeon_01/floor_orm.png new file mode 100644 index 0000000..0a20d5e --- /dev/null +++ b/interior/floors/dungeon_01/floor_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42475cda7cc631a6fb54e14ff99df90c2e308d147a5932cbe7842eb868d6b947 +size 350255 diff --git a/interior/tiles/limestone_dungeon/hole_orm.png.import b/interior/floors/dungeon_01/floor_orm.png.import similarity index 67% rename from interior/tiles/limestone_dungeon/hole_orm.png.import rename to interior/floors/dungeon_01/floor_orm.png.import index 69f6f6b..fa210b5 100644 --- a/interior/tiles/limestone_dungeon/hole_orm.png.import +++ b/interior/floors/dungeon_01/floor_orm.png.import @@ -2,8 +2,8 @@ importer="texture" type="CompressedTexture2D" -uid="uid://dvqqmbf6r1jfm" -path.s3tc="res://.godot/imported/hole_orm.png-00b1427da2cca528c854a97655dfff24.s3tc.ctex" +uid="uid://gry3ow88pjud" +path.s3tc="res://.godot/imported/floor_orm.png-ad734700b85932ea8fe8e780643641b4.s3tc.ctex" metadata={ "imported_formats": ["s3tc_bptc"], "vram_texture": true @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://interior/tiles/limestone_dungeon/hole_orm.png" -dest_files=["res://.godot/imported/hole_orm.png-00b1427da2cca528c854a97655dfff24.s3tc.ctex"] +source_file="res://interior/floors/dungeon_01/floor_orm.png" +dest_files=["res://.godot/imported/floor_orm.png-ad734700b85932ea8fe8e780643641b4.s3tc.ctex"] [params] diff --git a/interior/floors/dungeon_01/pillar_albedo.png b/interior/floors/dungeon_01/pillar_albedo.png new file mode 100644 index 0000000..77e08b2 --- /dev/null +++ b/interior/floors/dungeon_01/pillar_albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a79fcc827ff0df5a1af5aa60e16d72f4b5b0f6fc4cccc38e1da3263c3c348105 +size 1820061 diff --git a/interior/tiles/limestone_dungeon/hole_height.png.import b/interior/floors/dungeon_01/pillar_albedo.png.import similarity index 66% rename from interior/tiles/limestone_dungeon/hole_height.png.import rename to interior/floors/dungeon_01/pillar_albedo.png.import index e1c7e65..70f67ed 100644 --- a/interior/tiles/limestone_dungeon/hole_height.png.import +++ b/interior/floors/dungeon_01/pillar_albedo.png.import @@ -2,8 +2,8 @@ importer="texture" type="CompressedTexture2D" -uid="uid://c8p7qvcrfsio7" -path.s3tc="res://.godot/imported/hole_height.png-875fd265b9470b3f52656ba603fc8eae.s3tc.ctex" +uid="uid://bvmabp7btg0wo" +path.s3tc="res://.godot/imported/pillar_albedo.png-5307fa2f26f1bff72deafa48c97429c8.s3tc.ctex" metadata={ "imported_formats": ["s3tc_bptc"], "vram_texture": true @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://interior/tiles/limestone_dungeon/hole_height.png" -dest_files=["res://.godot/imported/hole_height.png-875fd265b9470b3f52656ba603fc8eae.s3tc.ctex"] +source_file="res://interior/floors/dungeon_01/pillar_albedo.png" +dest_files=["res://.godot/imported/pillar_albedo.png-5307fa2f26f1bff72deafa48c97429c8.s3tc.ctex"] [params] diff --git a/interior/floors/dungeon_01/pillar_displacement.png b/interior/floors/dungeon_01/pillar_displacement.png new file mode 100644 index 0000000..e993ea2 --- /dev/null +++ b/interior/floors/dungeon_01/pillar_displacement.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9e20b98699c33b51826767449d2cc34a4aaa568fbadd584a2e417c19b588c28 +size 413319 diff --git a/interior/tiles/limestone_dungeon/piping_height.png.import b/interior/floors/dungeon_01/pillar_displacement.png.import similarity index 66% rename from interior/tiles/limestone_dungeon/piping_height.png.import rename to interior/floors/dungeon_01/pillar_displacement.png.import index 2addbdc..b79c2e2 100644 --- a/interior/tiles/limestone_dungeon/piping_height.png.import +++ b/interior/floors/dungeon_01/pillar_displacement.png.import @@ -2,8 +2,8 @@ importer="texture" type="CompressedTexture2D" -uid="uid://byw6qkgod61ip" -path.s3tc="res://.godot/imported/piping_height.png-d458ffb714345b35977ee0de9b01359f.s3tc.ctex" +uid="uid://y3fjjegrdm5t" +path.s3tc="res://.godot/imported/pillar_displacement.png-86e9892e28aca9f87c864a28e6dfa2b7.s3tc.ctex" metadata={ "imported_formats": ["s3tc_bptc"], "vram_texture": true @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://interior/tiles/limestone_dungeon/piping_height.png" -dest_files=["res://.godot/imported/piping_height.png-d458ffb714345b35977ee0de9b01359f.s3tc.ctex"] +source_file="res://interior/floors/dungeon_01/pillar_displacement.png" +dest_files=["res://.godot/imported/pillar_displacement.png-86e9892e28aca9f87c864a28e6dfa2b7.s3tc.ctex"] [params] diff --git a/interior/floors/dungeon_01/pillar_material.res b/interior/floors/dungeon_01/pillar_material.res new file mode 100644 index 0000000..d7b7f84 --- /dev/null +++ b/interior/floors/dungeon_01/pillar_material.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e882f42167f5e8e3a985ba21f2363b0a6b6664e38ec95e23f2f33096df3f3f93 +size 1072 diff --git a/interior/floors/dungeon_01/pillar_normal.png b/interior/floors/dungeon_01/pillar_normal.png new file mode 100644 index 0000000..bbfb783 --- /dev/null +++ b/interior/floors/dungeon_01/pillar_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f26936d0609b79d2348a61a22cdc97e9163ab52d20beff1a97665343dc37f6cc +size 1179325 diff --git a/interior/tiles/limestone_dungeon/tiling_normal.png.import b/interior/floors/dungeon_01/pillar_normal.png.import similarity index 59% rename from interior/tiles/limestone_dungeon/tiling_normal.png.import rename to interior/floors/dungeon_01/pillar_normal.png.import index 50f635c..e01182a 100644 --- a/interior/tiles/limestone_dungeon/tiling_normal.png.import +++ b/interior/floors/dungeon_01/pillar_normal.png.import @@ -2,8 +2,8 @@ importer="texture" type="CompressedTexture2D" -uid="uid://cv8yiluvc6mol" -path.s3tc="res://.godot/imported/tiling_normal.png-877f08b7359b5aba3ea7d5681fd4e5a9.s3tc.ctex" +uid="uid://dgteu01p0yvb1" +path.s3tc="res://.godot/imported/pillar_normal.png-3acce01d6d5a45e72d80bc85d1cccfeb.s3tc.ctex" metadata={ "imported_formats": ["s3tc_bptc"], "vram_texture": true @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://interior/tiles/limestone_dungeon/tiling_normal.png" -dest_files=["res://.godot/imported/tiling_normal.png-877f08b7359b5aba3ea7d5681fd4e5a9.s3tc.ctex"] +source_file="res://interior/floors/dungeon_01/pillar_normal.png" +dest_files=["res://.godot/imported/pillar_normal.png-3acce01d6d5a45e72d80bc85d1cccfeb.s3tc.ctex"] [params] @@ -25,7 +25,7 @@ compress/channel_pack=0 mipmaps/generate=true mipmaps/limit=-1 roughness/mode=1 -roughness/src_normal="res://tiles/tiles/limestone_dungeon/tiling_normal.png" +roughness/src_normal="res://interior/base/dungeon_01/pillar_normal.png" process/fix_alpha_border=true process/premult_alpha=false process/normal_map_invert_y=false diff --git a/interior/floors/dungeon_01/pillar_roughness.png b/interior/floors/dungeon_01/pillar_roughness.png new file mode 100644 index 0000000..0ee89c0 --- /dev/null +++ b/interior/floors/dungeon_01/pillar_roughness.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9218f0b7454eae997dab0b53814f0b2914876a7022ef4b13bfd8c84101c34344 +size 543920 diff --git a/interior/floors/dungeon_01/pillar_roughness.png.import b/interior/floors/dungeon_01/pillar_roughness.png.import new file mode 100644 index 0000000..8960d8a --- /dev/null +++ b/interior/floors/dungeon_01/pillar_roughness.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bm2n01vq8gfr6" +path="res://.godot/imported/pillar_roughness.png-0687f96b048e5362061de3455df15e28.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://interior/floors/dungeon_01/pillar_roughness.png" +dest_files=["res://.godot/imported/pillar_roughness.png-0687f96b048e5362061de3455df15e28.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/interior/floors/dungeon_01/tiles.glb b/interior/floors/dungeon_01/tiles.glb new file mode 100644 index 0000000..93370aa --- /dev/null +++ b/interior/floors/dungeon_01/tiles.glb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9243fb371c2bd6ba8c62ceed908c32d2e1c5e8650e6dc8335ecf679fdf8507a +size 8049212 diff --git a/interior/floors/dungeon_01/tiles.glb.import b/interior/floors/dungeon_01/tiles.glb.import new file mode 100644 index 0000000..5b3f005 --- /dev/null +++ b/interior/floors/dungeon_01/tiles.glb.import @@ -0,0 +1,209 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://4bd55k678gi7" +path="res://.godot/imported/tiles.glb-14a9c594afd12965ca2410ae30c0dee5.scn" + +[deps] + +source_file="res://interior/floors/dungeon_01/tiles.glb" +dest_files=["res://.godot/imported/tiles.glb-14a9c594afd12965ca2410ae30c0dee5.scn"] + +[params] + +nodes/root_type="Node3D" +nodes/root_name="Scene Root" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +skins/use_named_skins=true +animation/import=false +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +import_script/path="" +_subresources={ +"materials": { +"Detail": { +"use_external/enabled": true, +"use_external/path": "res://interior/base/dungeon_01/detail_material.res" +}, +"Floor": { +"use_external/enabled": true, +"use_external/path": "res://interior/base/dungeon_01/floor_material.res" +}, +"Pillar": { +"use_external/enabled": true, +"use_external/path": "res://interior/base/dungeon_01/pillar_material.res" +} +}, +"meshes": { +"tiles_corner_north_east": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_corner_north_east.res" +}, +"tiles_corner_north_west": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_corner_north_west.res" +}, +"tiles_corner_south_east": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_corner_south_east.res" +}, +"tiles_corner_south_west": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_corner_south_west.res" +}, +"tiles_edge_east": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_edge_east.res" +}, +"tiles_edge_north": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_edge_north.res" +}, +"tiles_edge_south": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_edge_south.res" +}, +"tiles_edge_west": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_edge_west.res" +}, +"tiles_endcap_east": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_endcap_east.res" +}, +"tiles_endcap_north": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_endcap_north.res" +}, +"tiles_endcap_south": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_endcap_south.res" +}, +"tiles_endcap_west": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_endcap_west.res" +}, +"tiles_fill": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_fill.res" +}, +"tiles_island": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_island.res" +}, +"tiles_path_horizontal": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_path_horizontal.res" +}, +"tiles_path_vertical": { +"generate/lightmap_uv": 0, +"generate/lods": 0, +"generate/shadow_meshes": 0, +"lods/normal_merge_angle": 60.0, +"lods/normal_split_angle": 25.0, +"save_to_file/enabled": true, +"save_to_file/make_streamable": "", +"save_to_file/path": "res://interior/base/dungeon_01/tiles_path_vertical.res" +} +} +} +gltf/embedded_image_handling=0 diff --git a/interior/floors/dungeon_01/tiles_corner_north_east.res b/interior/floors/dungeon_01/tiles_corner_north_east.res new file mode 100644 index 0000000..99381be --- /dev/null +++ b/interior/floors/dungeon_01/tiles_corner_north_east.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:229a2504707a0b4fbd4dcf9cb1f529c498aa6a1ca8d0984b25e7bab0f90a62a8 +size 26700 diff --git a/interior/floors/dungeon_01/tiles_corner_north_west.res b/interior/floors/dungeon_01/tiles_corner_north_west.res new file mode 100644 index 0000000..5b7a7b9 --- /dev/null +++ b/interior/floors/dungeon_01/tiles_corner_north_west.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:480688dc9dc1bdbdd7899baf0b793ebcfcf60e7f6224f1fb9dd3dc61369b2928 +size 26924 diff --git a/interior/floors/dungeon_01/tiles_corner_south_east.res b/interior/floors/dungeon_01/tiles_corner_south_east.res new file mode 100644 index 0000000..93ee185 --- /dev/null +++ b/interior/floors/dungeon_01/tiles_corner_south_east.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3dc68d9edfb626b45fdf026ddd4bfa2b5b7a0f6c1fdc5d27e8e22ae092d810d +size 27336 diff --git a/interior/floors/dungeon_01/tiles_corner_south_west.res b/interior/floors/dungeon_01/tiles_corner_south_west.res new file mode 100644 index 0000000..26d4f77 --- /dev/null +++ b/interior/floors/dungeon_01/tiles_corner_south_west.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91ae32a7d094d51b8194f97c4e7383fcb3cb3d447ba41d1b4d147cb69a75bd9b +size 25516 diff --git a/interior/floors/dungeon_01/tiles_edge_east.res b/interior/floors/dungeon_01/tiles_edge_east.res new file mode 100644 index 0000000..639551b --- /dev/null +++ b/interior/floors/dungeon_01/tiles_edge_east.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf3aff1b1fbe056171ce74b761bfa0beef49284682ff61fcfbf7d531400e86bb +size 15816 diff --git a/interior/floors/dungeon_01/tiles_edge_north.res b/interior/floors/dungeon_01/tiles_edge_north.res new file mode 100644 index 0000000..08eb358 --- /dev/null +++ b/interior/floors/dungeon_01/tiles_edge_north.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06df16d52b38714bb34cb5bdfe2be27fd381ff56450a9a3f6f70669417e6ab41 +size 15766 diff --git a/interior/floors/dungeon_01/tiles_edge_south.res b/interior/floors/dungeon_01/tiles_edge_south.res new file mode 100644 index 0000000..ed93b89 --- /dev/null +++ b/interior/floors/dungeon_01/tiles_edge_south.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b4b867a890d134a7fc5e7d4f1c2dffc29efed83c39fdb66ce1ea7754bc6fae9 +size 15990 diff --git a/interior/floors/dungeon_01/tiles_edge_west.res b/interior/floors/dungeon_01/tiles_edge_west.res new file mode 100644 index 0000000..33be13a --- /dev/null +++ b/interior/floors/dungeon_01/tiles_edge_west.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:934836023e3c7e9bfd3e2c1ec4d9a60ac8d60248c11fa64b81478739e66872bb +size 15816 diff --git a/interior/floors/dungeon_01/tiles_endcap_east.res b/interior/floors/dungeon_01/tiles_endcap_east.res new file mode 100644 index 0000000..8513c9a --- /dev/null +++ b/interior/floors/dungeon_01/tiles_endcap_east.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc470f0fea6cc56bf2fe62ee6c81a1d4b1ef8d11fca527dd457e457a28e70dd0 +size 37880 diff --git a/interior/floors/dungeon_01/tiles_endcap_north.res b/interior/floors/dungeon_01/tiles_endcap_north.res new file mode 100644 index 0000000..227b443 --- /dev/null +++ b/interior/floors/dungeon_01/tiles_endcap_north.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:757253aca66c4c12fc6ec9dab8293a3d288a529468dec753de4597f7d2b9bd1b +size 37434 diff --git a/interior/floors/dungeon_01/tiles_endcap_south.res b/interior/floors/dungeon_01/tiles_endcap_south.res new file mode 100644 index 0000000..8c5bdde --- /dev/null +++ b/interior/floors/dungeon_01/tiles_endcap_south.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34b2ab299bb8bdd036dcd8cf4494c418ef03fe38d840943a85b8c5c82b78dcfa +size 38378 diff --git a/interior/floors/dungeon_01/tiles_endcap_west.res b/interior/floors/dungeon_01/tiles_endcap_west.res new file mode 100644 index 0000000..fd7f41b --- /dev/null +++ b/interior/floors/dungeon_01/tiles_endcap_west.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:219f269e234edd6775432134db1202a79b476f1d58b0a1f041038dd87bfc7dd9 +size 37412 diff --git a/interior/floors/dungeon_01/tiles_fill.res b/interior/floors/dungeon_01/tiles_fill.res new file mode 100644 index 0000000..2c5b310 --- /dev/null +++ b/interior/floors/dungeon_01/tiles_fill.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f19f83bc7e64dc17150114662e64e868ff755c86dda0ea6aa4ad5305b0028046 +size 6602 diff --git a/interior/floors/dungeon_01/tiles_island.res b/interior/floors/dungeon_01/tiles_island.res new file mode 100644 index 0000000..91a702b --- /dev/null +++ b/interior/floors/dungeon_01/tiles_island.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dcd2c4898652adfe033b9f83f8a30c019bb6e9a00e122cb42dc9e521b793cd5c +size 46694 diff --git a/interior/floors/dungeon_01/tiles_path_horizontal.res b/interior/floors/dungeon_01/tiles_path_horizontal.res new file mode 100644 index 0000000..046b749 --- /dev/null +++ b/interior/floors/dungeon_01/tiles_path_horizontal.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a709c0682702b5bd4f3c27b5e650d01a4cf30e02df2c4fc2589505cf8c3b72c +size 29532 diff --git a/interior/floors/dungeon_01/tiles_path_vertical.res b/interior/floors/dungeon_01/tiles_path_vertical.res new file mode 100644 index 0000000..fbca7e1 --- /dev/null +++ b/interior/floors/dungeon_01/tiles_path_vertical.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f231c2aade5ff3f0dd367ef2114be814ca0b42a6e8f6269c525cbbcccb4dc +size 29488 diff --git a/interior/floors/dungeon_01_interior_floor.res b/interior/floors/dungeon_01_interior_floor.res new file mode 100644 index 0000000..8c9c100 --- /dev/null +++ b/interior/floors/dungeon_01_interior_floor.res @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d5a0f5ed6c6c95b7d5041d9c4e3e079501fb10a1563c3fb6d384a34eaf52da5 +size 720 diff --git a/interior/tiles/limestone_dungeon/tiling_height.png.import b/interior/floors/dungeon_01_tiles_height.png.import similarity index 70% rename from interior/tiles/limestone_dungeon/tiling_height.png.import rename to interior/floors/dungeon_01_tiles_height.png.import index 322b167..06a4169 100644 --- a/interior/tiles/limestone_dungeon/tiling_height.png.import +++ b/interior/floors/dungeon_01_tiles_height.png.import @@ -3,7 +3,7 @@ importer="texture" type="CompressedTexture2D" uid="uid://didp3nfacohwd" -path.s3tc="res://.godot/imported/tiling_height.png-2ead72b43d4a6de847e50bcbd8e8c7f7.s3tc.ctex" +path.s3tc="res://.godot/imported/dungeon_01_tiles_height.png-7733c18dddd7d5bf80deae891d3de52e.s3tc.ctex" metadata={ "imported_formats": ["s3tc_bptc"], "vram_texture": true @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://interior/tiles/limestone_dungeon/tiling_height.png" -dest_files=["res://.godot/imported/tiling_height.png-2ead72b43d4a6de847e50bcbd8e8c7f7.s3tc.ctex"] +source_file="res://interior/base/dungeon_01_tiles_height.png" +dest_files=["res://.godot/imported/dungeon_01_tiles_height.png-7733c18dddd7d5bf80deae891d3de52e.s3tc.ctex"] [params] diff --git a/interior/floors/interior_floor.gd b/interior/floors/interior_floor.gd new file mode 100644 index 0000000..e642f47 --- /dev/null +++ b/interior/floors/interior_floor.gd @@ -0,0 +1,49 @@ +class_name InteriorFloor extends Resource + +@export +var corner_north_east_mesh: Mesh = null + +@export +var corner_north_west_mesh: Mesh = null + +@export +var corner_south_east_mesh: Mesh = null + +@export +var corner_south_west_mesh: Mesh = null + +@export +var edge_east_mesh: Mesh = null + +@export +var edge_north_mesh: Mesh = null + +@export +var edge_south_mesh: Mesh = null + +@export +var edge_west_mesh: Mesh = null + +@export +var endcap_east_mesh: Mesh = null + +@export +var endcap_north_mesh: Mesh = null + +@export +var endcap_south_mesh: Mesh = null + +@export +var endcap_west_mesh: Mesh = null + +@export +var fill_mesh: Mesh = null + +@export +var island_mesh: Mesh = null + +@export +var path_horizontal_mesh: Mesh = null + +@export +var path_vertical_mesh: Mesh = null diff --git a/interior/interior_map.gd b/interior/interior_map.gd index 09c9b3a..42d3bb3 100644 --- a/interior/interior_map.gd +++ b/interior/interior_map.gd @@ -2,173 +2,212 @@ class_name InteriorMap extends Node3D const _CHUNK_SIZE := 32 +const _HALF_PI := PI / 2 + const _GRID_ORIGIN := Vector2(0.5, 0.5) ## -## Cardinal orientation referencing the direction of a tile. ## +## +enum FloorTile { + ISLAND, + ENDCAP_WEST, + ENDCAP_NORTH, + CORNER_NORTH_WEST, + ENDCAP_EAST, + PATH_HORIZONTAL, + CORNER_NORTH_EAST, + EDGE_NORTH, + ENDCAP_SOUTH, + CORNER_SOUTH_WEST, + PATH_VERTICAL, + EDGE_WEST, + CORNER_SOUTH_EAST, + EDGE_SOUTH, + EDGE_EAST, + FILL, +} + enum Orientation { - NORTH, - EAST, - SOUTH, - WEST, + EAST = 2 ** 0, + SOUTH = 2 ** 1, + WEST = 2 ** 2, + NORTH = 2 ** 3, } ## ## Baked block of meshes making up a segment of the grid. ## class Chunk: - var _floor_meshes: Array[Mesh] = [] + var _coordinates := Vector2i.ZERO - var _floor_orientation := PackedInt32Array() + var _interior_map: InteriorMap = null - var _multi_mesh_instances: Array[MultiMeshInstance] = [] + var _meshes_by_floor_tile: Array[Mesh] = [] - var _wall_meshes: Array[Mesh] = [] + var _renderable_by_floor_tile: Array[Renderable] = [] - var _wall_orientation := PackedInt32Array() + func _init(interior_map: InteriorMap, coordinates: Vector2i) -> void: + _interior_map = interior_map + _coordinates = coordinates - func _init() -> void: - var buffer_size := _CHUNK_SIZE * _CHUNK_SIZE + var floor_tile_count := FloorTile.size() - _floor_meshes.resize(buffer_size) - _floor_orientation.resize(buffer_size) - _wall_meshes.resize(buffer_size) - _wall_orientation.resize(buffer_size) + _renderable_by_floor_tile.resize(floor_tile_count) + _meshes_by_floor_tile.resize(floor_tile_count) ## ## Invalidates the mesh block, re-baking its contents from the current mesh data set. ## - func invalidate(interior_map: InteriorMap, coordinate: Vector2i) -> void: - # TODO: Once this is all lowered into native code, look for ways to parallelize the loops. - for multi_mesh_instance in _multi_mesh_instances: - RenderingServer.free_rid(multi_mesh_instance._instance_rid) - RenderingServer.free_rid(multi_mesh_instance._multimesh_rid) + func invalidate() -> void: + _renderable_by_floor_tile.fill(null) - _multi_mesh_instances.clear() + var interior_floor := _interior_map.interior_floor - # Normalize mesh instance data for the chunk. - var transforms_by_mesh := {} - var grid_size := interior_map.size - var half_pi := PI / 2 + if interior_floor == null: + _meshes_by_floor_tile.fill(null) - for i in _floor_meshes.size(): - var mesh := _floor_meshes[i] + else: + _meshes_by_floor_tile[FloorTile.CORNER_NORTH_EAST] = interior_floor.corner_north_east_mesh + _meshes_by_floor_tile[FloorTile.CORNER_NORTH_WEST] = interior_floor.corner_north_west_mesh + _meshes_by_floor_tile[FloorTile.CORNER_SOUTH_EAST] = interior_floor.corner_south_east_mesh + _meshes_by_floor_tile[FloorTile.CORNER_SOUTH_WEST] = interior_floor.corner_south_west_mesh + _meshes_by_floor_tile[FloorTile.EDGE_EAST] = interior_floor.edge_east_mesh + _meshes_by_floor_tile[FloorTile.EDGE_NORTH] = interior_floor.edge_north_mesh + _meshes_by_floor_tile[FloorTile.EDGE_SOUTH] = interior_floor.edge_south_mesh + _meshes_by_floor_tile[FloorTile.EDGE_WEST] = interior_floor.edge_west_mesh + _meshes_by_floor_tile[FloorTile.ENDCAP_EAST] = interior_floor.endcap_east_mesh + _meshes_by_floor_tile[FloorTile.ENDCAP_NORTH] = interior_floor.endcap_north_mesh + _meshes_by_floor_tile[FloorTile.ENDCAP_SOUTH] = interior_floor.endcap_south_mesh + _meshes_by_floor_tile[FloorTile.ENDCAP_WEST] = interior_floor.endcap_west_mesh + _meshes_by_floor_tile[FloorTile.FILL] = interior_floor.fill_mesh + _meshes_by_floor_tile[FloorTile.ISLAND] = interior_floor.island_mesh + _meshes_by_floor_tile[FloorTile.PATH_HORIZONTAL] = interior_floor.path_horizontal_mesh + _meshes_by_floor_tile[FloorTile.PATH_VERTICAL] = interior_floor.path_vertical_mesh - if mesh != null: - if not(mesh in transforms_by_mesh): - transforms_by_mesh[mesh] = [] + var floor_map := _interior_map._floor_map + var map_size := _interior_map.size + var offset := _coordinates * _CHUNK_SIZE + var positions_by_floor_tile: Array[PackedVector2Array] = [] - transforms_by_mesh[mesh].append(Transform3D( - Basis.IDENTITY.rotated(Vector3.UP, half_pi * _floor_orientation[i]), Vector3( - (float(coordinate.x * _CHUNK_SIZE) + (i % _CHUNK_SIZE)) - - (float(grid_size.x) * _GRID_ORIGIN.x) + 0.5, 0.0, - (float(coordinate.y * _CHUNK_SIZE) + (i / _CHUNK_SIZE)) - - (float(grid_size.y) * _GRID_ORIGIN.y) + 0.5))) + positions_by_floor_tile.resize(FloorTile.size()) - for i in _wall_meshes.size(): - var mesh := _wall_meshes[i] + # Find floor tile types. + for y in _CHUNK_SIZE: + for x in _CHUNK_SIZE: + if floor_map.get_bitv(offset + Vector2i(x, y)): + var tile := 0 - if mesh != null: - if not(mesh in transforms_by_mesh): - transforms_by_mesh[mesh] = [] + for i in Orientation.values().size(): + var delta_x := roundi(cos(i * PI / 2.0)) + var delta_y := roundi(sin(i * PI / 2.0)) - transforms_by_mesh[mesh].append(Transform3D( - Basis.IDENTITY.rotated(Vector3.UP, half_pi * _wall_orientation[i]), Vector3( - (float(coordinate.x * _CHUNK_SIZE) + (i % _CHUNK_SIZE)) - - (float(grid_size.x) * _GRID_ORIGIN.x) + 0.5, 0.0, - (float(coordinate.y * _CHUNK_SIZE) + (i / _CHUNK_SIZE)) - - (float(grid_size.y) * _GRID_ORIGIN.y) + 0.5))) + if (0 <= (y + int(delta_y < map_size.y))) and (0 <= (x + int(delta_x < map_size.x))): + tile += int(floor_map.get_bit(x + delta_x, y + delta_y)) * 2 ** i - # (Re)-bake into multimesh instances for the chunk. - var scenario_rid := interior_map.get_world_3d().scenario - var global_transform := interior_map.global_transform + positions_by_floor_tile[tile].append(Vector2(x, y)) - for chunk_mesh in transforms_by_mesh: - var multi_mesh_instance := MultiMeshInstance.new( - scenario_rid, chunk_mesh.get_rid(), transforms_by_mesh[chunk_mesh]) + # (Re)-bake tiles into multimesh instances for the chunk. + var scenario_rid := _interior_map.get_world_3d().scenario - multi_mesh_instance.set_offset(global_transform) - _multi_mesh_instances.append(multi_mesh_instance) + for i in FloorTile.size(): + var floor_positions := positions_by_floor_tile[i] - ## - ## Sets the floor mesh in the chunk at the location relative [code]coordinatess[/code] to - ## [code]mesh[/code]. - ## - ## *Note* that [method Chunk.invalidate] must be called at some point after to visually update - ## the chunk. - ## - func set_floor_mesh(coordinates: Vector2i, orientation: Orientation, mesh: Mesh) -> void: - var index := (_CHUNK_SIZE * coordinates.y) + coordinates.x + if not(floor_positions.is_empty()): + var mesh := _meshes_by_floor_tile[i] - _floor_orientation[index] = orientation - _floor_meshes[index] = mesh + if mesh != null: + var floor_position_count := floor_positions.size() + var renderable := Renderable.new(scenario_rid, _meshes_by_floor_tile[i].get_rid(), floor_position_count) - ## - ## Sets the wall mesh in the chunk at the location relative [code]coordinatess[/code] to - ## [code]mesh[/code]. - ## - ## *Note* that [method Chunk.invalidate] must be called at some point after to visually update - ## the chunk. - ## - func set_wall_mesh(coordinates: Vector2i, orientation: Orientation, mesh: Mesh) -> void: - var index := (_CHUNK_SIZE * coordinates.y) + coordinates.x + for j in floor_position_count: + var tile_position := floor_positions[j] - _wall_orientation[index] = orientation - _wall_meshes[index] = mesh + renderable.set_instance_transform(j, Transform3D(Basis.IDENTITY, Vector3( + ((float(offset.x) + tile_position.x) - (float(map_size.x) * _GRID_ORIGIN.x)) + 0.5, + 0.0, + ((float(offset.y) + tile_position.y) - (float(map_size.y) * _GRID_ORIGIN.y)) + 0.5))) + + _renderable_by_floor_tile[i] = renderable + + func set_transform(transform: Transform3D) -> void: + for renderable in _renderable_by_floor_tile: + if renderable != null: + renderable.set_transform(transform) + + func set_visible(visible: bool) -> void: + for renderable in _renderable_by_floor_tile: + if renderable != null: + renderable.set_visible(visible) ## -## Specialized multi-mesh instance convenience for use within the tile grid and its chunks. ## -class MultiMeshInstance: +## +class Renderable: var _instance_rid := RID() var _multimesh_rid := RID() - func _init(scenario_rid: RID, mesh_rid: RID, transforms: Array) -> void: + func _init(scenario_rid: RID, mesh_rid: RID, transform_count: int) -> void: _multimesh_rid = RenderingServer.multimesh_create() _instance_rid = RenderingServer.instance_create2(_multimesh_rid, scenario_rid) RenderingServer.multimesh_set_mesh(_multimesh_rid, mesh_rid) - var transform_count := transforms.size() - RenderingServer.multimesh_allocate_data(_multimesh_rid, transform_count, RenderingServer.MULTIMESH_TRANSFORM_3D, true) - for i in transform_count: - RenderingServer.multimesh_instance_set_transform(_multimesh_rid, i, transforms[i]) + func _notification(what: int) -> void: + match what: + NOTIFICATION_PREDELETE: + RenderingServer.free_rid(_instance_rid) + RenderingServer.free_rid(_multimesh_rid) ## - ## Sets the transform of the instance to [code]offset[/code]. ## - func set_offset(offset: Transform3D) -> void: - RenderingServer.instance_set_transform(_instance_rid, offset) + ## + func set_instance_transform(instance_index: int, transform: Transform3D) -> void: + RenderingServer.multimesh_instance_set_transform(_multimesh_rid, instance_index, transform) ## - ## Sets the visibility of the instance to [code]is_visible[/code]. ## - func set_visible(is_visible: bool) -> void: - RenderingServer.instance_set_visible(_instance_rid, is_visible) + ## + func set_visible(visible: bool) -> void: + RenderingServer.instance_set_visible(_instance_rid, visible) + + ## + ## + ## + func set_transform(transform: Transform3D) -> void: + RenderingServer.instance_set_transform(_instance_rid, transform) var _chunks: Array[Chunk] = [] var _chunks_size := Vector2i.ZERO +var _floor_map := BitMap.new() + +## +## +## +@export +var interior_floor: InteriorFloor = null + ## ## Size of the tile grid (in engine units). ## @export var size: Vector2i: set(value): - var chunk_size_factor := float(_CHUNK_SIZE) - - _chunks.resize(int(ceilf(value.x / chunk_size_factor) * ceilf(value.y / chunk_size_factor))) - - for i in _chunks.size(): - _chunks[i] = Chunk.new() - _chunks_size = Vector2i((value / float(_CHUNK_SIZE)).ceil()) + + _floor_map.resize(value) + _chunks.resize(_chunks_size.x * _chunks_size.y) + + for y in _chunks_size.y: + for x in _chunks_size.x: + _chunks[(y * _CHUNK_SIZE) + x] = Chunk.new(self, Vector2i(x, y)) + size = value func _get_chunk(chunk_coordinate: Vector2i) -> Chunk: @@ -178,13 +217,11 @@ func _notification(what: int) -> void: match what: NOTIFICATION_TRANSFORM_CHANGED: for chunk in _chunks: - for multi_mesh_instance in chunk._multi_mesh_instances: - multi_mesh_instance.set_offset_transform(global_transform) + chunk.set_transform(global_transform) NOTIFICATION_VISIBILITY_CHANGED: for chunk in _chunks: - for multi_mesh_instance in chunk._multi_mesh_instances: - multi_mesh_instance.set_visible(visible) + chunk.set_visible(visible) ## ## Clears the entirety of the tile grid to only contain tiles of instance [code]tile[/code] pointing @@ -192,42 +229,14 @@ func _notification(what: int) -> void: ## ## For clearing a specific region of the mesh grid, see [method fill_mesh]. ## -func clear_tiles(orientation: Orientation, tile: InteriorTile) -> void: - if tile == null: - for y in size.y: - for x in size.x: - var coordinates := Vector2i(x, y) - var chunk := _get_chunk(coordinates / _CHUNK_SIZE) - var chunk_coordinates := coordinates % _CHUNK_SIZE - - chunk.set_floor_mesh(chunk_coordinates, orientation, null) - chunk.set_wall_mesh(chunk_coordinates, orientation, null) - - else: - var mesh := tile.mesh - - match tile.kind: - InteriorTile.Kind.FLOOR: - for y in size.y: - for x in size.x: - var coordinate := Vector2i(x, y) - - _get_chunk(coordinate / _CHUNK_SIZE).\ - set_floor_mesh(coordinate % _CHUNK_SIZE, orientation, mesh) - - InteriorTile.Kind.WALL: - for y in size.y: - for x in size.x: - var coordinate := Vector2i(x, y) - - _get_chunk(coordinate / _CHUNK_SIZE).\ - set_floor_mesh(coordinate % _CHUNK_SIZE, orientation, mesh) +func clear() -> void: + for y in size.y: + for x in size.x: + _floor_map.set_bit(x, y, false) for y in _chunks_size.y: for x in _chunks_size.x: - var chunk_coordinate := Vector2i(x, y) - - _get_chunk(chunk_coordinate).invalidate(self, chunk_coordinate) + _get_chunk(Vector2i(x, y)).invalidate() ## ## Clears the region of the tile grid at [code]area[/code] to only contain instances of @@ -239,66 +248,22 @@ func clear_tiles(orientation: Orientation, tile: InteriorTile) -> void: ## ## For clearing the whole of the mesh grid, see [method clear_mesh]. ## -func fill_tiles(area: Rect2i, orientation: Orientation, tile: InteriorTile) -> void: - assert(get_area().encloses(area), "area must be within grid") +func fill_floor(area: Rect2i, exists: bool) -> void: + assert(Rect2i(Vector2i.ZERO, size).encloses(area), "area must be within grid") var filled_chunks := BitMap.new() filled_chunks.resize(_chunks_size) - if tile == null: - for y in range(area.position.y, area.end.y): - for x in range(area.position.x, area.end.x): - var coordinates := Vector2i(x, y) - var chunk_coordinates := coordinates / _CHUNK_SIZE - var chunk := _get_chunk(coordinates / _CHUNK_SIZE) - var local_coordinates := coordinates % _CHUNK_SIZE - - chunk.set_floor_mesh(local_coordinates, orientation, null) - chunk.set_wall_mesh(local_coordinates, orientation, null) - filled_chunks.set_bitv(chunk_coordinates, true) - - else: - var mesh := tile.mesh - - if tile.fixed_orientation: - orientation = Orientation.NORTH - - match tile.kind: - InteriorTile.Kind.FLOOR: - for y in range(area.position.y, area.end.y): - for x in range(area.position.x, area.end.x): - var coordinate := Vector2i(x, y) - var chunk_coordinate := coordinate / _CHUNK_SIZE - - _get_chunk(chunk_coordinate).set_floor_mesh( - coordinate % _CHUNK_SIZE, orientation, mesh) - - filled_chunks.set_bitv(chunk_coordinate, true) - - InteriorTile.Kind.WALL: - for y in range(area.position.y, area.end.y): - for x in range(area.position.x, area.end.x): - var coordinate := Vector2i(x, y) - var chunk_coordinate := coordinate / _CHUNK_SIZE - - _get_chunk(chunk_coordinate).set_wall_mesh( - coordinate % _CHUNK_SIZE, orientation, mesh) - - filled_chunks.set_bitv(chunk_coordinate, true) + for y in range(area.position.y, area.end.y): + for x in range(area.position.x, area.end.x): + _floor_map.set_bit(x, y, exists) + filled_chunks.set_bitv(Vector2i(x, y) / _CHUNK_SIZE, true) for y in _chunks_size.y: for x in _chunks_size.x: if filled_chunks.get_bit(x, y): - var chunk_coordinate := Vector2i(x, y) - - _get_chunk(chunk_coordinate).invalidate(self, chunk_coordinate) - -## -## Returns the area of the interior map based on its current size. -## -func get_area() -> Rect2i: - return Rect2i(Vector2i.ZERO, size) + _get_chunk(Vector2i(x, y)).invalidate() ## ## Plots a single tile at [code]coordinates[/code] to be an instance of [code]tile[/code] pointing @@ -310,30 +275,7 @@ func get_area() -> Rect2i: ## ## For bulk-setting many meshes at once, see [method fill_mesh] and [method clear_mesh]. ## -func plot_tile(coordinates: Vector2i, orientation: Orientation, tile: InteriorTile) -> void: - assert(get_area().has_point(coordinates), "coordinate must be within grid") - - var chunk_coordinates := coordinates / _CHUNK_SIZE - var chunk := _get_chunk(chunk_coordinates) - - if tile == null: - var local_coordinates := coordinates % _CHUNK_SIZE - - chunk.set_floor_mesh(local_coordinates, orientation, null) - chunk.set_wall_mesh(local_coordinates, orientation, null) - chunk.invalidate(self, chunk_coordinates) - - else: - var mesh := tile.mesh - - if tile.fixed_orientation: - orientation = Orientation.NORTH - - match tile.kind: - InteriorTile.Kind.FLOOR: - chunk.set_floor_mesh(coordinates % _CHUNK_SIZE, orientation, mesh) - chunk.invalidate(self, chunk_coordinates) - - InteriorTile.Kind.WALL: - chunk.set_wall_mesh(coordinates % _CHUNK_SIZE, orientation, mesh) - chunk.invalidate(self, chunk_coordinates) +func plot_floor(coordinates: Vector2i, exists: bool) -> void: + assert(Rect2i(Vector2i.ZERO, size).has_point(coordinates), "coordinate must be within grid") + _floor_map.set_bitv(coordinates, exists) + _get_chunk(coordinates / _CHUNK_SIZE).invalidate() diff --git a/interior/interior_tile.gd b/interior/interior_tile.gd deleted file mode 100644 index 7668d34..0000000 --- a/interior/interior_tile.gd +++ /dev/null @@ -1,29 +0,0 @@ -class_name InteriorTile extends Resource - -## -## Identifier for the kind of interior tile. -## -enum Kind { - FLOOR, - WALL, -} - -## -## Flag for determining if the tile is affected by orientations specified in an [InteriorMap]. -## -@export -var fixed_orientation := false - -## -## See [enum Kind]. -## -## Interior tiles of different kinds will not conflict when placing them. -## -@export -var kind := Kind.FLOOR - -## -## Used to visualize the interior tile. -## -@export -var mesh: Mesh = null diff --git a/interior/tiles/dungeon_01_pipehole_tile.res b/interior/tiles/dungeon_01_pipehole_tile.res deleted file mode 100644 index d1614cc..0000000 --- a/interior/tiles/dungeon_01_pipehole_tile.res +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4fb7fb7cdf138b9a7842d505894dbc1ece8f08a287fae299e98ebf261a25ed98 -size 131992 diff --git a/interior/tiles/dungeon_01_tiling_tile.res b/interior/tiles/dungeon_01_tiling_tile.res deleted file mode 100644 index 6452a4e..0000000 --- a/interior/tiles/dungeon_01_tiling_tile.res +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:30078a1a1dd8083722061342076196eb1c7fa1f0c4a41bb1d62de5dde04d9911 -size 479 diff --git a/interior/tiles/limestone_dungeon/hole_albedo.png b/interior/tiles/limestone_dungeon/hole_albedo.png deleted file mode 100755 index 9522f38..0000000 --- a/interior/tiles/limestone_dungeon/hole_albedo.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:65be5005d966729b3249802ba1ee1b075c7f03b14376e2e6a81a3b015d85e884 -size 144301 diff --git a/interior/tiles/limestone_dungeon/hole_height.png b/interior/tiles/limestone_dungeon/hole_height.png deleted file mode 100755 index 22ac595..0000000 --- a/interior/tiles/limestone_dungeon/hole_height.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f37d7351c25c1d701726f311957dccd380f74dd918f12f328674467a3a552044 -size 113592 diff --git a/interior/tiles/limestone_dungeon/hole_material.res b/interior/tiles/limestone_dungeon/hole_material.res deleted file mode 100644 index 0463553..0000000 --- a/interior/tiles/limestone_dungeon/hole_material.res +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5d7e372525851ba0b666b73ad301c6a14f0bc29d10c00d32cfd1c72cd2bc341 -size 1090 diff --git a/interior/tiles/limestone_dungeon/hole_normal.png b/interior/tiles/limestone_dungeon/hole_normal.png deleted file mode 100755 index fac6c12..0000000 --- a/interior/tiles/limestone_dungeon/hole_normal.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4db5e7fa31cc065fa3fbac525c04ddf74824d5e4f7a891c5aa84689fb530ffb9 -size 343721 diff --git a/interior/tiles/limestone_dungeon/hole_orm.png b/interior/tiles/limestone_dungeon/hole_orm.png deleted file mode 100644 index b7800a2..0000000 --- a/interior/tiles/limestone_dungeon/hole_orm.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9bd0e2cf8d124f047a835fc143563107b41b0a45a427d1f767d8be5d7470db24 -size 56105 diff --git a/interior/tiles/limestone_dungeon/piping_albedo.png b/interior/tiles/limestone_dungeon/piping_albedo.png deleted file mode 100755 index ff4666c..0000000 --- a/interior/tiles/limestone_dungeon/piping_albedo.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d289f998cf9317afa37ed8519a2a7ab06638aa92a8ce57dc242cf20b60066b36 -size 623939 diff --git a/interior/tiles/limestone_dungeon/piping_height.png b/interior/tiles/limestone_dungeon/piping_height.png deleted file mode 100755 index 5469c2e..0000000 --- a/interior/tiles/limestone_dungeon/piping_height.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da8a57606972d7c93e21f14d20b08a35f3af7618fd76cc27db650f789db013f2 -size 241457 diff --git a/interior/tiles/limestone_dungeon/piping_material.res b/interior/tiles/limestone_dungeon/piping_material.res deleted file mode 100644 index 658cab4..0000000 --- a/interior/tiles/limestone_dungeon/piping_material.res +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12cbd5f995e4a52d7ba01c0803f04a280d92a0176d8a7d3c56b1187d55127ebe -size 1088 diff --git a/interior/tiles/limestone_dungeon/piping_normal.png b/interior/tiles/limestone_dungeon/piping_normal.png deleted file mode 100755 index fca4ab2..0000000 --- a/interior/tiles/limestone_dungeon/piping_normal.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:028cb62c715456b29a27a5b306e7c66b61525f5fd90799df79587f8381499030 -size 755707 diff --git a/interior/tiles/limestone_dungeon/piping_orm.png b/interior/tiles/limestone_dungeon/piping_orm.png deleted file mode 100644 index 50c5416..0000000 --- a/interior/tiles/limestone_dungeon/piping_orm.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d453be063b9e2f82aca00deb9ac54df40ffe4fe55fd59b8078be7417f354e7d6 -size 109618 diff --git a/interior/tiles/limestone_dungeon/tiling_albedo.png b/interior/tiles/limestone_dungeon/tiling_albedo.png deleted file mode 100755 index 8ff1619..0000000 --- a/interior/tiles/limestone_dungeon/tiling_albedo.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:770bae54ae4a1152791a26dfd1f38e0a0201cf3ec36ed85fe6f8122de4e76ed0 -size 1488729 diff --git a/interior/tiles/limestone_dungeon/tiling_albedo.png.import b/interior/tiles/limestone_dungeon/tiling_albedo.png.import deleted file mode 100644 index 8724bfe..0000000 --- a/interior/tiles/limestone_dungeon/tiling_albedo.png.import +++ /dev/null @@ -1,35 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bydc62557j2d0" -path.s3tc="res://.godot/imported/tiling_albedo.png-1570a8acdedf3400258f8b15e49e5d5b.s3tc.ctex" -metadata={ -"imported_formats": ["s3tc_bptc"], -"vram_texture": true -} - -[deps] - -source_file="res://interior/tiles/limestone_dungeon/tiling_albedo.png" -dest_files=["res://.godot/imported/tiling_albedo.png-1570a8acdedf3400258f8b15e49e5d5b.s3tc.ctex"] - -[params] - -compress/mode=2 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=true -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=0 diff --git a/interior/tiles/limestone_dungeon/tiling_material.res b/interior/tiles/limestone_dungeon/tiling_material.res deleted file mode 100644 index 70261a9..0000000 --- a/interior/tiles/limestone_dungeon/tiling_material.res +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:814338830ebfb3d2216711b698cf8881083dd47e57afa18243161f7ca636cdbe -size 1090 diff --git a/interior/tiles/limestone_dungeon/tiling_normal.png b/interior/tiles/limestone_dungeon/tiling_normal.png deleted file mode 100755 index 329738b..0000000 --- a/interior/tiles/limestone_dungeon/tiling_normal.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa6c031538c5459b5394d5e8ef7bfe5a58d8e5da62013ea4b3c9c5c54cdbeebd -size 1264636 diff --git a/interior/tiles/limestone_dungeon/tiling_orm.png b/interior/tiles/limestone_dungeon/tiling_orm.png deleted file mode 100644 index 5a4878f..0000000 --- a/interior/tiles/limestone_dungeon/tiling_orm.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:94cc0c47f71b977eaa12a70147cf85b48b51cbf0106e984d6e62a056a9e1c0d4 -size 431771 diff --git a/map_editor.scn b/map_editor.scn index 08b37f3..02becdc 100644 --- a/map_editor.scn +++ b/map_editor.scn @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:295e8a386f4ecc33196ffafd5435877be918da48112c924773665d9c877ac12a -size 13343 +oid sha256:d12a2d80760eab79b3b1a376f5b8ed1a8f35a4551dee8ee8dd220fce013b18f9 +size 13514 diff --git a/map_editor/tile_selector_button_group.res b/map_editor/floor_selector_button_group.res similarity index 100% rename from map_editor/tile_selector_button_group.res rename to map_editor/floor_selector_button_group.res diff --git a/map_editor/selection_area_mesh.res b/map_editor/selection_area_mesh.res deleted file mode 100644 index d0f15ee..0000000 --- a/map_editor/selection_area_mesh.res +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d30d1595da7c7bab44c9e72b88f8e0bfe946dff33e1a4903ab772104cd43657d -size 894