Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #897851 » 0025-Rename-aisettler.-ch-as-daisettler.-ch.patch

Marko Lindqvist, 2020-11-17 04:42 AM

View differences:

ai/classic/classicai.c
#include "aihand.h"
#include "ailog.h"
#include "aiplayer.h"
#include "aisettler.h"
#include "aitools.h"
#include "aiunit.h"
#include "daicity.h"
#include "daidiplomacy.h"
#include "daidomestic.h"
#include "daimilitary.h"
#include "daisettler.h"
#include "classicai.h"
ai/default/Makefile.am
aiparatrooper.h \
aiplayer.c \
aiplayer.h \
aisettler.c \
aisettler.h \
aitech.c \
aitech.h \
aitools.c \
......
daieffects.c \
daieffects.h \
daimilitary.c \
daimilitary.h
daimilitary.h \
daisettler.c \
daisettler.h
libdefaultai_la_LIBADD = -lm
ai/default/aidata.c
/* ai/default */
#include "aiferry.h"
#include "aiplayer.h"
#include "aisettler.h"
#include "aiunit.h"
#include "daicity.h"
#include "daidiplomacy.h"
#include "daieffects.h"
#include "daisettler.h"
#include "aidata.h"
ai/default/aidata.h
int req_love_for_alliance;
} diplomacy;
/* Cache map for AI settlers; defined in aisettler.c. */
/* Cache map for AI settlers; defined in daisettler.c. */
struct ai_settler *settler;
/* The units of tech_want seem to be shields */
ai/default/daicity.c
#include "aihand.h"
#include "ailog.h"
#include "aiplayer.h"
#include "aisettler.h"
#include "aitools.h"
#include "aiunit.h"
#include "daidiplomacy.h"
#include "daidomestic.h"
#include "daimilitary.h"
#include "daieffects.h"
#include "daisettler.h"
#include "daicity.h"
ai/default/daidomestic.c
founder_type = best_role_unit(pcity,
action_id_get_role(ACTION_FOUND_CITY));
/* founder_want calculated in aisettlers.c */
/* founder_want calculated in daisettlers.c */
founder_want = city_data->founder_want;
if (adv->wonder_city == pcity->id) {
ai/default/aisettler.c → ai/default/daisettler.c
#include "aiunit.h"
#include "daicity.h"
#include "aisettler.h"
#include "daisettler.h"
/* COMMENTS */
ai/default/aisettler.h → ai/default/daisettler.h
/**********************************************************************
/***********************************************************************
Freeciv - Copyright (C) 2002 - The Freeciv Team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
***********************************************************************/
#ifndef FC__AISETTLER_H
#define FC__AISETTLER_H
#ifndef FC__DAISETTLER_H
#define FC__DAISETTLER_H
/* utility */
#include "support.h" /* bool type */
......
void contemplate_new_city(struct ai_type *ait, struct city *pcity);
#endif /* FC__AISETTLER_H */
#endif /* FC__DAISETTLER_H */
ai/tex/texai.c
#include "aihand.h"
#include "ailog.h"
#include "aiplayer.h"
#include "aisettler.h"
#include "aitools.h"
#include "daicity.h"
#include "daidiplomacy.h"
#include "daidomestic.h"
#include "daimilitary.h"
#include "daisettler.h"
/* tex ai */
#include "texaicity.h"
ai/threaded/threadedai.c
#include "aihand.h"
#include "ailog.h"
#include "aiplayer.h"
#include "aisettler.h"
#include "aitools.h"
#include "daicity.h"
#include "daidiplomacy.h"
#include "daidomestic.h"
#include "daimilitary.h"
#include "daisettler.h"
/* threaded ai */
#include "taimsg.h"
meson.build
'ai/default/ailog.c',
'ai/default/aiparatrooper.c',
'ai/default/aiplayer.c',
'ai/default/aisettler.c',
'ai/default/aitech.c',
'ai/default/aitools.c',
'ai/default/aiunit.c',
......
'ai/default/daidomestic.c',
'ai/default/daieffects.c',
'ai/default/daimilitary.c',
'ai/default/daisettler.c',
include_directories: [server_inc, include_directories('ai/default')],
sources: [verhdr]
)
    (1-1/1)