Skip to content

Commit

Permalink
Annotate plugin proto files with the name of the plugin they are asso…
Browse files Browse the repository at this point in the history
…ciated with.
  • Loading branch information
BenLubar committed Jul 3, 2018
1 parent df9150f commit 4a06821
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
4 changes: 3 additions & 1 deletion plugins/proto/AdventureControl.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ option optimize_for = LITE_RUNTIME;

import "RemoteFortressReader.proto";

// Plugin: RemoteFortressReader

enum AdvmodeMenu
{
Default = 0;
Expand Down Expand Up @@ -102,4 +104,4 @@ message MenuContents
message MiscMoveParams
{
optional MiscMoveType type = 1;
}
}
4 changes: 3 additions & 1 deletion plugins/proto/ItemdefInstrument.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -101,4 +103,4 @@ message InstrumentDef
repeated string tuning_parm = 17;
repeated InstrumentRegister registers = 18;
optional string description = 19;
}
}
4 changes: 3 additions & 1 deletion plugins/proto/RemoteFortressReader.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -1104,4 +1106,4 @@ message Wave
{
optional Coord dest = 1;
optional Coord pos = 2;
}
}
2 changes: 2 additions & 0 deletions plugins/proto/isoworldremote.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions plugins/proto/rename.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package dfproto;

option optimize_for = LITE_RUNTIME;

// Plugin: rename

// RPC RenameSquad : RenameSquadIn -> EmptyMessage
message RenameSquadIn {
required int32 squad_id = 1;
Expand Down

0 comments on commit 4a06821

Please sign in to comment.