mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 18:18:18 +00:00
Make envelopes unsynchronized by default and explain the setting better (fixes #479)
This commit is contained in:
parent
b0b2774695
commit
ff747953b4
|
@ -4393,7 +4393,7 @@ void CEditor::RenderEnvelopeEditor(CUIRect View)
|
||||||
ToolBar.VSplitLeft(15.0f, &Button, &ToolBar);
|
ToolBar.VSplitLeft(15.0f, &Button, &ToolBar);
|
||||||
ToolBar.VSplitLeft(12.0f, &Button, &ToolBar);
|
ToolBar.VSplitLeft(12.0f, &Button, &ToolBar);
|
||||||
static int s_SyncButton;
|
static int s_SyncButton;
|
||||||
if(DoButton_Editor(&s_SyncButton, pEnvelope->m_Synchronized?"X":"", 0, &Button, 0, "Enable envelope synchronization between clients"))
|
if(DoButton_Editor(&s_SyncButton, pEnvelope->m_Synchronized?"X":"", 0, &Button, 0, "Synchronize envelope animation to game time (restarts when you touch the start line)"))
|
||||||
pEnvelope->m_Synchronized = !pEnvelope->m_Synchronized;
|
pEnvelope->m_Synchronized = !pEnvelope->m_Synchronized;
|
||||||
|
|
||||||
ToolBar.VSplitLeft(4.0f, &Button, &ToolBar);
|
ToolBar.VSplitLeft(4.0f, &Button, &ToolBar);
|
||||||
|
|
|
@ -61,7 +61,7 @@ public:
|
||||||
m_aName[0] = 0;
|
m_aName[0] = 0;
|
||||||
m_Bottom = 0;
|
m_Bottom = 0;
|
||||||
m_Top = 0;
|
m_Top = 0;
|
||||||
m_Synchronized = true;
|
m_Synchronized = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Resort()
|
void Resort()
|
||||||
|
|
Loading…
Reference in a new issue