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 code annotations (FAForever#5641)
- Loading branch information
Showing
78 changed files
with
377 additions
and
264 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,6 +1,4 @@ | ||
-- | ||
-- Cybran Anti Air Projectile | ||
-- | ||
--- Cybran Anti Air Projectile | ||
---@class CAAAutocannon01: CShellAAAutoCannonProjectile | ||
CAAAutocannon01 = ClassProjectile(import("/lua/cybranprojectiles.lua").CShellAAAutoCannonProjectile) { } | ||
|
||
TypeClass = CAAAutocannon01 | ||
TypeClass = CAAAutocannon01 |
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,6 +1,4 @@ | ||
-- | ||
-- Cybran Anti Air Projectile | ||
-- | ||
---@class CAAAutocannon02: CShellAAAutoCannonProjectile | ||
CAAAutocannon02 = ClassProjectile(import("/lua/cybranprojectiles.lua").CShellAAAutoCannonProjectile) { } | ||
|
||
TypeClass = CAAAutocannon02 | ||
TypeClass = CAAAutocannon02 |
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,6 +1,4 @@ | ||
-- | ||
-- Cybran Anti Air Projectile | ||
-- | ||
---@class CAAAutocannon03: CShellAAAutoCannonProjectile | ||
CAAAutocannon03 = ClassProjectile(import("/lua/cybranprojectiles.lua").CShellAAAutoCannonProjectile) { } | ||
|
||
TypeClass = CAAAutocannon03 | ||
TypeClass = CAAAutocannon03 |
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,6 +1,6 @@ | ||
-- Cybran Anti Air Projectile | ||
|
||
local CAAElectronBurstCloudProjectile = import("/lua/cybranprojectiles.lua").CAAElectronBurstCloudProjectile | ||
|
||
--- Cybran Anti Air Projectile | ||
---@class CAABurstCloud01: CAAElectronBurstCloudProjectile | ||
CAABurstCloud01 = ClassProjectile(CAAElectronBurstCloudProjectile) {} | ||
TypeClass = CAABurstCloud01 |
5 changes: 3 additions & 2 deletions
5
projectiles/CAADissidentAntiNuke01/CAADissidentAntiNuke01_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,5 +1,6 @@ | ||
-- Cybran Anti Nuke | ||
|
||
local CAADissidentProjectile = import("/lua/cybranprojectiles.lua").CAADissidentProjectile | ||
|
||
--- Cybran Anti Nuke | ||
---@class CAADissidentAntiNuke01: CAADissidentProjectile | ||
CAADissidentAntiNuke01 = ClassProjectile(CAADissidentProjectile) {} | ||
TypeClass = CAADissidentAntiNuke01 |
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
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,17 +1,15 @@ | ||
-- | ||
-- Cybran Anti Air Projectile | ||
-- | ||
|
||
CAANanoDartProjectile = import("/lua/cybranprojectiles.lua").CAANanoDartProjectile | ||
local CAANanoDartProjectile = import("/lua/cybranprojectiles.lua").CAANanoDartProjectile | ||
|
||
--- Cybran Anti Air Projectile | ||
---@class CAANanoDart02: CAANanoDartProjectile | ||
CAANanoDart02 = ClassProjectile(CAANanoDartProjectile) { | ||
|
||
---@param self CAANanoDart02 | ||
OnCreate = function(self) | ||
CAANanoDartProjectile.OnCreate(self) | ||
for k, v in self.FxTrails do | ||
CreateEmitterOnEntity(self,self.Army,v ) | ||
end | ||
end, | ||
} | ||
|
||
TypeClass = CAANanoDart02 | ||
TypeClass = CAANanoDart02 |
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,4 +1,6 @@ | ||
local CAANanoDartProjectile = import("/lua/cybranprojectiles.lua").CAANanoDartProjectile03 | ||
|
||
-- Cybran Anti Air Projectile | ||
CAANanoDartProjectile = import("/lua/cybranprojectiles.lua").CAANanoDartProjectile03 | ||
---@class CAANanoDart02: CAANanoDartProjectile03 | ||
CAANanoDart02 = ClassProjectile(CAANanoDartProjectile) {} | ||
TypeClass = CAANanoDart02 |
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
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: 8 additions & 11 deletions
19
projectiles/CANTorpedoNanite03/CANTorpedoNanite03_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
Oops, something went wrong.