diff --git a/dScripts/ai/MINIGAME/SG_GF/SERVER/CMakeLists.txt b/dScripts/ai/MINIGAME/SG_GF/SERVER/CMakeLists.txt index 45bf58ca7..fb79c0e9a 100644 --- a/dScripts/ai/MINIGAME/SG_GF/SERVER/CMakeLists.txt +++ b/dScripts/ai/MINIGAME/SG_GF/SERVER/CMakeLists.txt @@ -1,4 +1,3 @@ set(DSCRIPTS_SOURCES_AI_MINIGAME_SG_GF_SERVER "SGCannon.cpp" - "SgTarget.cpp" PARENT_SCOPE) diff --git a/dScripts/ai/MINIGAME/ShootingGallery/CMakeLists.txt b/dScripts/ai/MINIGAME/ShootingGallery/CMakeLists.txt index f6b154eff..f8e85fc69 100644 --- a/dScripts/ai/MINIGAME/ShootingGallery/CMakeLists.txt +++ b/dScripts/ai/MINIGAME/ShootingGallery/CMakeLists.txt @@ -2,4 +2,5 @@ set(DSCRIPTS_SOURCES_AI_MINIGAME_SHOOTING_GALLERY "ShootingGalleryCannon.cpp" "ShootingGalleryLogic.cpp" "ShootingGalleryZone.cpp" + "SgTarget.cpp" PARENT_SCOPE) diff --git a/dScripts/ai/MINIGAME/SG_GF/SERVER/SgTarget.cpp b/dScripts/ai/MINIGAME/ShootingGallery/SgTarget.cpp similarity index 100% rename from dScripts/ai/MINIGAME/SG_GF/SERVER/SgTarget.cpp rename to dScripts/ai/MINIGAME/ShootingGallery/SgTarget.cpp diff --git a/dScripts/ai/MINIGAME/SG_GF/SERVER/SgTarget.h b/dScripts/ai/MINIGAME/ShootingGallery/SgTarget.h similarity index 90% rename from dScripts/ai/MINIGAME/SG_GF/SERVER/SgTarget.h rename to dScripts/ai/MINIGAME/ShootingGallery/SgTarget.h index 3f9d8bac7..9cb3d9f27 100644 --- a/dScripts/ai/MINIGAME/SG_GF/SERVER/SgTarget.h +++ b/dScripts/ai/MINIGAME/ShootingGallery/SgTarget.h @@ -3,7 +3,7 @@ #include "ZoneFile.h" /** - * A GF shooting gallery target (SG_TARGET.lua, set by the cannon as the target's custom_script_server): its explode + * A shooting gallery target (SG_TARGET.lua, which every gallery's cannon sets as its targets' custom_script_server): its explode * factor, its score, and what it does at the waypoints of its path. At the last one it tells the cannon * (FinishedPath, the cannon spawns the next one) and dies silently a moment later; at the others it may change speed * and plays the animation a PlayAim action names. diff --git a/tests/dGameTests/dComponentsTests/MovingPlatformComponentTests.cpp b/tests/dGameTests/dComponentsTests/MovingPlatformComponentTests.cpp index f17f33422..01712f2d6 100644 --- a/tests/dGameTests/dComponentsTests/MovingPlatformComponentTests.cpp +++ b/tests/dGameTests/dComponentsTests/MovingPlatformComponentTests.cpp @@ -17,7 +17,7 @@ #include "MovingPlatformComponent.h" #include "02_server/Map/General/SimpleOnceOnlyMoverSpinnerEvent.h" #include "ai/MINIGAME/ShootingGallery/ShootingGalleryTypes.h" -#include "ai/MINIGAME/SG_GF/SERVER/SgTarget.h" +#include "ai/MINIGAME/ShootingGallery/SgTarget.h" #include "ScriptComponent.h" #include "ScriptedActivityComponent.h" #include "SimplePhysicsComponent.h"