mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-30 01:41:40 +00:00
SG_CANNON.lua and L_GF_SG.lua line for line, as a shared cannon and zone script (ShootingGallery folder) that a gallery fills with its constants and targets; GF's (SGCannon, ZoneSGServer) is now that data. The cannon gets the zone control's ActivityStateChangeRequest, MessageBoxRespond and ObjectLoaded from the zone script, as the original asked to be told of them. As the original: waves end through their own EndWave<n> timer and the last one through GameOver; targets spawn 1 s or more after their timer starts; scores are counted at the shot's end and can go below 0; the super charge is the shot of its cannon ball; one activity reward roll, rated by the score; the wave, fire and preload animations and effects; GF's spawn table as the original's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
183 B
C++
8 lines
183 B
C++
#include "ZoneSGServer.h"
|
|
|
|
#include "GfShootingGalleryData.h"
|
|
|
|
const ShootingGallery::Constants& ZoneSGServer::GetConstants() const {
|
|
return GfShootingGalleryData::GetConstants();
|
|
}
|