-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert rest of cfgFuncs to PATHTO_FNC macro (#1068)
- Loading branch information
1 parent
d6cbc0f
commit aff64ec
Showing
5 changed files
with
47 additions
and
194 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
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,29 +1,10 @@ | ||
class CfgFunctions { | ||
class CBA { | ||
class Modules { | ||
// CBA_fnc_getPosFromString | ||
class getPosFromString { | ||
description = "A function to get the position of an item passed as a string."; | ||
file = "\x\cba\addons\modules\fnc_getPosFromString.sqf"; | ||
}; | ||
|
||
// CBA_fnc_moduleAttack | ||
class moduleAttack { | ||
description = "A function used to set a group to attack a position through a module."; | ||
file = "\x\cba\addons\modules\fnc_moduleAttack.sqf"; | ||
}; | ||
|
||
// CBA_fnc_moduleDefend | ||
class moduleDefend { | ||
description = "A function used to set a group to defend a position through a module."; | ||
file = "\x\cba\addons\modules\fnc_moduleDefend.sqf"; | ||
}; | ||
|
||
// CBA_fnc_modulePatrol | ||
class modulePatrol { | ||
description = "A function used to set a group to patrol a position through a module."; | ||
file = "\x\cba\addons\modules\fnc_modulePatrol.sqf"; | ||
}; | ||
PATHTO_FNC(getPosFromString); | ||
PATHTO_FNC(moduleAttack); | ||
PATHTO_FNC(moduleDefend); | ||
PATHTO_FNC(modulePatrol); | ||
}; | ||
}; | ||
}; |
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,46 +1,14 @@ | ||
class CfgFunctions { | ||
class CBA { | ||
class Music { | ||
// CBA_fnc_getMusicPath | ||
class getMusicPath { | ||
description = "Get the config path of given music class"; | ||
file = "\x\cba\addons\music\fnc_getMusicPath.sqf"; | ||
}; | ||
// CBA_fnc_getMusicData | ||
class getMusicData { | ||
description = "Get data attached to music class"; | ||
file = "\x\cba\addons\music\fnc_getMusicData.sqf"; | ||
}; | ||
// CBA_fnc_findMusic | ||
class findMusic { | ||
description = "Find music of specified type"; | ||
file = "\x\cba\addons\music\fnc_findMusic.sqf"; | ||
}; | ||
// CBA_fnc_compileMusic | ||
class compileMusic { | ||
description = "Find all music in game"; | ||
file = "\x\cba\addons\music\fnc_compileMusic.sqf"; | ||
}; | ||
// CBA_fnc_getMusicPlaying | ||
class getMusicPlaying { | ||
description = "Returns the data on currently playing music"; | ||
file = "\x\cba\addons\music\fnc_getMusicPlaying.sqf"; | ||
}; | ||
// CBA_fnc_isMusicPlaying | ||
class isMusicPlaying { | ||
description = "Returns if music is playing or not"; | ||
file = "\x\cba\addons\music\fnc_isMusicPlaying.sqf"; | ||
}; | ||
// CBA_fnc_playMusic | ||
class playMusic { | ||
description = "Play a given track"; | ||
file = "\x\cba\addons\music\fnc_playMusic.sqf"; | ||
}; | ||
// CBA_fnc_stopMusic | ||
class stopMusic { | ||
description = "Stops the music playing"; | ||
file = "\x\cba\addons\music\fnc_stopMusic.sqf"; | ||
}; | ||
PATHTO_FNC(getMusicPath); | ||
PATHTO_FNC(getMusicData); | ||
PATHTO_FNC(findMusic); | ||
PATHTO_FNC(compileMusic); | ||
PATHTO_FNC(getMusicPlaying); | ||
PATHTO_FNC(isMusicPlaying); | ||
PATHTO_FNC(playMusic); | ||
PATHTO_FNC(stopMusic); | ||
}; | ||
}; | ||
}; |