Skip to content

Commit

Permalink
Change file/function case
Browse files Browse the repository at this point in the history
  • Loading branch information
marceldev89 committed Aug 14, 2016
1 parent 1865b70 commit 0416410
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
28 changes: 14 additions & 14 deletions addons/sup_artillery/ArtilleryStateMachine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,67 +8,67 @@ class ArtilleryStateMachine {

class HasFireMission {
targetState = "Active";
condition = "[_this, 'hasFireMission'] call ALIVE_fnc_Artillery";
condition = "[_this, 'hasFireMission'] call ALIVE_fnc_artillery";
onTransition = "";
};
};

class Active {
onState = "[_this, 'onActive'] call ALIVE_fnc_Artillery";
onState = "[_this, 'onActive'] call ALIVE_fnc_artillery";
onStateEntered = "";
onStateLeaving = "";

class InRange {
targetState = "Execute";
condition = "[_this, 'inRange'] call ALIVE_fnc_Artillery";
condition = "[_this, 'inRange'] call ALIVE_fnc_artillery";
onTransition = "";
};

class NotInRange {
targetState = "Move";
condition = "!([_this, 'inRange'] call ALIVE_fnc_Artillery)";
condition = "!([_this, 'inRange'] call ALIVE_fnc_artillery)";
onTransition = "";
};
};

class Move {
onState = "[_this, 'onMove'] call ALIVE_fnc_Artillery";
onState = "[_this, 'onMove'] call ALIVE_fnc_artillery";
onStateEntered = "";
onStateLeaving = "";

class InPosition {
targetState = "Execute";
condition = "[_this, 'inPosition'] call ALIVE_fnc_Artillery";
condition = "[_this, 'inPosition'] call ALIVE_fnc_artillery";
onTransition = "";
};

class Abort {
targetState = "ReturnToBase";
condition = "!([_this, 'hasFireMission'] call ALIVE_fnc_Artillery)";
condition = "!([_this, 'hasFireMission'] call ALIVE_fnc_artillery)";
onTransition = "";
};
};

class Execute {
onState = "[_this, 'onExecute'] call ALIVE_fnc_Artillery";
onState = "[_this, 'onExecute'] call ALIVE_fnc_artillery";
onStateEntered = "";
onStateLeaving = "";

class Abort {
targetState = "ReturnToBase";
condition = "!([_this, 'hasFireMission'] call ALIVE_fnc_Artillery)";
condition = "!([_this, 'hasFireMission'] call ALIVE_fnc_artillery)";
onTransition = "";
};
};

class Fire {
onState = "[_this, 'onFire'] call ALIVE_fnc_Artillery";
onState = "[_this, 'onFire'] call ALIVE_fnc_artillery";
onStateEntered = "";
onStateLeaving = "";

class FireMissionComplete {
targetState = "ReturnToBase";
condition = "[_this, 'isFireMissionComplete'] call ALIVE_fnc_Artillery";
condition = "[_this, 'isFireMissionComplete'] call ALIVE_fnc_artillery";
onTransition = "";
};

Expand All @@ -86,19 +86,19 @@ class ArtilleryStateMachine {

class Continue {
targetState = "Fire";
condition = "[_this, 'fireNextRound'] call ALIVE_fnc_Artillery";
condition = "[_this, 'fireNextRound'] call ALIVE_fnc_artillery";
onTransition = "";
};
};

class ReturnToBase {
onState = "[_this, 'onReturnToBase'] call ALIVE_fnc_Artillery";
onState = "[_this, 'onReturnToBase'] call ALIVE_fnc_artillery";
onStateEntered = "";
onStateLeaving = "";

class AtBase {
targetState = "Idle";
condition = "[_this, 'inPosition'] call ALIVE_fnc_Artillery";
condition = "[_this, 'inPosition'] call ALIVE_fnc_artillery";
onTransition = "";
};
};
Expand Down
4 changes: 2 additions & 2 deletions addons/sup_artillery/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class CfgVehicles {
{
scope = 2;
displayName = "$STR_ALIVE_ARTILLERY";
function = "ALIVE_fnc_ARTILLERYInit";
function = "ALIVE_fnc_artilleryInit";
author = MODULE_AUTHOR;
functionPriority = 161;
isGlobal = 2;
Expand Down Expand Up @@ -97,4 +97,4 @@ class CfgVehicles {
};
};
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
SCRIPT(Artillery);

/* ----------------------------------------------------------------------------
Function: ALIVE_fnc_Artillery
Function: ALIVE_fnc_artillery
Description:
Artillery module.
Expand Down
File renamed without changes.

0 comments on commit 0416410

Please sign in to comment.