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
TTT: Enable scoreboard to be sorted by different criteria other than score #1332
Merged
Merged
Changes from 57 commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
a94b8e3
Base changes
DirkyJerky c6a6cea
Make the convar
DirkyJerky c512684
Hook into the convar
DirkyJerky 6d92af5
Remove button selector thing; Probably better in a settings menu
DirkyJerky 53dcb92
Alphabetically by default
DirkyJerky c82a4d0
Removed unnessesary checks and whitespace
DirkyJerky 6af889b
a,b -> plya, plyb
DirkyJerky 4793be8
That was a weird `CompareAlpha` function
DirkyJerky 0e74c2a
`>` -> `<`
DirkyJerky d8b7007
TTT: Implement clicking on scoreboard headings to sort by that field
bmwalters 9dbeffe
Merge pull request #1 from bmwalters/feature/scoreboard-sorting
DirkyJerky b01837b
Well we dont need to ConVar anymore
DirkyJerky acad015
Role option
DirkyJerky 5d59fad
Add concommand `ttt_scoreboard_setsort`
DirkyJerky bd5a411
Name & Role headers AND highlight active header
DirkyJerky 9ffde57
Update color display after sort change
DirkyJerky d785f17
We dont need this concommand anymore
DirkyJerky ca2fd27
Put it in a ConVar!
DirkyJerky e9ddcee
If comparison is equal; fall back to comparing name --- Also fix name…
DirkyJerky d4cd44d
Ascending direction by default
DirkyJerky 29e6e41
Can set sorting via Settings menu
DirkyJerky 2307046
No more clicky column headers for Name & Role
DirkyJerky 705ff0b
Put it in a new settings section
DirkyJerky e66720c
English translation
DirkyJerky 5c9496f
German!
DirkyJerky 8f7aa65
A colon
DirkyJerky c988cac
Chinese!
DirkyJerky f093512
Swedish!
DirkyJerky a62d62a
Spanish!
DirkyJerky 9e54d20
Russian!
DirkyJerky f32611c
Portuguese!
DirkyJerky 5711559
Fix scoreboard settings panel
DirkyJerky 77e1c95
Remove redundant word in settings
DirkyJerky bd40d74
Left aligned fake column headers -- TEST ME
DirkyJerky 849e691
Apply Scheme for the new headers
DirkyJerky 54b555f
Period not colon
DirkyJerky 2b602d8
Swap order
DirkyJerky 1851aa7
Fix stuff...
DirkyJerky 0e2b959
Nil check for karma, probably possible because karma can be disabled
DirkyJerky aeaf2db
Sort by title header
DirkyJerky 8c3363b
Update english.lua
DirkyJerky 58f65f1
Update german.lua
DirkyJerky 6f70cb8
Update portuguese.lua
DirkyJerky 52027fb
Update russian.lua
DirkyJerky 15b2986
Update spanish.lua
DirkyJerky 2a8d2e7
Update swedish.lua
DirkyJerky f26c17a
Update tradchinese.lua
DirkyJerky 02c8481
Trailing space in Traditional Chinese
DirkyJerky b26df01
Move sort settings to end of settings
DirkyJerky a5942ae
Dim the highlight
DirkyJerky 745d5ca
Fix & Change to light yellow maybe?
DirkyJerky b5a00d1
Easter egg (sort by name color)
DirkyJerky ae9b239
I misspelled the reference
DirkyJerky ab95202
Lookup table is a lot nicer
DirkyJerky 553f3b4
Refactor; Enable custom sort functions to be made for columns
DirkyJerky 23293d6
Tested addon functionallity
DirkyJerky 98d1b51
Tested color sort
DirkyJerky d055277
Fixes
DirkyJerky 49d9e8a
Translation suggestion via @markusmarkusz
DirkyJerky b097d78
Remove settings menu additions
DirkyJerky 8b9902f
r.i.p. color
DirkyJerky 9d2a32b
Boolean cvars are numbers not words
DirkyJerky e1849a4
Optimization
DirkyJerky 2ac8002
Compare names case insensitively
DirkyJerky b226ea1
I remember the issue with the optimization now; I fixed that
DirkyJerky a8d55c9
Unnessesary underscore
DirkyJerky 650381f
"Old" New translation
DirkyJerky dab25a3
Default to english via suggestion of @Kefta
DirkyJerky 702e38d
Default to english fixed
DirkyJerky ff9ab8d
Translate german via @ markusmarkusz
DirkyJerky 7d9a8fe
Translate spanish via @ Kefta
DirkyJerky 865151b
Use `GetParent()` x3 instead of refering to the global variable refer…
DirkyJerky 7f51348
Global sboard_sort in sb_main.lua
DirkyJerky e5ee199
Global sboard_sort in sb_team.lua
DirkyJerky File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
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.
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.
Use “Scoreboard-Einstellungen“.
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.
Please upsate this.