refactor(scripts): SG_TARGET into the shared shooting gallery folder

The target script is the original's ai/ACT one, which every gallery's
cannon gives its targets; no change in what it does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-11-27 21:35:14 -06:00
parent 8d059ab1c8
commit 270593b6b5
5 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,3 @@
set(DSCRIPTS_SOURCES_AI_MINIGAME_SG_GF_SERVER
"SGCannon.cpp"
"SgTarget.cpp"
PARENT_SCOPE)

View File

@@ -2,4 +2,5 @@ set(DSCRIPTS_SOURCES_AI_MINIGAME_SHOOTING_GALLERY
"ShootingGalleryCannon.cpp"
"ShootingGalleryLogic.cpp"
"ShootingGalleryZone.cpp"
"SgTarget.cpp"
PARENT_SCOPE)

View File

@@ -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.

View File

@@ -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"