Skip to content

Commit

Permalink
overheating: updated headers
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbadano committed Feb 8, 2015
1 parent bedf059 commit 80778cf
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 35 deletions.
11 changes: 7 additions & 4 deletions addons/overheating/functions/fnc_checkTemperature.sqf
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
/*
* Author: Commy2 and CAA-Picard
*
* Make the player check the temperature of his weapon
*
* Arguments:
* 0: _player
* 1: _weapon
* 0: Player <OBJECT>
* 1: Weapon <STRING>
*
* Return Value:
* None
*
* Return Values:
* Example:
* None
*
* Public: No
*/
#include "\z\ace\addons\overheating\script_component.hpp"

Expand Down
15 changes: 8 additions & 7 deletions addons/overheating/functions/fnc_clearJam.sqf
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
/*
* Author: Commy2
* Make the unit clear the jam from a weapon
*
* Clears the jam from a weapon
* Arguments:
* 0: Player <OBJECT>
* 1: Weapon <STRING>
* 2: Skip anim? <BOOL>
*
* Argument:
* 0: Last temperature (number)
* 1: Barrel mass (number)
* 2: Time (number)
* Return Value:
* None
*
* Return value:
* New temperature (number)
* Public: No
*/
#include "\z\ace\addons\overheating\script_component.hpp"

Expand Down
11 changes: 6 additions & 5 deletions addons/overheating/functions/fnc_cooldown.sqf
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
/*
* Author: CAA-Picard
*
* Calculate cooling down of the weapon.
*
* Argument:
* 0: Last temperature (number)
* 1: Barrel mass (number)
* 2: Time (number)
* 0: Last temperature <NUMBER>
* 1: Barrel mass <NUMBER>
* 2: Time <NUMBER>
*
* Return value:
* New temperature (number)
* New temperature <NUMBER>
*
* Public: No
*/
#include "\z\ace\addons\overheating\script_component.hpp"

Expand Down
6 changes: 3 additions & 3 deletions addons/overheating/functions/fnc_displayTemperature.sqf
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/*
* Author: Commy2 and CAA-Picard
*
* Displays the weapon temperature
*
* Arguments:
* 0: _player
* 1: _weapon
* 0: Player <OBJECT>
* 1: Weapon <STRING>
*
* Return Values:
* None
*
* Public: No
*/
#include "\z\ace\addons\overheating\script_component.hpp"

Expand Down
7 changes: 4 additions & 3 deletions addons/overheating/functions/fnc_jamWeapon.sqf
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
/*
* Author: Commy2, based on KK_fnc_playerWeaponMulfunction from KillzoneKid
*
* Jam the weapon
*
* Argument:
* 0: unit
* 1: weapon
* 0: Unit <OBJECT>
* 1: Weapon <STRING>
*
* Return value:
* None
*
* Public: No
*/
#include "\z\ace\addons\overheating\script_component.hpp"

Expand Down
16 changes: 9 additions & 7 deletions addons/overheating/functions/fnc_overheat.sqf
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
/*
* Author: Commy2 and CAA-Picard
*
* Heat up the weapon
* Handle weapon fire, heat up the weapon
*
* Argument:
* 0: unit
* 1: weapon
* 2: ammo
* 3: projectile
* 4: velocity
* 0: Unit <OBJECT>
* 1: Weapon <STRING>
* 3: Muzzle <STRING>
* 4: Ammo <STRING>
* 5: Magazine <STRING>
* 6: Projectile <OBJECT>
*
* Return value:
* None
*
* Public: No
*/
#include "\z\ace\addons\overheating\script_component.hpp"

Expand Down
7 changes: 4 additions & 3 deletions addons/overheating/functions/fnc_swapBarrel.sqf
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
/*
* Author: Commy2
*
* Make a unit start swapping it's barrel
*
* Argument:
* 0: unit
* 1: weapon
* 0: Unit <OBJECT>
* 1: Weapon <STRING>
*
* Return value:
* None
*
* Public: No
*/
#include "\z\ace\addons\overheating\script_component.hpp"

Expand Down
7 changes: 4 additions & 3 deletions addons/overheating/functions/fnc_swapBarrelCallback.sqf
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
/*
* Author: Commy2
*
* Swap barrel callback
*
* Argument:
* 0: unit
* 1: weapon
* 0: Unit <OBJECT>
* 1: Weapon <STRING>
*
* Return value:
* None
*
* Public: No
*/
#include "\z\ace\addons\overheating\script_component.hpp"

Expand Down

0 comments on commit 80778cf

Please sign in to comment.