All pastes #276198 Raw Edit

Something

public text v1 · immutable
·published 2006-12-12 02:28 UTC
rendered paste body
hunk ./Vanilla/include/data.h 348
+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_generic_small   = 0;          /* Repair time, etc. */
+int F_full_direction_resolution = 0;   /* Use SP_PLAYER instead of
+                                        * SP_S_PLAYER */
hunk ./Vanilla/ntserv/feature.c 56
+   { "SP_GENERIC_SMALL",       &F_sp_generic_small},
+   { "FULL_DIRECTION_RESOLUTION",      &F_full_direction_resolution},
hunk ./Vanilla/ntserv/genspkt.c 73
-    0,                                         /* 32 */
+    sizeof(struct generic_small_spacket),      /* SP_GENERIC_SMALL */