rendered paste body+extern int F_sp_generic_small;
+extern int F_full_direction_resolution;
hunk ./Vanilla/include/packets.h 66
+#define SP_GENERIC_SMALL 32 /* currently sends ship repair time,
+ room for future enhancements */
hunk ./Vanilla/include/packets.h 946
+struct generic_small_spacket {
+ char type; /* SP_GENERIC_SMALL Header */
+ char version;
+ int repair_time; /* Estimated repair time, in seconds */
+ char pad1;
+};
hunk ./Vanilla/ntserv/data.c 413
+int F_sp_repair_time = 0;
+int F_full_direction_resolution = 0; /* Use SP_PLAYER instead of
+ * SP_S_PLAYER */
hunk ./Vanilla/ntserv/feature.c 56
+ { "SP_REPAIR_TIME", &F_sp_repair_time},
+ { "FULL_DIRECTION_RESOLUTION", &F_full_direction_resolution},
hunk ./Vanilla/ntserv/genspkt.c 73
- 0, /* 32 */
+ sizeof(struct repair_time_spacket), /* SP_REPAIR_TIME */