Skip to content
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

Merged
merged 45 commits into from
Mar 3, 2017
Merged

Tournament drawings #427

merged 45 commits into from
Mar 3, 2017

Conversation

smoogipoo
Copy link
Contributor

@smoogipoo smoogipoo commented Mar 3, 2017

Requires ppy/osu-resources#15

Implementation of tournament drawings screen.

To open:

  • Create a drawings.txt file in the osu! directory.
  • Press Ctrl+Shift+D at the main menu.

drawings.txt file format:

flag_name : long_team_name : team_acronym

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.

@AppVeyorBot
Copy link

Build osu master-204-srgbsmlx failed (commit 4511326841 by @smoogipooo)

@AppVeyorBot
Copy link

Build osu master-204-eewlopat failed (commit 8945f9dbc8 by @smoogipooo)

@smoogipoo smoogipoo closed this Mar 3, 2017
@smoogipoo smoogipoo reopened this Mar 3, 2017
@AppVeyorBot
Copy link

Build osu master-204-qixxtoos failed (commit d7f903a9f7 by @smoogipooo)

@AppVeyorBot
Copy link

Build osu master-204-rhcfwvmy failed (commit d7f903a9f7 by @smoogipooo)

@@ -259,7 +259,7 @@ protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
{
if (args.Repeat) return false;

This comment was marked as off-topic.

/// <summary>
/// The period offset this line was constructed with, in radians.
/// </summary>
private float initialPeriodOffset;

This comment was marked as off-topic.

/// <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.

if (internalPeriodOffset == value)
return;

internalPeriodOffset = value;

This comment was marked as off-topic.

This comment was marked as off-topic.

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.


teamsContainer.OnSelected += t =>
{
groupsContainer.AddTeam(t.Team);

This comment was marked as off-topic.

sw.Write(text);
}
}
catch

This comment was marked as off-topic.

This comment was marked as off-topic.

private void writeResults(string text)
{
lastWriteOp = writeOp;
writeOp = Task.Run(async () =>

This comment was marked as off-topic.

}
}
}
catch { }

This comment was marked as off-topic.

This comment was marked as off-topic.

{
public class Group : Container
{
public string GroupName;

This comment was marked as off-topic.

@peppy peppy merged commit 7c1599a into ppy:master Mar 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants