Commit Graph

477 Commits

Author SHA1 Message Date
Dean Herbert caa44ce01e Update naming 2022-07-18 16:40:11 +09:00
Salman Ahmed a10c398cd5 Remove no longer necessary DI 2022-07-16 06:40:53 +03:00
Salman Ahmed 7c6f4b798b Replace `countries.json` with country enum and acronym extension 2022-07-16 05:16:59 +03:00
Dan Balasescu b6528b9ff7
Merge pull request #19102 from peppy/fix-ladder-editor-commit-on-selection-change
Ensure any changes are committed before changing `LadderEditorSettings`'s target match
2022-07-13 22:06:10 +09:00
Dean Herbert 467f83b603 Add non-null assertion missing in `BeatmapScoreRow` 2022-07-13 18:48:12 +09:00
Dean Herbert 214351a87e Ensure any changes are committed before changing `LadderEditorSettings`'s target match 2022-07-13 18:32:47 +09:00
Dean Herbert 5c6fa2341f Fix `TeamScoreDisplay` not tracking team changes properly 2022-07-13 18:15:59 +09:00
Dean Herbert 1516756d8b Fix team name not updating on `TeamDisplay` immediately 2022-07-13 18:10:27 +09:00
Dean Herbert 4dff999ce6 Fix potential null referenced in `SeedingScreen`
Also ensure that any update operations only occur when the seeding
screen is displayed. They were running in the background until now.
2022-07-13 18:09:55 +09:00
Dean Herbert b9ad90ce54 Switch `TeamWinScreen` scheduling to `AddOnce` 2022-07-13 17:57:45 +09:00
Dean Herbert bae314a254 Add background on `SetupScreen` to hide video 2022-07-12 13:03:43 +09:00
Dean Herbert 76be9a829c Fix mutation after disposal in `TeamEditorScreen` 2022-07-12 12:59:55 +09:00
Dean Herbert 73e924479f Find video by recursive check rather than marker interface
Seems a lot more reliable, and allows falling back to the "main" video
in cases which didn't support this previously.

A next step may be to allow every screen to support a video based on its
screen name, rather than specifying the local `TourneyVideo` every time.
2022-07-11 20:42:05 +09:00
Dean Herbert 00c7101f54 Remove `DrawingsScreen` world map completely 2022-07-11 20:36:05 +09:00
Dean Herbert 22a51fdc50 Add support for a drawings screen video background 2022-07-11 15:35:00 +09:00
Dean Herbert 31a447fda0 Update parameter discards 2022-06-24 21:26:19 +09:00
Bartłomiej Dach 26c5b59f6d
Replace usages of `string.To{Lower,Upper}()` 2022-06-24 11:57:45 +02:00
Dean Herbert 50e40756c4 Rename `GracefullyExit` to `AttemptExit` 2022-06-19 12:34:44 +09:00
Dean Herbert f3c9f9a216
Merge pull request #18751 from frenzibyte/tournament-beatmap
Improve tournament beatmap JSON storage using lightweight model
2022-06-18 11:00:26 +09:00
Salman Ahmed 4c47996130 `TournamentPlayer` -> `TournamentUser` 2022-06-18 02:33:26 +03:00
Salman Ahmed 60903be566 Standardise naming for online ID
Rather than continuing with `ID` or `Id`, this should follow the new
standards and use `OnlineID` instead. Only updating this since it's a
newly introduced class.
2022-06-18 01:48:16 +03:00
Salman Ahmed 9f97d1a7db Replace tournament beatmap storage type with lightweight model 2022-06-18 01:34:09 +03:00
Salman Ahmed b977ce7995 Replace tournament player storage type with lightweight model 2022-06-17 21:35:04 +03:00
Dan Balasescu f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
Bartłomiej Dach f88c568c8d
Update flag sizes after switch to twemoji assets
The old flags used a size of 150x100, while the new assets based on
twemoji use a size of 150x108. Update existing usages to match this new
aspect ratio better.
2022-06-15 21:45:47 +02:00
Dean Herbert 218642c300 Update unsafe file write usages 2022-05-16 18:05:27 +09:00
Dan Balasescu 494955aff1 Resolve inspection issues 2022-04-14 13:11:11 +09:00
Dean Herbert 2938f44e6c Update `PresentExternally` usages in line with framework changes 2022-03-24 23:41:07 +09:00
Shivam 4c56458173 Change button location to the right side of dropdown 2022-02-25 15:15:40 +01:00
Shivam 333c0cd4f9 Add open folder button to open currently selected tournament 2022-02-25 14:31:46 +01:00
Susko3 19467e58c1 Remove unused params from BDL methods 2022-01-15 01:06:39 +01:00
Joseph Madamba 5082b0e63f Fix some identifiers using shortened naming 2021-12-27 20:26:28 -08:00
Joseph Madamba 7de43e3aba Fix most open compound words in identifiers being closed 2021-12-27 20:26:28 -08:00
Dean Herbert 1eed2436e6 Clean up unused resolved properties 2021-12-03 18:49:49 +09:00
Bartłomiej Dach 87d6a743dd
Migrate custom tournament client assets to uppercased directories
It has transpired that on filename-case-sensitive filesystems, the
tournament client does not consistently handle custom asset paths.
Videos and mods could only be looked up from `videos` and `mods`
directories (lowercase), while flags could only be looked up from the
`Flags` directory (uppercase).

A complicating circumstance is that default country flags, coming from
osu-resources, also depend on the flag lookup being uppercased.

To attempt to clean up the handling as much as it appears to be
possible, automatically move user-supplied lowercase directories to
uppercase.
2021-11-28 16:36:19 +01:00
Dean Herbert 0ecf5f201c Rename `User` to `APIUser` and move to correct namespace 2021-11-07 11:26:01 +09:00
Dean Herbert f1499641f3 Rename all usages of `APIBeatmap` to `beatmap` in tournament namespace 2021-10-27 18:42:48 +09:00
Dean Herbert 3130616300 Update tournament components to use `APIBeatmap` directly 2021-10-27 18:26:44 +09:00
Dean Herbert 6944151486 Apply batch fixing of built-in types using `var` 2021-10-27 13:04:41 +09:00
Dean Herbert 0706ad70fb Move `BeatmapSetOnlineInfo` to an interface type 2021-10-21 16:58:42 +09:00
Dean Herbert 794b4c46cf Split score counter class into two distinct classes to simplify usages 2021-10-10 17:56:32 +09:00
Dean Herbert 446f091d32 Use comma separator for tournament score displays 2021-10-10 16:06:12 +09:00
Dean Herbert 672664dce7 Fix all remaining cases of incorrect `Bindable<string>` defaults 2021-10-08 13:55:22 +09:00
Dean Herbert ec61c3c5ee Rename all remaining cases 2021-10-03 00:55:29 +09:00
Dean Herbert 973c31132b Rename `BeatmapInfo` variables which were named `beatmap` for clarity 2021-10-02 12:45:34 +09:00
Bartłomiej Dach acf38c723a
Move labelled dropdown from tournament to main game 2021-08-30 21:37:08 +02:00
Dean Herbert 6ef096001e Fix several cases of incorrect handling of `CurrentMatch` nullability 2021-08-28 16:24:36 +09:00
Dean Herbert e9b97f7937 Fix tournament crashing when osu!(stable) is at ranking screen at startup 2021-08-28 14:28:33 +09:00
Dean Herbert aa4c6b9341 Bring across tournament score display for game usage 2021-08-09 16:30:37 +09:00
Dean Herbert 6249ce0ea3 Add a warning and link for more information on `drawings.txt` population 2021-07-30 13:21:50 +09:00