-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Music functionality #598
Merged
Merged
Changes from 34 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
9626a95
Create config.cpp
fishykins c1967a7
Create CfgMusic.hpp
fishykins 0bd367b
Create CfgFunctions.hpp
fishykins 410492c
Create script_component.hpp
fishykins 9ab739b
Create fnc_compileMusic.sqf
fishykins a67a6e0
Create fnc_getMusicData.sqf
fishykins c35da7d
Create fnc_getMusicPath.sqf
fishykins 3819c2b
Create fnc_getMusicPlaying
fishykins 06d55d2
Rename fnc_getMusicPlaying to fnc_getMusicPlaying.sqf
fishykins 097c336
Create fnc_playMusic.sqf
fishykins 25c8fef
Create fnc_searchMusic.sqf
fishykins aaaeed6
Create fnc_stopMusic.sqf
fishykins 7aa2ddb
Update script_component.hpp
fishykins e3b5447
Update fnc_compileMusic.sqf
fishykins 3957e01
Update config.cpp
fishykins 3c2b703
Update CfgFunctions.hpp
fishykins 5ae06cd
Update fnc_getMusicData.sqf
fishykins e66ad53
Update fnc_getMusicPath.sqf
fishykins fb596b6
Update fnc_getMusicPlaying.sqf
fishykins 9615d2b
Update fnc_playMusic.sqf
fishykins 924d38c
Update fnc_searchMusic.sqf
fishykins 6258a15
Update fnc_stopMusic.sqf
fishykins e22e983
Update CfgFunctions.hpp
fishykins befaa7d
Update fnc_searchMusic.sqf
fishykins 45bded6
Update CfgMusic.hpp
fishykins 4bcec6c
Update fnc_searchMusic.sqf
fishykins f527625
Updated to camelCase
fishykins 75b2f06
Lots of formatting and edits
fishykins cf6bc98
Create fnc_findMusic.sqf
fishykins f0f5f71
More fixes for the approval of the mob
fishykins d437beb
"forEach" not working with configs for some unknown reason...
fishykins c4c2add
Tweaked as per comments
fishykins 2f42698
Fixed tabs in CfgMusic
fishykins d87b29f
Fixed some typos
fishykins 29c0d88
support for APEX music+ minor improvements
fishykins 309d43d
Improved getMusicData, tidied up headers
fishykins de10876
tabs fix
fishykins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
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"; | ||
}; | ||
}; | ||
}; | ||
}; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is missing. Add the file, or remove the class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added