DarkflameServer/dScripts/ZoneGfProperty.cpp
David Markowitz 8cdb388915
Optimize scripts for faster compilation (#597)
* Implement Precompiled Headers

* First volume of optimizations

* Scripts A-B

Gonna be doing this in alphabetical order now.

* C Scripts and remove unneeded includes from base cppscripts header

Remove the MissionComponent and Loot includes from all base scripts and place their needed includes in the respective scripts.

* D scripts

* F scripts

* F scripts 2

Finish up removing extraneous includes from scripts that start with the letter F

* G scripts

Removing extraneous includes from scripts that start with the letter G

* I scripts

Removing extraneous includes from scripts that start with the letter I

* M-Z scripts

Removing extraneous includes from scripts that start with the letter M-Z

* Revert "Implement Precompiled Headers"

This reverts commit d79d8d4991.

* Revert "Revert "Implement Precompiled Headers""

This reverts commit 0597faf308.

* Add back in PCH

Add back in PCH

* Fix CMake

Whitespace

Remove duplicate file glob

Remove newline
2022-07-04 23:00:10 -07:00

41 lines
2.1 KiB
C++

#include "ZoneGfProperty.h"
#include "Entity.h"
void ZoneGfProperty::SetGameVariables(Entity *self) {
self->SetVar<std::string>(ClaimMarkerGroup, "BehavQB");
self->SetVar<std::string>(GeneratorGroup, "Generator");
self->SetVar<std::string>(GuardGroup, "Guard");
self->SetVar<std::string>(PropertyPlaqueGroup, "PropertyPlaque");
self->SetVar<std::string>(PropertyVendorGroup, "PropertyVendor");
self->SetVar<std::string>(SpotsGroup, "Spots");
self->SetVar<std::string>(MSCloudsGroup, "Clouds");
self->SetVar<std::string>(EnemiesGroup, "Enemies");
self->SetVar<std::string>(FXManagerGroup, "FXManager");
self->SetVar<std::string>(ImagOrbGroup, "Orb");
self->SetVar<std::string>(GeneratorFXGroup, "GeneratorFX");
self->SetVar<std::vector<std::string>>(EnemiesSpawner,
{ "PiratesWander", "PiratesGen", "AdmiralsWander", "AdmiralsGen" });
self->SetVar<std::string>(ClaimMarkerSpawner, "BehavPlat");
self->SetVar<std::string>(GeneratorSpawner, "Generator");
self->SetVar<std::string>(DamageFXSpawner, "Clouds");
self->SetVar<std::string>(FXSpotsSpawner, "Spots");
self->SetVar<std::string>(PropertyMGSpawner, "Guard");
self->SetVar<std::string>(ImageOrbSpawner, "Orb");
self->SetVar<std::string>(GeneratorFXSpawner, "GeneratorFX");
self->SetVar<std::string>(SmashablesSpawner, "Smashables");
self->SetVar<std::string>(FXManagerSpawner, "FXManager");
self->SetVar<std::string>(PropObjsSpawner, "BankObj");
self->SetVar<std::vector<std::string>>(AmbientFXSpawner, { "Birds", "Falls", "Sunbeam" });
self->SetVar<std::vector<std::string>>(BehaviorObjsSpawner, { "TrappedPlatform", "IceBarrier", "FireBeast" });
self->SetVar<uint32_t>(defeatedProperyFlag, 98);
self->SetVar<uint32_t>(placedModelFlag, 106);
self->SetVar<uint32_t>(guardMissionFlag, 873);
self->SetVar<uint32_t>(brickLinkMissionIDFlag, 949);
self->SetVar<std::string>(passwordFlag, "s3kratK1ttN");
self->SetVar<LOT>(generatorIdFlag, 11109);
self->SetVar<LOT>(orbIDFlag, 10226);
self->SetVar<LOT>(behaviorQBID, 11001);
}