mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-30 01:41:40 +00:00
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:
@@ -1,4 +1,3 @@
|
||||
set(DSCRIPTS_SOURCES_AI_MINIGAME_SG_GF_SERVER
|
||||
"SGCannon.cpp"
|
||||
"SgTarget.cpp"
|
||||
PARENT_SCOPE)
|
||||
|
||||
@@ -2,4 +2,5 @@ set(DSCRIPTS_SOURCES_AI_MINIGAME_SHOOTING_GALLERY
|
||||
"ShootingGalleryCannon.cpp"
|
||||
"ShootingGalleryLogic.cpp"
|
||||
"ShootingGalleryZone.cpp"
|
||||
"SgTarget.cpp"
|
||||
PARENT_SCOPE)
|
||||
|
||||
@@ -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.
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user