mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-26 07:27:18 +00:00
G scripts
Removing extraneous includes from scripts that start with the letter G
This commit is contained in:
parent
b0e7a31380
commit
3defd51441
@ -3,12 +3,9 @@
|
|||||||
#include "Entity.h"
|
#include "Entity.h"
|
||||||
#include "DestroyableComponent.h"
|
#include "DestroyableComponent.h"
|
||||||
#include "EntityManager.h"
|
#include "EntityManager.h"
|
||||||
#include "dLogger.h"
|
|
||||||
|
|
||||||
void GfBanana::SpawnBanana(Entity* self)
|
void GfBanana::SpawnBanana(Entity* self)
|
||||||
{
|
{
|
||||||
Game::logger->Log("GfBanana", "Spawning banana\n");
|
|
||||||
|
|
||||||
auto position = self->GetPosition();
|
auto position = self->GetPosition();
|
||||||
const auto rotation = self->GetRotation();
|
const auto rotation = self->GetRotation();
|
||||||
|
|
||||||
@ -44,8 +41,6 @@ void GfBanana::OnStartup(Entity* self)
|
|||||||
|
|
||||||
void GfBanana::OnHit(Entity* self, Entity* attacker)
|
void GfBanana::OnHit(Entity* self, Entity* attacker)
|
||||||
{
|
{
|
||||||
Game::logger->Log("GfBanana", "Spawning cluster\n");
|
|
||||||
|
|
||||||
auto* destroyable = self->GetComponent<DestroyableComponent>();
|
auto* destroyable = self->GetComponent<DestroyableComponent>();
|
||||||
|
|
||||||
destroyable->SetHealth(9999);
|
destroyable->SetHealth(9999);
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#include "GfBananaCluster.h"
|
#include "GfBananaCluster.h"
|
||||||
|
#include "Entity.h"
|
||||||
|
|
||||||
void GfBananaCluster::OnStartup(Entity* self)
|
void GfBananaCluster::OnStartup(Entity* self)
|
||||||
{
|
{
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
#include "GfCampfire.h"
|
#include "GfCampfire.h"
|
||||||
#include "GameMessages.h"
|
|
||||||
|
|
||||||
#include "RenderComponent.h"
|
#include "RenderComponent.h"
|
||||||
#include "SkillComponent.h"
|
#include "SkillComponent.h"
|
||||||
#include "MissionComponent.h"
|
#include "MissionComponent.h"
|
||||||
#include "RenderComponent.h"
|
#include "RenderComponent.h"
|
||||||
#include "ProximityMonitorComponent.h"
|
|
||||||
#include "EntityManager.h"
|
#include "EntityManager.h"
|
||||||
|
|
||||||
void GfCampfire::OnStartup(Entity* self) {
|
void GfCampfire::OnStartup(Entity* self) {
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#include "GfJailWalls.h"
|
#include "GfJailWalls.h"
|
||||||
#include "EntityManager.h"
|
|
||||||
#include "dZoneManager.h"
|
#include "dZoneManager.h"
|
||||||
#include "GeneralUtils.h"
|
#include "GeneralUtils.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
#include "GameMessages.h"
|
#include "GameMessages.h"
|
||||||
#include "EntityManager.h"
|
#include "EntityManager.h"
|
||||||
#include "MissionComponent.h"
|
#include "MissionComponent.h"
|
||||||
#include "MissionTaskType.h"
|
|
||||||
#include "RenderComponent.h"
|
#include "RenderComponent.h"
|
||||||
|
|
||||||
void GfTikiTorch::OnStartup(Entity* self) {
|
void GfTikiTorch::OnStartup(Entity* self) {
|
||||||
|
Loading…
Reference in New Issue
Block a user