-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make a new list for hardcoded map series in Discord RPC module and fi…
…xed declaration of struct in com_model.h (#185) * Added discord_rpc_closest_map_match to pickup map from list that closest match to current * Convert the name of the current map and maps in the list to lowercase always * Revert changes from previous commit, added comment about adding maps for list only in lower case! * Removed discord_rpc_closest_map_match in favor of creating hardcoded map series list * Moved helper function for lowercase to cl_util.h * Replaced match method to eliminate wrong occurrences * Fixed quotes in comment * Separation of hldm and bhop maps into different lists for optimization For those who play only in deathmatch mode, this will be an optimization, because compared to bhop maps there are less of them in the lists * Revert empty lines that have been removed in one of previous commits * Combined both of hldm and bhop lists back to the single one, but added some comments for 'separating' them * map_series: replaced unordered_set to vector for O(n)
- Loading branch information
Showing
3 changed files
with
74 additions
and
46 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