{"action":"created","comment":{"url":"https://api.github.com/repos/kami-/admiral/pulls/comments/33819107","id":33819107,"diff_hunk":"@@ -287,6 +287,88 @@ adm_debug_fnc_updateLineMarker = {\n     DEBUG(\"admiral.debug\",FMT_3(\"Updated line marker '%1' position between '%2' and '%3'.\",_markerName,_posFrom,_posTo));\n };\n \n+adm_debug_fnc_createDebugCounterMarker = {\n+    FUN_ARGS_3(_side,_type,_xPos);\n+    \n+    PVT_2(_marker,_markerType);\n+    _markerType = if (_type != \"total\") then {\n+        _type;\n+    } else {\n+        COUNTER_DEBUG_MARKER_TOTAL;\n+    };\n+    _marker = [format [\"adm_counter_%1_%2\", _side,_type], [_xPos, 50, 0], \"ICON\", _markerType, [_side] call adm_debug_fnc_getSideColor, COUNTER_DEBUG_MARKER_SIZE] call adm_common_fnc_createLocalMarker;\n+    _marker setMarkerTextLocal \"0\";\n+    \n+    _marker;\n+};\n+\n+adm_debug_fnc_createDebugFactionCounterMarkers = {\n+    FUN_ARGS_2(_side,_xPos);\n+\n+    DECLARE(_debugMarkers) = [];\n+    PVT_1(_marker);\n+    {\n+        _marker = [_side, _x, _xPos] call adm_debug_fnc_createDebugCounterMarker;\n+        _debugMarkers pushBack _marker;\n+        _xPos = _xPos + COUNTER_DEBUG_MARKER_X_INCREMENT;\n+    } foreach GROUP_TYPE_DEBUG_MARKERS;\n+    _marker = [_side, \"total\", _xPos] call adm_debug_fnc_createDebugCounterMarker;\n+    _debugMarkers pushBack _marker;\n+    _xPos = _xPos + COUNTER_DEBUG_MARKER_X_INCREMENT;\n+    DEBUG(\"admiral.debug\",FMT_2(\"Created counter Markers '%1' for side '%2'.\",_debugMarkers,_side));\n+};\n+\n+adm_debug_fnc_createAllDebugCounterMarkers = {\n+    DECLARE(_xPos) = COUNTER_DEBUG_MARKER_X_POS;\n+    {\n+        [_x,_xPos] call adm_debug_fnc_createDebugFactionCounterMarkers;","path":"admiral/debug_functions.sqf","position":38,"original_position":38,"commit_id":"1102a4bce3cb25c574779c2f4cb2b5424a4d77fc","original_commit_id":"1102a4bce3cb25c574779c2f4cb2b5424a4d77fc","user":{"login":"kami-","id":5331711,"avatar_url":"https://avatars.githubusercontent.com/u/5331711?v=3","gravatar_id":"","url":"https://api.github.com/users/kami-","html_url":"https://github.com/kami-","followers_url":"https://api.github.com/users/kami-/followers","following_url":"https://api.github.com/users/kami-/following{/other_user}","gists_url":"https://api.github.com/users/kami-/gists{/gist_id}","starred_url":"https://api.github.com/users/kami-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kami-/subscriptions","organizations_url":"https://api.github.com/users/kami-/orgs","repos_url":"https://api.github.com/users/kami-/repos","events_url":"https://api.github.com/users/kami-/events{/privacy}","received_events_url":"https://api.github.com/users/kami-/received_events","type":"User","site_admin":false},"body":"SPACE!","created_at":"2015-07-02T20:25:29Z","updated_at":"2015-07-02T20:25:29Z","html_url":"https://github.com/kami-/admiral/pull/33#discussion_r33819107","pull_request_url":"https://api.github.com/repos/kami-/admiral/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/kami-/admiral/pulls/comments/33819107"},"html":{"href":"https://github.com/kami-/admiral/pull/33#discussion_r33819107"},"pull_request":{"href":"https://api.github.com/repos/kami-/admiral/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/kami-/admiral/pulls/33","id":38860165,"html_url":"https://github.com/kami-/admiral/pull/33","diff_url":"https://github.com/kami-/admiral/pull/33.diff","patch_url":"https://github.com/kami-/admiral/pull/33.patch","issue_url":"https://api.github.com/repos/kami-/admiral/issues/33","number":33,"state":"open","locked":false,"title":"Debug AI Counter Markers","user":{"login":"Winter259","id":8162974,"avatar_url":"https://avatars.githubusercontent.com/u/8162974?v=3","gravatar_id":"","url":"https://api.github.com/users/Winter259","html_url":"https://github.com/Winter259","followers_url":"https://api.github.com/users/Winter259/followers","following_url":"https://api.github.com/users/Winter259/following{/other_user}","gists_url":"https://api.github.com/users/Winter259/gists{/gist_id}","starred_url":"https://api.github.com/users/Winter259/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winter259/subscriptions","organizations_url":"https://api.github.com/users/Winter259/orgs","repos_url":"https://api.github.com/users/Winter259/repos","events_url":"https://api.github.com/users/Winter259/events{/privacy}","received_events_url":"https://api.github.com/users/Winter259/received_events","type":"User","site_admin":false},"body":"https://i.imgur.com/DERORxp.jpg\r\n\r\nThey are in the order Infantry Units (CQC+Patrol+Camps), Technical Groups (Patrol+Camps), Armour Groups (Patrol+Camps) & Total Units.\r\n\r\nTested working on my box<sup>TM</sup>, including deleting the markers when debug is turned off.","created_at":"2015-06-30T09:49:35Z","updated_at":"2015-07-02T20:25:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43831767f2b9ab79fb7e6bac2d606e36b240d6af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kami-/admiral/pulls/33/commits","review_comments_url":"https://api.github.com/repos/kami-/admiral/pulls/33/comments","review_comment_url":"https://api.github.com/repos/kami-/admiral/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kami-/admiral/issues/33/comments","statuses_url":"https://api.github.com/repos/kami-/admiral/statuses/1102a4bce3cb25c574779c2f4cb2b5424a4d77fc","head":{"label":"Winter259:debug-counters","ref":"debug-counters","sha":"1102a4bce3cb25c574779c2f4cb2b5424a4d77fc","user":{"login":"Winter259","id":8162974,"avatar_url":"https://avatars.githubusercontent.com/u/8162974?v=3","gravatar_id":"","url":"https://api.github.com/users/Winter259","html_url":"https://github.com/Winter259","followers_url":"https://api.github.com/users/Winter259/followers","following_url":"https://api.github.com/users/Winter259/following{/other_user}","gists_url":"https://api.github.com/users/Winter259/gists{/gist_id}","starred_url":"https://api.github.com/users/Winter259/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winter259/subscriptions","organizations_url":"https://api.github.com/users/Winter259/orgs","repos_url":"https://api.github.com/users/Winter259/repos","events_url":"https://api.github.com/users/Winter259/events{/privacy}","received_events_url":"https://api.github.com/users/Winter259/received_events","type":"User","site_admin":false},"repo":{"id":38075532,"name":"admiral","full_name":"Winter259/admiral","owner":{"login":"Winter259","id":8162974,"avatar_url":"https://avatars.githubusercontent.com/u/8162974?v=3","gravatar_id":"","url":"https://api.github.com/users/Winter259","html_url":"https://github.com/Winter259","followers_url":"https://api.github.com/users/Winter259/followers","following_url":"https://api.github.com/users/Winter259/following{/other_user}","gists_url":"https://api.github.com/users/Winter259/gists{/gist_id}","starred_url":"https://api.github.com/users/Winter259/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winter259/subscriptions","organizations_url":"https://api.github.com/users/Winter259/orgs","repos_url":"https://api.github.com/users/Winter259/repos","events_url":"https://api.github.com/users/Winter259/events{/privacy}","received_events_url":"https://api.github.com/users/Winter259/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Winter259/admiral","description":"Admiral is an AI suite for ArmA","fork":true,"url":"https://api.github.com/repos/Winter259/admiral","forks_url":"https://api.github.com/repos/Winter259/admiral/forks","keys_url":"https://api.github.com/repos/Winter259/admiral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Winter259/admiral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Winter259/admiral/teams","hooks_url":"https://api.github.com/repos/Winter259/admiral/hooks","issue_events_url":"https://api.github.com/repos/Winter259/admiral/issues/events{/number}","events_url":"https://api.github.com/repos/Winter259/admiral/events","assignees_url":"https://api.github.com/repos/Winter259/admiral/assignees{/user}","branches_url":"https://api.github.com/repos/Winter259/admiral/branches{/branch}","tags_url":"https://api.github.com/repos/Winter259/admiral/tags","blobs_url":"https://api.github.com/repos/Winter259/admiral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Winter259/admiral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Winter259/admiral/git/refs{/sha}","trees_url":"https://api.github.com/repos/Winter259/admiral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Winter259/admiral/statuses/{sha}","languages_url":"https://api.github.com/repos/Winter259/admiral/languages","stargazers_url":"https://api.github.com/repos/Winter259/admiral/stargazers","contributors_url":"https://api.github.com/repos/Winter259/admiral/contributors","subscribers_url":"https://api.github.com/repos/Winter259/admiral/subscribers","subscription_url":"https://api.github.com/repos/Winter259/admiral/subscription","commits_url":"https://api.github.com/repos/Winter259/admiral/commits{/sha}","git_commits_url":"https://api.github.com/repos/Winter259/admiral/git/commits{/sha}","comments_url":"https://api.github.com/repos/Winter259/admiral/comments{/number}","issue_comment_url":"https://api.github.com/repos/Winter259/admiral/issues/comments{/number}","contents_url":"https://api.github.com/repos/Winter259/admiral/contents/{+path}","compare_url":"https://api.github.com/repos/Winter259/admiral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Winter259/admiral/merges","archive_url":"https://api.github.com/repos/Winter259/admiral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Winter259/admiral/downloads","issues_url":"https://api.github.com/repos/Winter259/admiral/issues{/number}","pulls_url":"https://api.github.com/repos/Winter259/admiral/pulls{/number}","milestones_url":"https://api.github.com/repos/Winter259/admiral/milestones{/number}","notifications_url":"https://api.github.com/repos/Winter259/admiral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Winter259/admiral/labels{/name}","releases_url":"https://api.github.com/repos/Winter259/admiral/releases{/id}","created_at":"2015-06-25T21:35:58Z","updated_at":"2015-06-25T21:35:58Z","pushed_at":"2015-06-30T22:41:23Z","git_url":"git://github.com/Winter259/admiral.git","ssh_url":"git@github.com:Winter259/admiral.git","clone_url":"https://github.com/Winter259/admiral.git","svn_url":"https://github.com/Winter259/admiral","homepage":null,"size":383,"stargazers_count":0,"watchers_count":0,"language":"SQF","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kami-:master","ref":"master","sha":"7cfe2818d5abcfa92b412e524e232d8459a1dd02","user":{"login":"kami-","id":5331711,"avatar_url":"https://avatars.githubusercontent.com/u/5331711?v=3","gravatar_id":"","url":"https://api.github.com/users/kami-","html_url":"https://github.com/kami-","followers_url":"https://api.github.com/users/kami-/followers","following_url":"https://api.github.com/users/kami-/following{/other_user}","gists_url":"https://api.github.com/users/kami-/gists{/gist_id}","starred_url":"https://api.github.com/users/kami-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kami-/subscriptions","organizations_url":"https://api.github.com/users/kami-/orgs","repos_url":"https://api.github.com/users/kami-/repos","events_url":"https://api.github.com/users/kami-/events{/privacy}","received_events_url":"https://api.github.com/users/kami-/received_events","type":"User","site_admin":false},"repo":{"id":17647038,"name":"admiral","full_name":"kami-/admiral","owner":{"login":"kami-","id":5331711,"avatar_url":"https://avatars.githubusercontent.com/u/5331711?v=3","gravatar_id":"","url":"https://api.github.com/users/kami-","html_url":"https://github.com/kami-","followers_url":"https://api.github.com/users/kami-/followers","following_url":"https://api.github.com/users/kami-/following{/other_user}","gists_url":"https://api.github.com/users/kami-/gists{/gist_id}","starred_url":"https://api.github.com/users/kami-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kami-/subscriptions","organizations_url":"https://api.github.com/users/kami-/orgs","repos_url":"https://api.github.com/users/kami-/repos","events_url":"https://api.github.com/users/kami-/events{/privacy}","received_events_url":"https://api.github.com/users/kami-/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kami-/admiral","description":"Admiral is an AI suite for ArmA","fork":false,"url":"https://api.github.com/repos/kami-/admiral","forks_url":"https://api.github.com/repos/kami-/admiral/forks","keys_url":"https://api.github.com/repos/kami-/admiral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kami-/admiral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kami-/admiral/teams","hooks_url":"https://api.github.com/repos/kami-/admiral/hooks","issue_events_url":"https://api.github.com/repos/kami-/admiral/issues/events{/number}","events_url":"https://api.github.com/repos/kami-/admiral/events","assignees_url":"https://api.github.com/repos/kami-/admiral/assignees{/user}","branches_url":"https://api.github.com/repos/kami-/admiral/branches{/branch}","tags_url":"https://api.github.com/repos/kami-/admiral/tags","blobs_url":"https://api.github.com/repos/kami-/admiral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kami-/admiral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kami-/admiral/git/refs{/sha}","trees_url":"https://api.github.com/repos/kami-/admiral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kami-/admiral/statuses/{sha}","languages_url":"https://api.github.com/repos/kami-/admiral/languages","stargazers_url":"https://api.github.com/repos/kami-/admiral/stargazers","contributors_url":"https://api.github.com/repos/kami-/admiral/contributors","subscribers_url":"https://api.github.com/repos/kami-/admiral/subscribers","subscription_url":"https://api.github.com/repos/kami-/admiral/subscription","commits_url":"https://api.github.com/repos/kami-/admiral/commits{/sha}","git_commits_url":"https://api.github.com/repos/kami-/admiral/git/commits{/sha}","comments_url":"https://api.github.com/repos/kami-/admiral/comments{/number}","issue_comment_url":"https://api.github.com/repos/kami-/admiral/issues/comments{/number}","contents_url":"https://api.github.com/repos/kami-/admiral/contents/{+path}","compare_url":"https://api.github.com/repos/kami-/admiral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kami-/admiral/merges","archive_url":"https://api.github.com/repos/kami-/admiral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kami-/admiral/downloads","issues_url":"https://api.github.com/repos/kami-/admiral/issues{/number}","pulls_url":"https://api.github.com/repos/kami-/admiral/pulls{/number}","milestones_url":"https://api.github.com/repos/kami-/admiral/milestones{/number}","notifications_url":"https://api.github.com/repos/kami-/admiral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kami-/admiral/labels{/name}","releases_url":"https://api.github.com/repos/kami-/admiral/releases{/id}","created_at":"2014-03-11T21:58:46Z","updated_at":"2015-06-29T07:39:14Z","pushed_at":"2015-07-01T21:17:36Z","git_url":"git://github.com/kami-/admiral.git","ssh_url":"git@github.com:kami-/admiral.git","clone_url":"https://github.com/kami-/admiral.git","svn_url":"https://github.com/kami-/admiral","homepage":null,"size":967,"stargazers_count":6,"watchers_count":6,"language":"SQF","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":12,"forks":2,"open_issues":12,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kami-/admiral/pulls/33"},"html":{"href":"https://github.com/kami-/admiral/pull/33"},"issue":{"href":"https://api.github.com/repos/kami-/admiral/issues/33"},"comments":{"href":"https://api.github.com/repos/kami-/admiral/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/kami-/admiral/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/kami-/admiral/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kami-/admiral/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/kami-/admiral/statuses/1102a4bce3cb25c574779c2f4cb2b5424a4d77fc"}}}}