Project

General

Profile

Feature #1119 » 0078-Fix-advisors-comment-typos.patch

main - Marko Lindqvist, 11/15/2024 09:09 PM

View differences:

client/gui-qt/ratesdlg.cpp
}
/**********************************************************************//**
Ok pressed - send mulipliers value.
Ok pressed - send multipliers' values.
**************************************************************************/
void multipler_rates_dialog::slot_ok_button_pressed()
{
server/advisors/advgoto.c
}
/**********************************************************************//**
Basic (i.e. not taking attacker specific corections into account)
Basic (i.e. not taking attacker specific corrections into account)
defense rating of this particular unit.
**************************************************************************/
int adv_unit_def_rating_basic(const struct unit *punit)
server/advisors/autoexplorer.c
/* The desirability of the best tile possible without cities or huts.
* TER_SCORE is given per 1% of certainty about the terrain, so
* muliply by 100 to compensate. */
* multiply by 100 to compensate. */
#define BEST_NORMAL_TILE \
(100 * MAX_NEW_TILES * DIFF_TER_SCORE +\
100 * (VISION_TILES - MAX_NEW_TILES) * KNOWN_DIFF_TER_SCORE)
server/advisors/autoworkers.c
/* Time it will take worker to complete its given task */
int completion_time = 0;
/* Terminate what might be an inifite recursion of two units
/* Terminate what might be an infinite recursion of two units
* displacing each other, but leave enough space for
* finite recursion. */
if (recursion > 5
(1-1/2)