Skip to content

Commit

Permalink
Clean and improve performance of imports (FAForever#4325)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hdt80bro authored Nov 3, 2022
1 parent cd288de commit b1e44eb
Show file tree
Hide file tree
Showing 1,402 changed files with 4,303 additions and 4,303 deletions.
2 changes: 1 addition & 1 deletion effects/EMPFluxWarhead/EMPFluxWarheadEffect01_script.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--
-- script for projectile BoneAttached
--
local NullShell = import('/lua/sim/defaultprojectiles.lua').NullShell
local NullShell = import("/lua/sim/defaultprojectiles.lua").NullShell

EMPFluxWarheadEffect01 = Class(NullShell) {}

Expand Down
2 changes: 1 addition & 1 deletion effects/EMPFluxWarhead/EMPFluxWarheadEffect02_script.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--
-- script for projectile BoneAttached
--
local NullShell = import('/lua/sim/defaultprojectiles.lua').NullShell
local NullShell = import("/lua/sim/defaultprojectiles.lua").NullShell

EMPFluxWarheadEffect02 = Class(NullShell) {}

Expand Down
2 changes: 1 addition & 1 deletion effects/EMPFluxWarhead/EMPFluxWarheadEffect03_script.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--
-- script for projectile BoneAttached
--
local NullShell = import('/lua/sim/defaultprojectiles.lua').NullShell
local NullShell = import("/lua/sim/defaultprojectiles.lua").NullShell

EMPFluxWarheadEffect03 = Class(NullShell) {}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

ADFTractorFall01 = Class(import('/lua/sim/projectile.lua').DummyProjectile) { }
ADFTractorFall01 = Class(import("/lua/sim/projectile.lua").DummyProjectile) { }
TypeClass = ADFTractorFall01
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

local DummyProjectile = import('/lua/sim/projectile.lua').DummyProjectile
local DummyProjectile = import("/lua/sim/projectile.lua").DummyProjectile
AeonBuildEffect01 = Class(DummyProjectile) { }
TypeClass = AeonBuildEffect01
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
--**
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************
local EffectTemplate = import('/lua/EffectTemplates.lua')
local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile
local EffectTemplate = import("/lua/effecttemplates.lua")
local EmitterProjectile = import("/lua/sim/defaultprojectiles.lua").EmitterProjectile

BrackmanQAIHackCircuitryEffect01 = Class(EmitterProjectile) {
FxImpactTrajectoryAligned = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
--**
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************
local EffectTemplate = import('/lua/EffectTemplates.lua')
local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile
local EffectTemplate = import("/lua/effecttemplates.lua")
local EmitterProjectile = import("/lua/sim/defaultprojectiles.lua").EmitterProjectile

BrackmanQAIHackCircuitryEffect02 = Class(EmitterProjectile) {
FxImpactTrajectoryAligned = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
--**
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************
local EffectTemplate = import('/lua/EffectTemplates.lua')
local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile
local EffectTemplate = import("/lua/effecttemplates.lua")
local EmitterProjectile = import("/lua/sim/defaultprojectiles.lua").EmitterProjectile

BrackmanQAIHackCircuitryEffect03 = Class(EmitterProjectile) {
FxImpactTrajectoryAligned = true,
Expand Down
2 changes: 1 addition & 1 deletion effects/Entities/DEBRISMISC010/DebrisMisc010_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
-- script for projectile BoneAttached
--

local GenericDebris = import('/lua/genericdebris.lua').GenericDebris
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris
DebrisMisc04 = Class(GenericDebris) { }
TypeClass = DebrisMisc04
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--
-- script for projectile BoneAttached
--
local GenericDebris = import('/lua/genericdebris.lua').GenericDebris
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris
DebrisBoneAttachChassis01 = Class(GenericDebris) {
FxLandHitScale = 1.0,
FxTrails = {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--
-- script for projectile BoneAttached
--
local GenericDebris = import('/lua/genericdebris.lua').GenericDebris
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris
DebrisBoneAttachHigh01 = Class(GenericDebris) {
FxUnitHitScale = 0.25,
FxWaterHitScale = 0.25,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-- script for projectile BoneAttached

local GenericDebris = import('/lua/genericdebris.lua').GenericDebris
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris
DebrisBoneAttachLow01 = Class(GenericDebris) {
FxUnitHitScale = 0.25,
FxUnderWaterHitScale = 0.25,
Expand Down
2 changes: 1 addition & 1 deletion effects/Entities/DebrisMisc01/DebrisMisc01_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
-- script for projectile BoneAttached
--

local GenericDebris = import('/lua/genericdebris.lua').GenericDebris
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris
DebrisMisc01 = Class(GenericDebris) { }
TypeClass = DebrisMisc01
2 changes: 1 addition & 1 deletion effects/Entities/DebrisMisc02/DebrisMisc02_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
-- script for projectile BoneAttached
--

local GenericDebris = import('/lua/genericdebris.lua').GenericDebris
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris
DebrisMisc02 = Class(GenericDebris) { }
TypeClass = DebrisMisc02
2 changes: 1 addition & 1 deletion effects/Entities/DebrisMisc03/DebrisMisc03_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
-- script for projectile BoneAttached
--

local GenericDebris = import('/lua/genericdebris.lua').GenericDebris
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris
DebrisMisc03 = Class(GenericDebris) { }
TypeClass = DebrisMisc03
2 changes: 1 addition & 1 deletion effects/Entities/DebrisMisc04/DebrisMisc04_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- script for projectile BoneAttached
--

local GenericDebris = import('/lua/genericdebris.lua').GenericDebris
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris
DebrisMisc04 = Class(GenericDebris) { }
TypeClass = DebrisMisc04

2 changes: 1 addition & 1 deletion effects/Entities/DebrisMisc05/DebrisMisc05_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- script for projectile BoneAttached
--

local GenericDebris = import('/lua/genericdebris.lua').GenericDebris
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris
DebrisMisc05 = Class(GenericDebris) { }
TypeClass = DebrisMisc05

2 changes: 1 addition & 1 deletion effects/Entities/DebrisMisc06/DebrisMisc06_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
-- script for projectile BoneAttached
--

local GenericDebris = import('/lua/genericdebris.lua').GenericDebris
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris
DebrisMisc01 = Class(GenericDebris) { }
TypeClass = DebrisMisc01
2 changes: 1 addition & 1 deletion effects/Entities/DebrisMisc07/DebrisMisc07_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
-- script for projectile BoneAttached
--

local GenericDebris = import('/lua/genericdebris.lua').GenericDebris
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris
DebrisMisc02 = Class(GenericDebris) { }
TypeClass = DebrisMisc02
2 changes: 1 addition & 1 deletion effects/Entities/DebrisMisc08/DebrisMisc08_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
-- script for projectile BoneAttached
--

local GenericDebris = import('/lua/genericdebris.lua').GenericDebris
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris
DebrisMisc03 = Class(GenericDebris) { }
TypeClass = DebrisMisc03
2 changes: 1 addition & 1 deletion effects/Entities/DebrisMisc09/DebrisMisc09_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
-- script for projectile BoneAttached
--

local GenericDebris = import('/lua/genericdebris.lua').GenericDebris
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris
DebrisMisc04 = Class(GenericDebris) { }
TypeClass = DebrisMisc04
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--
-- script for projectile BoneAttached
--
local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile
local EmitterProjectile = import("/lua/sim/defaultprojectiles.lua").EmitterProjectile

DestructionDust01 = Class(EmitterProjectile) {
FxTrails = {'/effects/emitters/terran_bomber_dust_blanket_01_emit.bp',},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--
-- Fire Test Projectile Script
--
local NullShell = import('/lua/sim/defaultprojectiles.lua').NullShell
local NullShell = import("/lua/sim/defaultprojectiles.lua").NullShell

DestructionFire01 = Class(NullShell) {
FxImpactUnit = {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--
-- Fire Plume Test Projectile Script
--
local NullShell = import('/lua/sim/defaultprojectiles.lua').NullShell
local NullShell = import("/lua/sim/defaultprojectiles.lua").NullShell

DestructionFirePlume01 = Class(NullShell) {
FxImpactUnit = {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--
-- Fire Test Projectile Script
--
local NullShell = import('/lua/sim/defaultprojectiles.lua').NullShell
local NullShell = import("/lua/sim/defaultprojectiles.lua").NullShell

DestructionSpark01 = Class(NullShell) {
FxImpactUnit = {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile
local EmitterProjectile = import("/lua/sim/defaultprojectiles.lua").EmitterProjectile

EffectProtonAmbient01 = Class(EmitterProjectile) {
FxTrails = {'/effects/emitters/proton_bomb_hit_03_emit.bp',},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--
-- script for projectile BoneAttached
--
local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile
local EmitterProjectile = import("/lua/sim/defaultprojectiles.lua").EmitterProjectile

EffectThrustTransport01 = Class(EmitterProjectile) {
FxTrails = {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--
-- script for projectile BoneAttached
--
local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile
local EmitterProjectile = import("/lua/sim/defaultprojectiles.lua").EmitterProjectile

EffectThrustTransport01 = Class(EmitterProjectile) {
FxTrails = {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
-- Summary : Inaino Bomb effect controller script
-- Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
------------------------------------------------------------------------------------------------------
local NullShell = import('/lua/sim/defaultprojectiles.lua').NullShell
local RandomFloat = import('/lua/utilities.lua').GetRandomFloat
local EffectTemplate = import('/lua/EffectTemplates.lua')
local NullShell = import("/lua/sim/defaultprojectiles.lua").NullShell
local RandomFloat = import("/lua/utilities.lua").GetRandomFloat
local EffectTemplate = import("/lua/effecttemplates.lua")

local SIFInainoStrategicMissileEffect01 = '/effects/Entities/SIFInainoStrategicMissileEffect01/SIFInainoStrategicMissileEffect01_proj.bp'
local SIFInainoStrategicMissileEffect02 = '/effects/Entities/SIFInainoStrategicMissileEffect02/SIFInainoStrategicMissileEffect02_proj.bp'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
--**
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************
local EffectTemplate = import('/lua/EffectTemplates.lua')
local EffectTemplate = import("/lua/effecttemplates.lua")

SBOOhwalliBombEffect01 = Class(import('/lua/sim/defaultprojectiles.lua').EmitterProjectile) {
SBOOhwalliBombEffect01 = Class(import("/lua/sim/defaultprojectiles.lua").EmitterProjectile) {
FxTrails = EffectTemplate.SOhwalliBombPlumeFxTrails01,
}
TypeClass = SBOOhwalliBombEffect01
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
--**
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************
local EffectTemplate = import('/lua/EffectTemplates.lua')
local EffectTemplate = import("/lua/effecttemplates.lua")

SBOOhwalliBombEffect02 = Class(import('/lua/sim/defaultprojectiles.lua').EmitterProjectile) {
SBOOhwalliBombEffect02 = Class(import("/lua/sim/defaultprojectiles.lua").EmitterProjectile) {
FxTrails = EffectTemplate.SOhwalliBombHitSpiralFxTrails02,
}
TypeClass = SBOOhwalliBombEffect02
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************

SBOOhwalliBombEffect03 = Class(import('/lua/sim/defaultprojectiles.lua').EmitterProjectile) {
FxTrails = import('/lua/EffectTemplates.lua').SOhwalliBombHitRingProjectileFxTrails03,
SBOOhwalliBombEffect03 = Class(import("/lua/sim/defaultprojectiles.lua").EmitterProjectile) {
FxTrails = import("/lua/effecttemplates.lua").SOhwalliBombHitRingProjectileFxTrails03,
}
TypeClass = SBOOhwalliBombEffect03
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
--**
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************
local EffectTemplate = import('/lua/EffectTemplates.lua')
local RandomInt = import('/lua/utilities.lua').GetRandomInt
local EffectTemplate = import("/lua/effecttemplates.lua")
local RandomInt = import("/lua/utilities.lua").GetRandomInt

SBOOhwalliBombEffect04 = Class(import('/lua/sim/defaultprojectiles.lua').EmitterProjectile) {
SBOOhwalliBombEffect04 = Class(import("/lua/sim/defaultprojectiles.lua").EmitterProjectile) {
FxTrails = EffectTemplate.SOhwalliBombHitRingProjectileFxTrails04,
}
TypeClass = SBOOhwalliBombEffect04
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
--**
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************
local EffectTemplate = import('/lua/EffectTemplates.lua')
local EffectTemplate = import("/lua/effecttemplates.lua")

SBOOhwalliBombEffect05 = Class(import('/lua/sim/defaultprojectiles.lua').EmitterProjectile) {
SBOOhwalliBombEffect05 = Class(import("/lua/sim/defaultprojectiles.lua").EmitterProjectile) {
FxTrails = EffectTemplate.SOhwalliBombHitRingProjectileFxTrails05,
}
TypeClass = SBOOhwalliBombEffect05
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
--**
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************
local EffectTemplate = import('/lua/EffectTemplates.lua')
local EffectTemplate = import("/lua/effecttemplates.lua")

SBOOhwalliBombEffect06 = Class(import('/lua/sim/defaultprojectiles.lua').EmitterProjectile) {
SBOOhwalliBombEffect06 = Class(import("/lua/sim/defaultprojectiles.lua").EmitterProjectile) {
FxTrails = EffectTemplate.SOhwalliBombHitRingProjectileFxTrails06,
}
TypeClass = SBOOhwalliBombEffect06
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
--**
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************
local NullShell = import('/lua/sim/defaultprojectiles.lua').NullShell
local RandomFloat = import('/lua/utilities.lua').GetRandomFloat
local RandomInt = import('/lua/utilities.lua').GetRandomInt
local EffectTemplate = import('/lua/EffectTemplates.lua')
local NullShell = import("/lua/sim/defaultprojectiles.lua").NullShell
local RandomFloat = import("/lua/utilities.lua").GetRandomFloat
local RandomInt = import("/lua/utilities.lua").GetRandomInt
local EffectTemplate = import("/lua/effecttemplates.lua")

local BaseRingRiftEffects = {
'/effects/Entities/SBOOhwalliBombEffect03/SBOOhwalliBombEffect03_proj.bp',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
--**
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************
local EffectTemplate = import('/lua/EffectTemplates.lua')
local EffectTemplate = import("/lua/effecttemplates.lua")

SBOZhanaseeBombEffect01 = Class(import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile) {
SBOZhanaseeBombEffect01 = Class(import("/lua/sim/defaultprojectiles.lua").MultiPolyTrailProjectile) {
FxTrails = {},
PolyTrails = EffectTemplate.SZhanaseeBombHitSpiralFxPolyTrails,
PolyTrailOffset = {0},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
--**
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************
local EffectTemplate = import('/lua/EffectTemplates.lua')
local EffectTemplate = import("/lua/effecttemplates.lua")

SBOZhanaseeBombEffect02 = Class(import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile) {
SBOZhanaseeBombEffect02 = Class(import("/lua/sim/defaultprojectiles.lua").MultiPolyTrailProjectile) {
FxTrails = {},
PolyTrails = EffectTemplate.SZhanaseeBombHitSpiralFxPolyTrails,
PolyTrailOffset = {0},
Expand Down
6 changes: 3 additions & 3 deletions effects/Entities/SCUDeath01/SCUDeath01_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
--** Copyright © 2005,2006 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************

local NullShell = import('/lua/sim/defaultprojectiles.lua').NullShell
local EffectTemplate = import('/lua/EffectTemplates.lua')
local Util = import('/lua/utilities.lua')
local NullShell = import("/lua/sim/defaultprojectiles.lua").NullShell
local EffectTemplate = import("/lua/effecttemplates.lua")
local Util = import("/lua/utilities.lua")
local RandomFloat = Util.GetRandomFloat

SCUDeath01 = Class(NullShell) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--
-- script for projectile BoneAttached
--
local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile
local EmitterProjectile = import("/lua/sim/defaultprojectiles.lua").EmitterProjectile

SCUDeathShockwave01 = Class(EmitterProjectile) {
FxTrails = {'/effects/emitters/shockwave_smoke_01_emit.bp',},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
--**
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
--****************************************************************************
local EffectTemplate = import('/lua/EffectTemplates.lua')
local EffectTemplate = import("/lua/effecttemplates.lua")

SIFExperimentalStrategicMissileEffect01 = Class(import('/lua/sim/defaultprojectiles.lua').EmitterProjectile) {
SIFExperimentalStrategicMissileEffect01 = Class(import("/lua/sim/defaultprojectiles.lua").EmitterProjectile) {
FxTrails = EffectTemplate.SIFExperimentalStrategicMissilePlumeFxTrails01,
}
TypeClass = SIFExperimentalStrategicMissileEffect01
Loading

0 comments on commit b1e44eb

Please sign in to comment.