-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Tournament drawings #427
Tournament drawings #427
Conversation
❌ Build osu master-204-srgbsmlx failed (commit 4511326841 by @smoogipooo) |
❌ Build osu master-204-eewlopat failed (commit 8945f9dbc8 by @smoogipooo) |
❌ Build osu master-204-qixxtoos failed (commit d7f903a9f7 by @smoogipooo) |
❌ Build osu master-204-rhcfwvmy failed (commit d7f903a9f7 by @smoogipooo) |
osu.Game/Screens/Menu/Button.cs
Outdated
@@ -259,7 +259,7 @@ protected override bool OnKeyDown(InputState state, KeyDownEventArgs args) | |||
{ | |||
if (args.Repeat) return false; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
/// <summary> | ||
/// The period offset this line was constructed with, in radians. | ||
/// </summary> | ||
private float initialPeriodOffset; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
/// <summary> | ||
/// The rolling period offset (by transformation), in radians. | ||
/// </summary> | ||
private float internalPeriodOffset; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
if (internalPeriodOffset == value) | ||
return; | ||
|
||
internalPeriodOffset = value; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
float offset = 0; | ||
for (int i = 0; i < 6; i++) | ||
{ | ||
visualiserContainer.Add(new VisualiserLine(2 * (float)Math.PI, offset, RNG.Next(10000, 12000)) |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
||
teamsContainer.OnSelected += t => | ||
{ | ||
groupsContainer.AddTeam(t.Team); |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
sw.Write(text); | ||
} | ||
} | ||
catch |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
private void writeResults(string text) | ||
{ | ||
lastWriteOp = writeOp; | ||
writeOp = Task.Run(async () => |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
} | ||
} | ||
} | ||
catch { } |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
osu.Game/Screens/Tournament/Group.cs
Outdated
{ | ||
public class Group : Container | ||
{ | ||
public string GroupName; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
9c96804
to
1d1c081
Compare
…tom list has been provided.
Requires ppy/osu-resources#15
Implementation of tournament drawings screen.
To open:
drawings.txt file format:
Preserves file format from the old drawings client, adds the team_acronym (optional) column for up to 3 letter acronyms.
Results are written to drawings_results.txt in the osu! directory.