add rotate cmd to lang

This commit is contained in:
Luna 2019-07-22 17:04:43 -03:00
parent 2151afb115
commit 67c9f425bb
3 changed files with 6 additions and 6 deletions

View file

@ -28,6 +28,8 @@ pub const CommandType = enum {
RevDelay,
Noise,
WildNoise,
Rotate,
};
pub const Command = struct {
@ -159,6 +161,9 @@ pub const Lang = struct {
// custom implementations (not lv2)
_ = try self.keywords.put("noise", .Noise);
_ = try self.keywords.put("wildnoise", .WildNoise);
// even more custom
_ = try self.keywords.put("rotate", .Rotate);
}
pub fn parse(self: *Lang, data: []const u8) !CommandList {