Skip to content
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

Extensions - Replace ace_parse_imagepath with SQF regexFind #8243

Merged
merged 1 commit into from
Oct 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed ace_parse_imagepath.dll
Binary file not shown.
Binary file removed ace_parse_imagepath_x64.dll
Binary file not shown.
4 changes: 0 additions & 4 deletions addons/interact_menu/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,4 @@ class ACE_Extensions {
windows = 1;
client = 1;
};
class ace_parse_imagepath {
windows = 1;
client = 1;
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ for "_index" from 0 to ((count _configPath) - 1) do {
_actionCondition = compile _actionCondition;
_actionMaxDistance = _actionMaxDistance + 0.1; //increase range slightly

//extension ~4x as fast:
private _iconImage = "ace_parse_imagepath" callExtension _actionDisplayNameDefault;
private _iconImage = ((_actionDisplayNameDefault regexFind ["[\w\-\\\/]+.paa/gi", 0]) param [0, [""]]) select 0;

private _actionOffset = [_actionPosition] call _fnc_getMemPointOffset;
private _memPointIndex = _memPoints find _actionPosition;
Expand Down
1 change: 0 additions & 1 deletion extensions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ add_subdirectory(break_line)
add_subdirectory(clipboard)
add_subdirectory(advanced_ballistics)
#add_subdirectory(medical) # After medical re-write this extension is no longer used
add_subdirectory(parse_imagepath)
add_subdirectory(artillerytables)

# Test Extension for dynamically loading/unloading built extensions; does not build in release
Expand Down
22 changes: 0 additions & 22 deletions extensions/parse_imagepath/CMakeLists.txt

This file was deleted.

51 changes: 0 additions & 51 deletions extensions/parse_imagepath/ace_parse_imagepath.cpp

This file was deleted.