From f3454c3063ec05bb499ff4d77a36121fdaa2bcec Mon Sep 17 00:00:00 2001
From: insunaa <dev.insuna@gmail.com>
Date: Sun, 17 Nov 2024 11:09:08 +0100
Subject: [PATCH] Meson: Add BGQ and Mana Tombs, Fix PCH

---
 src/game/meson.build   | 4 +++-
 src/shared/meson.build | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/game/meson.build b/src/game/meson.build
index 8da185844e..a35d9aea40 100644
--- a/src/game/meson.build
+++ b/src/game/meson.build
@@ -40,6 +40,7 @@ game_sources = [
   'BattleGround/BattleGroundNA.cpp',
   'BattleGround/BattleGroundAA.cpp',
   'BattleGround/BattleGroundBE.cpp',
+  'BattleGround/BattleGroundQueue.cpp',
   'Entities/SkillHandler.cpp',
   'Entities/MiscHandler.cpp',
   'Entities/QueryHandler.cpp',
@@ -540,6 +541,7 @@ scriptdev_sources = [
   'AI/ScriptDevAI/scripts/outland/auchindoun/shadow_labyrinth/boss_blackheart_the_inciter.cpp',
   'AI/ScriptDevAI/scripts/outland/auchindoun/mana_tombs/boss_yor.cpp',
   'AI/ScriptDevAI/scripts/outland/auchindoun/mana_tombs/mana_tombsScripts.cpp',
+  'AI/ScriptDevAI/scripts/outland/auchindoun/mana_tombs/mana_tombs.cpp',
   'AI/ScriptDevAI/scripts/outland/auchindoun/mana_tombs/boss_nexusprince_shaffar.cpp',
   'AI/ScriptDevAI/scripts/outland/auchindoun/mana_tombs/boss_pandemonius.cpp',
   'AI/ScriptDevAI/scripts/outland/auchindoun/sethekk_halls/boss_anzu.cpp',
@@ -633,7 +635,7 @@ endif
 if not get_option('PCH')
   pch_files = []
 else
-  pch_files = ['../game/pchdef.h', '../game/pchdef.cpp']
+  pch_files = ['../game/pchdef.h']
 endif
 
 game_args = ['-DDT_POLYREF64', '-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0']
diff --git a/src/shared/meson.build b/src/shared/meson.build
index c244c06068..5affdfb6de 100644
--- a/src/shared/meson.build
+++ b/src/shared/meson.build
@@ -70,7 +70,7 @@ actual_rev = vcs_tag(
 if not get_option('PCH')
   pch_files = []
 else
-  pch_files = ['../shared/pchdef.h', '../shared/pchdef.cpp']
+  pch_files = ['../shared/pchdef.h']
 endif
 
 if get_option('BUILD_GAME_SERVER') or get_option('BUILD_LOGIN_SERVER') or get_option('BUILD_EXTRACTORS')