Skip to content

Commit 108702b

Browse files
committed
Update for dfhack 53.10-r1
1 parent 64ccaa3 commit 108702b

18 files changed

Lines changed: 2247 additions & 2823 deletions

dfhack-proto-srcs/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fn main() {
3232
let mut dfhack_archive = File::create(&dfhack_archive_path).unwrap();
3333
let dfhack_url = match std::env::var("DFHACK_ZIP_URL") {
3434
Ok(val) => val,
35-
Err(_) => "https://codeload.github.com/DFHack/dfhack/zip/refs/tags/0.47.05-r4".to_string(),
35+
Err(_) => "https://github.com/DFHack/dfhack/archive/refs/tags/53.10-r1.zip".to_string(),
3636
};
3737
let mut dfhack_download_request = reqwest::blocking::get(dfhack_url).unwrap();
3838
std::io::copy(&mut dfhack_download_request, &mut dfhack_archive).unwrap();

dfhack-proto-srcs/src/protos/AdventureControl.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
syntax = "proto2";
2+
13
//Attempts to provide a complete framework for reading everything from a fortress needed for vizualization
24
package AdventureControl;
35

dfhack-proto-srcs/src/protos/Basic.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
syntax = "proto2";
2+
13
package dfproto;
24

35
option optimize_for = LITE_RUNTIME;

dfhack-proto-srcs/src/protos/BasicApi.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
syntax = "proto2";
2+
13
package dfproto;
24

35
option optimize_for = LITE_RUNTIME;

dfhack-proto-srcs/src/protos/CoreProtocol.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
syntax = "proto2";
2+
13
package dfproto;
24

35
option optimize_for = LITE_RUNTIME;

dfhack-proto-srcs/src/protos/DwarfControl.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
//Attempts to provide a complete framework for reading everything from a fortress needed for vizualization
21
syntax = "proto2";
2+
3+
//Attempts to provide a complete framework for reading everything from a fortress needed for vizualization
34
package DwarfControl;
45

56
option optimize_for = LITE_RUNTIME;

dfhack-proto-srcs/src/protos/ItemdefInstrument.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
syntax = "proto2";
2+
13
//Attempts to provide a complete framework for reading everything from a fortress needed for vizualization
24
package ItemdefInstrument;
35

dfhack-proto-srcs/src/protos/RemoteFortressReader.proto

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
syntax = "proto2";
2+
13
//Attempts to provide a complete framework for reading everything from a fortress needed for vizualization
24
package RemoteFortressReader;
35

@@ -139,7 +141,11 @@ enum BuildingDirection
139141
EAST = 1;
140142
SOUTH = 2;
141143
WEST = 3;
142-
NONE = 4;
144+
NORTHEAST = 4;
145+
SOUTHEAST = 5;
146+
SOUTHWEST = 6;
147+
NORTHWEST = 7;
148+
NONE = 8;
143149
}
144150

145151
enum TileDigDesignation
@@ -524,6 +530,7 @@ message BlockRequest
524530
optional int32 max_y = 5;
525531
optional int32 min_z = 6;
526532
optional int32 max_z = 7;
533+
optional bool force_reload = 8;
527534
}
528535

529536
message BlockList
@@ -1108,10 +1115,13 @@ message FlowInfo
11081115
optional Coord pos = 4;
11091116
optional Coord dest = 5;
11101117
optional bool expanding = 6;
1111-
optional bool reuse = 7;
1118+
optional bool reuse = 7 [deprecated=true];
11121119
optional int32 guide_id = 8;
11131120
optional MatPair material = 9;
11141121
optional MatPair item = 10;
1122+
optional bool dead = 11;
1123+
optional bool fast = 12;
1124+
optional bool creeping = 13;
11151125
}
11161126

11171127
message Wave
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
1+
syntax = "proto2";
2+
13
package dfproto;
24

35
option optimize_for = LITE_RUNTIME;
46

5-
// Plugin: rename
7+
// Plugin: mypluginname
68

79
// RPC RenameSquad : RenameSquadIn -> EmptyMessage
810
message RenameSquadIn {
911
required int32 squad_id = 1;
10-
1112
optional string nickname = 2;
1213
optional string alias = 3;
1314
}
1415

1516
// RPC RenameUnit : RenameUnitIn -> EmptyMessage
1617
message RenameUnitIn {
1718
required int32 unit_id = 1;
18-
1919
optional string nickname = 2;
2020
optional string profession = 3;
2121
}
2222

2323
// RPC RenameBuilding : RenameBuildingIn -> EmptyMessage
2424
message RenameBuildingIn {
2525
required int32 building_id = 1;
26-
2726
optional string name = 2;
2827
}

dfhack-proto-srcs/src/protos/isoworldremote.proto

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)