From 4a0682133e70e542a5cda1ac44452bc82693db58 Mon Sep 17 00:00:00 2001 From: Ben Lubar Date: Tue, 3 Jul 2018 15:54:30 -0500 Subject: [PATCH] Annotate plugin proto files with the name of the plugin they are associated with. --- plugins/proto/AdventureControl.proto | 4 +++- plugins/proto/ItemdefInstrument.proto | 4 +++- plugins/proto/RemoteFortressReader.proto | 4 +++- plugins/proto/isoworldremote.proto | 2 ++ plugins/proto/rename.proto | 2 ++ 5 files changed, 13 insertions(+), 3 deletions(-) diff --git a/plugins/proto/AdventureControl.proto b/plugins/proto/AdventureControl.proto index 7d3d128d6..0bbcc8da8 100644 --- a/plugins/proto/AdventureControl.proto +++ b/plugins/proto/AdventureControl.proto @@ -5,6 +5,8 @@ option optimize_for = LITE_RUNTIME; import "RemoteFortressReader.proto"; +// Plugin: RemoteFortressReader + enum AdvmodeMenu { Default = 0; @@ -102,4 +104,4 @@ message MenuContents message MiscMoveParams { optional MiscMoveType type = 1; -} \ No newline at end of file +} diff --git a/plugins/proto/ItemdefInstrument.proto b/plugins/proto/ItemdefInstrument.proto index c92491ace..02d4c7a90 100644 --- a/plugins/proto/ItemdefInstrument.proto +++ b/plugins/proto/ItemdefInstrument.proto @@ -3,6 +3,8 @@ package ItemdefInstrument; //Attempts to provide a complete framework for reading everything from a fortress needed for vizualization option optimize_for = LITE_RUNTIME; +// Plugin: RemoteFortressReader + message InstrumentFlags { optional bool indefinite_pitch = 1; @@ -101,4 +103,4 @@ message InstrumentDef repeated string tuning_parm = 17; repeated InstrumentRegister registers = 18; optional string description = 19; -} \ No newline at end of file +} diff --git a/plugins/proto/RemoteFortressReader.proto b/plugins/proto/RemoteFortressReader.proto index 21233ae62..14d046a9d 100644 --- a/plugins/proto/RemoteFortressReader.proto +++ b/plugins/proto/RemoteFortressReader.proto @@ -3,6 +3,8 @@ package RemoteFortressReader; //Attempts to provide a complete framework for reading everything from a fortress needed for vizualization option optimize_for = LITE_RUNTIME; +// Plugin: RemoteFortressReader + import "ItemdefInstrument.proto"; // RPC GetMaterialList : EmptyMessage -> MaterialList @@ -1104,4 +1106,4 @@ message Wave { optional Coord dest = 1; optional Coord pos = 2; -} \ No newline at end of file +} diff --git a/plugins/proto/isoworldremote.proto b/plugins/proto/isoworldremote.proto index 3bbe27042..23abdab73 100644 --- a/plugins/proto/isoworldremote.proto +++ b/plugins/proto/isoworldremote.proto @@ -3,6 +3,8 @@ package isoworldremote; //Describes a very basic material structure for the map embark option optimize_for = LITE_RUNTIME; +// Plugin: isoworldremote + enum BasicMaterial { AIR = 0; OTHER = 1; diff --git a/plugins/proto/rename.proto b/plugins/proto/rename.proto index 810091fc7..d6059a6b0 100644 --- a/plugins/proto/rename.proto +++ b/plugins/proto/rename.proto @@ -2,6 +2,8 @@ package dfproto; option optimize_for = LITE_RUNTIME; +// Plugin: rename + // RPC RenameSquad : RenameSquadIn -> EmptyMessage message RenameSquadIn { required int32 squad_id = 1;