Project

General

Profile

Feature #1221 » 0023-AI-Rename-aidiplomat.-ch-as-daidiplomat.-ch.patch

Marko Lindqvist, 01/18/2025 05:05 PM

View differences:

ai/default/Makefile.am
-I$(top_srcdir)/gen_headers/enums
libdefaultai_la_SOURCES = \
aidiplomat.c \
aidiplomat.h \
aiferry.c \
aiferry.h \
aiguard.c \
......
daidata.h \
daidiplomacy.c \
daidiplomacy.h \
daidiplomat.c \
daidiplomat.h \
daidomestic.c \
daidomestic.h \
daieffects.c \
ai/default/aidiplomat.c → ai/default/daidiplomat.c
#include "daitools.h"
#include "daiunit.h"
#include "aidiplomat.h"
#include "daidiplomat.h"
#define LOG_DIPLOMAT LOG_DEBUG
ai/default/aidiplomat.h → ai/default/daidiplomat.h
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
***********************************************************************/
#ifndef FC__AIDIPLOMAT_H
#define FC__AIDIPLOMAT_H
#ifndef FC__DAIDIPLOMAT_H
#define FC__DAIDIPLOMAT_H
/* common */
#include "fc_types.h"
void dai_manage_diplomat(struct ai_type *ait, struct player *pplayer,
......
struct city *pcity,
struct adv_choice *choice);
#endif /* FC__AIDIPLOMAT_H */
#endif /* FC__DAIDIPLOMAT_H */
ai/default/daimilitary.c
#include "handicaps.h"
/* ai/default */
#include "aidiplomat.h"
#include "aiferry.h"
#include "aihand.h"
#include "daiair.h"
#include "daicity.h"
#include "daidata.h"
#include "daidiplomat.h"
#include "daieffects.h"
#include "daihunter.h"
#include "dailog.h"
ai/default/daiunit.c
#include "handicaps.h"
/* ai/default */
#include "aidiplomat.h"
#include "aiferry.h"
#include "aiguard.h"
#include "aihand.h"
#include "daiair.h"
#include "daicity.h"
#include "daidata.h"
#include "daidiplomat.h"
#include "daieffects.h"
#include "daihunter.h"
#include "dailog.h"
meson.build
'ai/tex/texaimsg.c',
'ai/tex/texaiplayer.c',
'ai/tex/texaiworld.c',
'ai/default/aidiplomat.c',
'ai/default/aiferry.c',
'ai/default/aiguard.c',
'ai/default/aihand.c',
......
'ai/default/daicity.c',
'ai/default/daidata.c',
'ai/default/daidiplomacy.c',
'ai/default/daidiplomat.c',
'ai/default/daidomestic.c',
'ai/default/daieffects.c',
'ai/default/daihunter.c',
    (1-1/1)