forked from FAForever/fa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce and fix code annotations (FAForever#5644)
- Loading branch information
Showing
91 changed files
with
563 additions
and
541 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
-- | ||
-- script for projectile BoneAttached | ||
-- | ||
local NullShell = import("/lua/sim/defaultprojectiles.lua").NullShell | ||
|
||
--- script for projectile BoneAttached | ||
---@class EMPFluxWarheadEffect01 : NullShell | ||
EMPFluxWarheadEffect01 = Class(NullShell) {} | ||
|
||
TypeClass = EMPFluxWarheadEffect01 | ||
|
||
TypeClass = EMPFluxWarheadEffect01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
-- | ||
-- script for projectile BoneAttached | ||
-- | ||
local NullShell = import("/lua/sim/defaultprojectiles.lua").NullShell | ||
|
||
--- script for projectile BoneAttached | ||
---@class EMPFluxWarheadEffect02 : NullShell | ||
EMPFluxWarheadEffect02 = Class(NullShell) {} | ||
|
||
TypeClass = EMPFluxWarheadEffect02 | ||
|
||
TypeClass = EMPFluxWarheadEffect02 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
-- | ||
-- script for projectile BoneAttached | ||
-- | ||
local NullShell = import("/lua/sim/defaultprojectiles.lua").NullShell | ||
|
||
--- script for projectile BoneAttached | ||
---@class EMPFluxWarheadEffect03 : NullShell | ||
EMPFluxWarheadEffect03 = Class(NullShell) {} | ||
|
||
TypeClass = EMPFluxWarheadEffect03 | ||
|
||
TypeClass = EMPFluxWarheadEffect03 |
4 changes: 2 additions & 2 deletions
4
effects/Entities/ADFTractorFall01/ADFTractorFall01_script.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
---@class ADFTractorFall01 : DummyProjectile | ||
ADFTractorFall01 = ClassDummyProjectile(import("/lua/sim/projectile.lua").DummyProjectile) { } | ||
TypeClass = ADFTractorFall01 | ||
TypeClass = ADFTractorFall01 |
4 changes: 2 additions & 2 deletions
4
effects/Entities/AeonBuildEffect/AeonBuildEffect01_script.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
---@class AeonBuildEffect01 : DummyProjectile | ||
AeonBuildEffect01 = ClassDummyProjectile(import("/lua/sim/projectile.lua").DummyProjectile) { } | ||
TypeClass = AeonBuildEffect01 | ||
TypeClass = AeonBuildEffect01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
---@class DebrisMisc010 : GenericDebris | ||
DebrisMisc010 = ClassDummyProjectile(import("/lua/genericdebris.lua").GenericDebris) { } | ||
TypeClass = DebrisMisc010 |
5 changes: 3 additions & 2 deletions
5
effects/Entities/DebrisBoneAttachChassis01/DebrisBoneAttachChassis01_script.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
local GenericDebris = import("/lua/genericdebris.lua").GenericDebris | ||
|
||
---@class DebrisBoneAttachChassis01 : GenericDebris | ||
DebrisBoneAttachChassis01 = ClassDummyProjectile(GenericDebris) { | ||
FxLandHitScale = 1.0, | ||
FxTrails = { }, | ||
FxTrailScale = 1, | ||
} | ||
TypeClass = DebrisBoneAttachChassis01 | ||
|
||
TypeClass = DebrisBoneAttachChassis01 |
2 changes: 2 additions & 0 deletions
2
effects/Entities/DebrisBoneAttachHigh01/DebrisBoneAttachHigh01_script.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
effects/Entities/DebrisBoneAttachLow01/DebrisBoneAttachLow01_script.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
--- DebrisMisc01 | ||
---@class DebrisMisc01 : GenericDebris | ||
DebrisMisc01 = ClassDummyProjectile(import("/lua/genericdebris.lua").GenericDebris) { } | ||
TypeClass = DebrisMisc01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
--- DebrisMisc02 | ||
---@class DebrisMisc02 : GenericDebris | ||
DebrisMisc02 = ClassDummyProjectile(import("/lua/genericdebris.lua").GenericDebris) { } | ||
TypeClass = DebrisMisc02 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
---@class DebrisMisc03 : GenericDebris | ||
DebrisMisc03 = ClassDummyProjectile(import("/lua/genericdebris.lua").GenericDebris) { } | ||
TypeClass = DebrisMisc03 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
---@class DebrisMisc04 : GenericDebris | ||
DebrisMisc04 = ClassDummyProjectile(import("/lua/genericdebris.lua").GenericDebris) { } | ||
TypeClass = DebrisMisc04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
---@class DebrisMisc05 : GenericDebris | ||
DebrisMisc05 = ClassDummyProjectile(import("/lua/genericdebris.lua").GenericDebris) { } | ||
TypeClass = DebrisMisc05 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
---@class DebrisMisc06 : GenericDebris | ||
DebrisMisc06 = ClassDummyProjectile(import("/lua/genericdebris.lua").GenericDebris) { } | ||
TypeClass = DebrisMisc06 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
---@class DebrisMisc07 : GenericDebris | ||
DebrisMisc07 = ClassDummyProjectile(import("/lua/genericdebris.lua").GenericDebris) { } | ||
TypeClass = DebrisMisc07 | ||
TypeClass = DebrisMisc07 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
---@class DebrisMisc08 : GenericDebris | ||
DebrisMisc08 = ClassDummyProjectile(import("/lua/genericdebris.lua").GenericDebris) { } | ||
TypeClass = DebrisMisc08 | ||
TypeClass = DebrisMisc08 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
---@class DebrisMisc09 : GenericDebris | ||
DebrisMisc09 = ClassDummyProjectile(import("/lua/genericdebris.lua").GenericDebris) { } | ||
TypeClass = DebrisMisc09 | ||
TypeClass = DebrisMisc09 |
2 changes: 2 additions & 0 deletions
2
effects/Entities/DestructionDust01/DestructionDust01_script.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
effects/Entities/DestructionFire01/DestructionFire01_script.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
effects/Entities/DestructionFirePlume01/DestructionFirePlume01_script.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
effects/Entities/DestructionSpark01/DestructionSpark01_script.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
-- | ||
-- Fire Test Projectile Script | ||
-- | ||
local NullShell = import("/lua/sim/defaultprojectiles.lua").NullShell | ||
|
||
--- Fire Test Projectile Script | ||
---@class DestructionSpark01 : NullShell | ||
DestructionSpark01 = Class(NullShell) { | ||
FxImpactUnit = { }, | ||
FxImpactLand = { }, | ||
FxImpactWater = { }, | ||
FxImpactNone = { }, | ||
} | ||
TypeClass = DestructionSpark01 | ||
|
||
TypeClass = DestructionSpark01 |
2 changes: 1 addition & 1 deletion
2
effects/Entities/EffectProtonAmbient01/EffectProtonAmbient01_script.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
local EmitterProjectile = import("/lua/sim/defaultprojectiles.lua").EmitterProjectile | ||
|
||
---@class EffectProtonAmbient01 : EmitterProjectile | ||
EffectProtonAmbient01 = Class(EmitterProjectile) { | ||
FxTrails = {'/effects/emitters/proton_bomb_hit_03_emit.bp',}, | ||
} | ||
|
||
TypeClass = EffectProtonAmbient01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 9 additions & 10 deletions
19
effects/Entities/SBOOhwalliBombEffect01/SBOOhwalliBombEffect01_script.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
--**************************************************************************** | ||
--** | ||
--** File : /data/projectiles/SBOOhwalliBombEffect01/SBOOhwalliBombEffect01_script.lua | ||
--** Author(s): Greg Kohne, Gordon Duclos | ||
--** | ||
--** Summary : Ohwalli Strategic Bomb effect script, non-damaging | ||
--** | ||
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved. | ||
--**************************************************************************** | ||
------------------------------------------------------------------------------ | ||
-- File : /data/projectiles/SBOOhwalliBombEffect01/SBOOhwalliBombEffect01_script.lua | ||
-- Author(s): Greg Kohne, Gordon Duclos | ||
-- Summary : Ohwalli Strategic Bomb effect script, non-damaging | ||
-- Copyright © 2007 Gas Powered Games, Inc. All rights reserved. | ||
------------------------------------------------------------------------------ | ||
local EffectTemplate = import("/lua/effecttemplates.lua") | ||
|
||
--- Ohwalli Strategic Bomb effect script, non-damaging | ||
---@class SBOOhwalliBombEffect01 : EmitterProjectile | ||
SBOOhwalliBombEffect01 = Class(import("/lua/sim/defaultprojectiles.lua").EmitterProjectile) { | ||
FxTrails = EffectTemplate.SOhwalliBombPlumeFxTrails01, | ||
} | ||
TypeClass = SBOOhwalliBombEffect01 | ||
TypeClass = SBOOhwalliBombEffect01 |
19 changes: 9 additions & 10 deletions
19
effects/Entities/SBOOhwalliBombEffect02/SBOOhwalliBombEffect02_script.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
--**************************************************************************** | ||
--** | ||
--** File : /data/projectiles/SBOKhamaseenBombEffect02/SBOKhamaseenBombEffect02_script.lua | ||
--** Author(s): Greg Kohne | ||
--** | ||
--** Summary : Ohwalli Strategic Bomb effect script, non-damaging | ||
--** | ||
--** Copyright © 2007 Gas Powered Games, Inc. All rights reserved. | ||
--**************************************************************************** | ||
------------------------------------------------------------------------------ | ||
-- File : /data/projectiles/SBOKhamaseenBombEffect02/SBOKhamaseenBombEffect02_script.lua | ||
-- Author(s): Greg Kohne | ||
-- Summary : Ohwalli Strategic Bomb effect script, non-damaging | ||
-- Copyright © 2007 Gas Powered Games, Inc. All rights reserved. | ||
------------------------------------------------------------------------------ | ||
local EffectTemplate = import("/lua/effecttemplates.lua") | ||
|
||
--- Ohwalli Strategic Bomb effect script, non-damaging | ||
---@class SBOOhwalliBombEffect02 : EmitterProjectile | ||
SBOOhwalliBombEffect02 = Class(import("/lua/sim/defaultprojectiles.lua").EmitterProjectile) { | ||
FxTrails = EffectTemplate.SOhwalliBombHitSpiralFxTrails02, | ||
} | ||
TypeClass = SBOOhwalliBombEffect02 | ||
TypeClass = SBOOhwalliBombEffect02 |
Oops, something went wrong.