This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 996
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added some basic walk event outputting on debug console for filter testing * fixed event filter * IMPORTANT: relies on Replay::event_filter to be in same order as the EVENT_TYPES enum declared in _events.h * - Fixed Walk_Event logging - Added mutex lock to walk event loggin - Renamed some Event Enums - Added some basic walk event visualization * - Added Getters for all event properties - Removed unnecessary vent_action enum entry - Modified imgui Image function to support offset to current cursor - Added more events to replay visualization with dummy circles * - Modified some events for more target information - Added more events to replay - Added more icons * - Added Report Icon to Report/Meeting event to replay - Added new utility function for optional target position * - Added Task Event/Icon to Replay * - Changed some data handling for filter to allow padding so we can remove unwanted events from filtering * Replaced simple dot with proper player icon which recolers to player color * - Added Icons for all radar visualization - Added Dead Cross for Ghosts * - Added dead body icon for radar * - Added "PlayerControl_CmdReportDeadBody" hook to catch report/meeting calls by local player for event logging * - some changes to maptype enum - reversed drawing order so lines won't draw over icons * added profiling to debug builds * switched to flatEvents for replay * kept all the other event vectors for now. walk events still use old events for its filtering in PlayerControl.cpp. * decreases frametime by 77% * changed events vectors to use std::unique_ptr * should fix any memory leak * replaced all 3 events with 1 flat array * first pass * still need to clear collections at round end / disconnect * still need to add polyline optimizations * still want to add rendertexture * align the map properly * polyline simplification * fixed glitchy / ugly lines * also increased distance threshold. 50.f is pretty good, 100.f is noticeably inaccurate when making sharp turns. * there is an annoying crash. still figuring it out. * separated WalkEvents from main events collection * no longer suffer from FPS issues * can play entire match with hardly any FPS drop * State.rawEvents can be dumped to file for non-live visualization (all events, including WalkEvents, are preserved there) * still have a random crash though * fixed crash in ConsoleGui * no idea what causes it, but it's at least handled gracefully now * first pass time filter * non-functional right now, very buggy * fixed filters, fixed simplifiedPoints, added replay settings * - Moved replay options to the replay tab - Removed num events debug from replay tab since it's in the debug tab * - Replay window should now dynamically scale with map - Added new Play and Pause Image Buttons for Replay window * - changed console timestamps to show min and sec in one go * - Console now uses liveReplayEvents instead of rawEvents - Replay Reset won't reset rawEvents anymore - Round End will delete rawEvents now * Upgraded project to v143 (vs2022) and std:c++20 standard * - Upgraded from c++20 to c++latest - Updated time formatting to std::format * Set MatchStart at beginning of match * Added SliderChrono with proper formatting and playing/live handling (TODO: add walkpath/player icon filter for currentTimeStamp; Also might want to add milliseconds instead of seconds when playing to make it smoother) * for event filters check for milliseconds difference * changed event time filter to time_point comparison * added maxTimeFilter to replay player icons * also added it to walkpath but it's broken right now * fixed maxTimeFilter for replay walkpaths * pass time_point by ref, removed useless block * fixed maxTimeFilter * replay now always uses State.MatchCurrent as maxTimeFilter * fixed 'show only last X seconds' setting * new screenshot with replay window * - replay will now be properly live when game starts - updated readme * replaced credits with special thanks for people who indirectly contributed to the repository * updated build workflow to use vs2022 * fixed path to windows * spelling mistake * more changes * more changes2 * Upgraded all remaining configurations to v143 and c++latest * reversed some unnecessary enforment on platform toolset in github workflow * - Added ability to switch between old radar dots and new icons (Draw Player Icons Option in Radar Tab) - Moved Dot and Icon drawing for Radar into gui-helpers (TODO: do same for replay) - Changed RadarPlayerColorStatus check from StringName to newer RoleTeamTypes - PlayerIcons will also account eventfilter (walking) - FlipSkeld will also be set now when first of april and not only selected by host - FlipSkeld will be set on round start - Added new utility function for flip skeld (getMapXOffsetSkeld) - Fixed Meeting Event duplication if playing freeplay/local * Fixed polyline rendering on flipped skeld * Now it's fixed. promise! Co-authored-by: kotae4 <[email protected]>
- Loading branch information
Showing
57 changed files
with
1,578 additions
and
274 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,27 +2,27 @@ name: Build Project | |
|
||
on: | ||
push: | ||
tags: | ||
tags: | ||
- v[0-9].[0-9]+.[0-9]+* | ||
# pr's will trigger this action. i think the idea here is to verify that a build is passing before merging. | ||
pull_request: | ||
branches: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
Build_Release: | ||
runs-on: windows-latest | ||
runs-on: windows-2022 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Build Release | ||
shell: bash | ||
run: '"/c/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" -property:Configuration=Release' | ||
run: '"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Msbuild/Current/Bin/MSBuild.exe" -property:Configuration=Release' | ||
|
||
- name: Build Release_Version | ||
shell: bash | ||
run: '"/c/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" -property:Configuration=Release_Version' | ||
run: '"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Msbuild/Current/Bin/MSBuild.exe" -property:Configuration=Release_Version' | ||
|
||
- name: Package Release Builds | ||
if: ${{ github.event_name == 'push' }} | ||
|
@@ -40,18 +40,18 @@ jobs: | |
path: Release.zip | ||
|
||
Build_Debug: | ||
runs-on: windows-latest | ||
runs-on: windows-2022 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Build Debug | ||
shell: bash | ||
run: '"/c/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" -property:Configuration=Debug' | ||
run: '"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Msbuild/Current/Bin/MSBuild.exe" -property:Configuration=Debug' | ||
|
||
- name: Build Debug_Version | ||
shell: bash | ||
run: '"/c/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" -property:Configuration=Debug_Version' | ||
run: '"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Msbuild/Current/Bin/MSBuild.exe" -property:Configuration=Debug_Version' | ||
|
||
- name: Package Debug Builds | ||
if: ${{ github.event_name == 'push' }} | ||
|
@@ -70,7 +70,7 @@ jobs: | |
|
||
AutoRelease: | ||
if: ${{ github.event_name == 'push' }} | ||
runs-on: windows-latest | ||
runs-on: windows-2022 | ||
needs: [Build_Release, Build_Debug] | ||
steps: | ||
- name: Parse tag semver | ||
|
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
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
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
Oops, something went wrong.