From 5f677e9ad612d70605f6a2037586eab66e40b94b Mon Sep 17 00:00:00 2001
From: Boondorl <59555366+Boondorl@users.noreply.github.com>
Date: Tue, 13 Sep 2022 13:49:48 -0400
Subject: [PATCH] Fixed BCS importing and added missing sector actions (#785)

---
 Build/Compilers/BCC/bcc.cfg                   |  2 +-
 .../BCC/{zcommon.acs => zcommon.bcs}          |  0
 .../Configurations/Includes/ZDoom_things.cfg  | 36 +++++++++++++++++++
 3 files changed, 37 insertions(+), 1 deletion(-)
 rename Build/Compilers/BCC/{zcommon.acs => zcommon.bcs} (100%)
 mode change 100755 => 100644

diff --git a/Build/Compilers/BCC/bcc.cfg b/Build/Compilers/BCC/bcc.cfg
index 41f747bc4..ccac46828 100755
--- a/Build/Compilers/BCC/bcc.cfg
+++ b/Build/Compilers/BCC/bcc.cfg
@@ -9,7 +9,7 @@ compilers
 	{
 		interface = "AccCompiler";
 		program = "bcc.exe";
-		zcommon = "zcommon.acs";
+		zcommon = "zcommon.bcs";
 		std = "std.acs";
 	}
 }
diff --git a/Build/Compilers/BCC/zcommon.acs b/Build/Compilers/BCC/zcommon.bcs
old mode 100755
new mode 100644
similarity index 100%
rename from Build/Compilers/BCC/zcommon.acs
rename to Build/Compilers/BCC/zcommon.bcs
diff --git a/Build/Configurations/Includes/ZDoom_things.cfg b/Build/Configurations/Includes/ZDoom_things.cfg
index d80a3b209..32780fd18 100755
--- a/Build/Configurations/Includes/ZDoom_things.cfg
+++ b/Build/Configurations/Includes/ZDoom_things.cfg
@@ -971,6 +971,42 @@ zdoom
 		fixedsize = true;
 		sprite = "internal:action";
 		
+		9600
+		{
+			title = "Sector Floor Damaged";
+			class = "SecActDamageFloor";
+		}
+		
+		9601
+		{
+			title = "Sector Ceiling Damaged";
+			class = "SecActDamageCeiling";
+		}
+		
+		9602
+		{
+			title = "Sector Floor Died";
+			class = "SecActDeathFloor";
+		}
+		
+		9603
+		{
+			title = "Sector Ceiling Died";
+			class = "SecActDeathCeiling";
+		}
+		
+		9604
+		{
+			title = "3D Sector Damaged";
+			class = "SecActDamage3D";
+		}
+		
+		9605
+		{
+			title = "3D Sector Died";
+			class = "SecActDeath3D";
+		}
+		
 		9082
 		{
 			title = "Silent Sector";
-- 
GitLab