From fc6114f7c833afc30a606fbac0fc4ff9f2a2a82d Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 13 Mar 2021 23:16:15 +0200 Subject: [PATCH 41/41] Correct documentation references to long gone civclient_gen.c and srv_main_gen.c They have been replaced by packhand_gen.c and hand_gen.c. See osdn #41779 Signed-off-by: Marko Lindqvist --- common/networking/packets.def | 2 +- doc/README.delta | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/networking/packets.def b/common/networking/packets.def index 5d1d2fb5c5..5423f326e7 100644 --- a/common/networking/packets.def +++ b/common/networking/packets.def @@ -110,7 +110,7 @@ Syntax: function. Currently only used by packet_generic_empty. no-handle: don't generate handle_* prototypes. The generated - switch statements (server/srv_main_gen.c, client/civclient_gen.c) + switch statements (server/hand_gen.c, client/packhand_gen.c) doesn't include code for this packet. You have to handle this by yourself. This may be required for special packets which are handled early in the sequence. diff --git a/doc/README.delta b/doc/README.delta index 1018cfeea2..5434ec3221 100644 --- a/doc/README.delta +++ b/doc/README.delta @@ -80,8 +80,8 @@ There are four file/filesets involved in the delta protocol: 1) the definition file (common/networking/packets.def). 2) the generator (common/generate_packets.py). 3) the generated files (*/*_gen.[ch] or as a list - client/civclient_gen.c, client/packhand_gen.h, common/packets_gen.c, - common/packets_gen.h, server/hand_gen.h and server/srv_main_gen.c). + client/packhand_gen.c, client/packhand_gen.h, common/packets_gen.c, + common/packets_gen.h, server/hand_gen.c and server/hand_gen.h). 4) the overview (README.delta, this file) The definition file lists all valid packet types with their -- 2.30.1