]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Add the instrument names to the MIDI channel selector (#38083)
authorSimon <63975668+Simyon264@users.noreply.github.com>
Wed, 11 Jun 2025 18:32:48 +0000 (20:32 +0200)
committerGitHub <noreply@github.com>
Wed, 11 Jun 2025 18:32:48 +0000 (20:32 +0200)
commitf5fbef7ccc0e3f032a17b0d8bbd40804cd40c617
tree8d060e77584ddd515b19c6067a8dce6ca040b63d
parent27cb97a17c96de8f749198b5e50b6834e5d1cbba
Add the instrument names to the MIDI channel selector (#38083)

* Add the instrument to the MIDI channel selector

* Reviews

Adds support for chained masters
Makes the channel UI update on its own when the midi changes (Works with bands too!)

* add to admin logs and limit track count

* Limit track names by length too

* remove left over comment

* Requested changes

* Reviews
14 files changed:
Content.Client/Instruments/InstrumentSystem.MidiParsing.cs [new file with mode: 0644]
Content.Client/Instruments/InstrumentSystem.cs
Content.Client/Instruments/MidiParser/MidiInstrument.cs [new file with mode: 0644]
Content.Client/Instruments/MidiParser/MidiParser.cs [new file with mode: 0644]
Content.Client/Instruments/MidiParser/MidiStreamWrapper.cs [new file with mode: 0644]
Content.Client/Instruments/UI/ChannelsMenu.xaml
Content.Client/Instruments/UI/ChannelsMenu.xaml.cs
Content.Client/Instruments/UI/InstrumentBoundUserInterface.cs
Content.Client/Instruments/UI/InstrumentMenu.xaml.cs
Content.Server/Instruments/InstrumentSystem.cs
Content.Shared.Database/LogType.cs
Content.Shared/CCVar/CCVars.Midi.cs
Content.Shared/Instruments/SharedInstrumentComponent.cs
Resources/Locale/en-US/instruments/instruments-component.ftl