Adds playable instruments, IDropped, IHandSelected and IHandDese… (#368)

* Instrument test.

* Midi stuff

* Some more work

* This actually works now!

* update

* Midi Audio works!

* Lots of stuff, and cool interfaces for items

* Update

* Fix a few things

* It just works

* Move textures to another folder, remove placeholder description from instruments

* Fix warning

* Use renderer enum

* Instruments now use DisposeRenderer method, and send MidiEvents as they receive them. Deletes InstrumentSystem whoo.

* Fix incorrect sprite paths

* Instruments take midi file size check into account when enabling/disabling midi playback buttons

* Fix crash when pressing drop on empty hand.

* Use new renderer return values for midi/input

* Xylophones are no longer handheld instruments, fix their sprites.

* Use new API

* Remove nfluidsynth from solution

* Timing information

* Use IGameTiming.CurTime for timestamps instead
This commit is contained in:
Víctor Aguilera Puerto
2019-11-25 00:11:47 +01:00
committed by Pieter-Jan Briers
parent ce54c489eb
commit fedc0ad71c
41 changed files with 1062 additions and 7 deletions

View File

@@ -57,6 +57,11 @@ namespace Content.Server.GameObjects
return true;
}
bool IActionBlocker.CanDrop()
{
return true;
}
bool IActionBlocker.CanEmote()
{
return true;
@@ -103,6 +108,11 @@ namespace Content.Server.GameObjects
return false;
}
bool IActionBlocker.CanDrop()
{
return false;
}
bool IActionBlocker.CanEmote()
{
return false;
@@ -169,6 +179,11 @@ namespace Content.Server.GameObjects
return false;
}
bool IActionBlocker.CanDrop()
{
return false;
}
bool IActionBlocker.CanEmote()
{
return false;